Jump to content

Recommended Posts

Posted

My custom rendering is going nuts!

 

The block is usually floating around me

if i get close to where i actually put it

 

Main:

http://pastebin.com/3SywYT6M

 

BlockClass:

http://pastebin.com/RKBpfdbF

 

ClientProxy:

http://pastebin.com/sNFMUJq7

 

ModelClass:

http://pastebin.com/UAhn3FLv

 

Renderer:

http://pastebin.com/Q71NDsGm

 

TileEntity:

http://pastebin.com/6jd0j8A1

 

And yes...

I used techne.

 

By the way it keeps saying

########## GL ERROR ##########

[18:21:45] [Client thread/ERROR]: @ Post render

[18:21:45] [Client thread/ERROR]: 1284: Stack underflow

Posted

Hi

 

The stack underflow is because the number of your glPopMatrix doesn't match your glPushMatrix in RenderWorkSurface, you have one extra.

 

The moving around might be because you have mixed up the order of x, y, and z in your renderTileEntityAt(TileEntity tileentity, double y, double z,

                        double x, float f)

 

-TGG

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.