#Render 3d Cube

11 messages · Page 1 of 1 (latest)

onyx salmon
#

Unfortunately you do need complicated math

#

Nah, I'm joking you just need to add the vertices using VertexConsumer and it'll work fine

onyx salmon
#

Please learn graphics programming

glass ruin
#

if you mean by drawing rectangles, that’s already in the mc src (Gui.java)

#

take a look at it so you can get the basic idea of how to render things with bufferbuilder and tesselator

#

a 3d cube?

#

oh

#

there’s a method in LevelRenderer that does that

#

forgot the name of it

#

yes
but when you call the color method from bufferbuilder/vertexconsimer make sure you divide it by 255f

#

can you send your code?