u/j1mmo

▲ 1 r/opengl

Hello,

I have been trying to make a 3d snake game in OpenGL, I have the basic game logic working but right now every section of the snake is just a square I render at some point (x, y, z), I want to create a single cylinder like object that is rendered for the body that grows and shrinks at run time. I'm just wondering how to go about that?

Should I do the calculations in world space or the Local space?
Should I be using functions like glGetNamedBufferSubData?

Thanks in advance

reddit.com
u/j1mmo — 14 days ago