I’m basically just wanting to know which is better to use when you have a very large amount of objects that move around: do you store a matrix for each object and then multiply the modelview matrix with that matrix each time you render that object, or is it better to merely “manually” modify the vertices of the object itself to cause it to move in the desired fashion?
In my case I’m shooting hundreds upon hundreds of laser beams (a few simple quads or tris), should I keep a matrix for each one to draw it at its proper location and orientation or should I just keep the vertices (or position) of the beam and just modify its vertices according to its movement? Like this:
beam.front.x += beam.velocity.x;
beam.front.y += beam.velocity.y;
beam.back.x += beam.velocity.x;
What’s the best way to do something like this and keep track of MANY moving objects that require the tracking of orientation information?
[This message has been edited by Punchey (edited 12-05-2000).]