Jump to content

Low fps with advanced model loader


Degubi

Recommended Posts

Hi

 

I don't see any obvious problems that would cause lag.  How complicated is the model? (# of vertices)?

 

Just a thought - your AWPRender class is only created once, right?  You're not creating a fresh instance every frame (or every worse - every item render?) Might be worth putting a breakpoint or System.out.println("constructed"); into the constructor.

 

-TGG

Link to comment
Share on other sites

I think the problem is that the model is too complicated... 1.2 MB, there are more than 12000 vertices!

Yeah that's quite large for minecraft.

Try a model with less vertices (say 120) and see if your lag goes away... if so, perhaps you should consider simplifying your model :)  Minecraft is supposed to look blocky, after all...

 

-TGG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.