PDA

View Full Version : some questions about displaylists



HamsterofDeath
01-30-2003, 09:54 PM
the first one : i'm drawing trees using gluCyclinder. i can't draw them directly at x/y/z so i use gltranslate/glrotate.
do these matrix-operations slow down my engine if i use them in display lists ?

the second one : do display lists save glactivetexture-commands ?

Bob
01-31-2003, 01:08 AM
#1. They will take some time to execute, but not more than if called outside the display list.

#2. Yes.

HamsterofDeath
01-31-2003, 02:01 AM
i hope they are faster inside display lists, because if called outside, the result-matrix has to be calculated, but inside a list, the new one can be stored in memory...

i could solve this problem by drawing my own cylinder...anyone got a function for this ?