PDA

View Full Version : display list question



incus
05-31-2002, 08:23 AM
i am drawing about 1000 instances of two quadratic objects the first is a sphere and the second is a cylinder. to speed up the render time i draw the spheres using display lists. i was think of doing this with the cylinders but the difference between the cylinders and the spheres is that the spheres are never changing whereas the cylinders always are different in length. would a display list speed anything up or is this a waste of my time? also i'm assuming that i can have two display lists in one program, is this wrong? any input is appreciated. Incus

lucidmm
05-31-2002, 10:49 AM
You can use two display lists...

Use a display list for the cylinders and change its length by calling glScale(...);

Your question is probably more suited to a beginner forum.