Jump to content

OpenGL Rendering Tutorials


defiant810

Recommended Posts

Where (if there are any) could I find an OgenGL rendering tutorial for Minecraft. I would like to make custom shaped blocks in my mod, like the pumps in RedPower, or like the new blocks in XyCraft or crystals in the old Thaumcraft. It would appear that tutorial makers avoid this subject like the plague for whatever reason, and I would like to know where a tutorial for this is, if there is any. If not, a tutorial on OpenGL in general, and a basic starting point for using it in Minecraft would be great.

 

Thanks in advance if anyone can help me on my search.

Creator and co-author of the mod Essencraft: https://github.com/defiant810/Essencraft

 

Please, dear God, learn Java before trying to mod. It saves ALL of us time.

Link to comment
Share on other sites

all the tutorials with openGl are insanely complex and based around coding your own game. While trying to render my own entities, i found this :

http://www.minecraftforum.net/topic/1483366-universal-subarakis-one-stop-custom-block-tutorial-make-it-with-techne/

its written for modloader but it explains rendering well. It may even help you more as it is made for creating custom blocks.

Link to comment
Share on other sites

I'd also recommend looking through the source code of EE3 and buildcraft -- they might have something close enough to what you want to be a good jumping-off point. 

 

TBH, one look at EE3's calcinator render logic is a useful demonstration for why 'your first block' tutorials are so much more common than 'your first custom-rendered tile entity' tutorials. . .  Practically anything that isn't a simple cube is insanely complex to render directly through openGL.  And things that are simple cubes can be challenging to work with.

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.