user2489650
user2489650

Reputation: 39

moving and rotating vertices with LWJGL

Is it possible to move or rotate single vertices or collections of vertices(for example display lists)instead of changing the coordinates of every single vertex with the LWJGL?

Maybe something like GL11.glTranslatef(...) but only for moving parts of the scene. In addition J have no idea how to rotate something.

Upvotes: 0

Views: 224

Answers (1)

Сашка724ая
Сашка724ая

Reputation: 682

You can use OpenGL 2.0 with vertex shader to do this. But it's not so simple like glTranslatef.

Google: OpenGL 2.0 Vertex Transformation. It allows rotate, scale and move vertices.

Upvotes: 1

Related Questions