TheGreyGhost / MinecraftByExample

Working sample code for the basic concepts in Minecraft and Forge.
Other
1.24k stars 187 forks source link

[Question] Special Renderer Block #44

Closed cj3636 closed 6 years ago

cj3636 commented 6 years ago

In reference to MinecraftByExample MBE21 (Link)

I would like to know how you generated the Gem Vertices and/or how can I use an .obj model instead?

TheGreyGhost commented 6 years ago

Hi CJ

I generated the gem vertices using some mathematical calculations in an excel spreadsheet, which is only practical for very simple objects...

For sure it's possible to use a .obj model, you just need something which will send a bunch of triangles to the tessellator. It's been a while since I used it, so I'm not sure anymore how to do it. If you ask on this forum it's very likely someone will be able to help you http://www.minecraftforge.net/forum/forum/70-modder-support/

Cheers TGG