Is it possible to create a group of poygons in openGL? So that all of the faces are under one group, meaning that if I move the group, all the faces will move as well?
thanks
This is a discussion on Groups in openGL? within the Game Programming forums, part of the General Programming Boards category; Is it possible to create a group of poygons in openGL? So that all of the faces are under one ...
Is it possible to create a group of poygons in openGL? So that all of the faces are under one group, meaning that if I move the group, all the faces will move as well?
thanks
In OpenGL, you have a worldview matrix that transforms every polygon you draw until you change it.
Any logical grouping of polygons must be on the application level. (You could try display lists.)
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law