Jump to content

Render OpenGL 3d objects in world help!


LTXmc

Recommended Posts

Hi I may sound like a complete noob here as I am new to MC modding, I just wanted to ask is there a way to render a OpenGL 3d Object in a certain coord of the minecraft world (Eg. In my case, a rotating cube).

I try to dig through the minecraft source code but I am really bad at that, so please help. ;)

Link to comment
Share on other sites

Take a look at "ISimpleBlockRenderingHandler", you'll want to create a block rendering handler inheriting this class and using "registerBlockHandler" in the "RenderingRegistry" class.

 

You may instead need to create a Tile Entity, this post might be of some assistance.

http://www.minecraftforge.net/forum/index.php?topic=3411.0

There's no place like ~/

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.



×
×
  • Create New...

Important Information

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