PDA

View Full Version : glcalllist



fobru
10-09-2003, 05:24 AM
If I redraw my scene I call 2 items with
glcalllist.
But normally there is just one item moving
so I don't want to recall the standing object, only the one moving.
Is this possible??

Leyder Dylan
10-12-2003, 11:35 AM
Post your draw GL function.

SirKnight
10-12-2003, 05:41 PM
if( item1.state == ITEM_MOVING )
glCallList( item1.list_num );
if( item2.state == ITEM_MOVING )
glCallList( item2.list_num );


Or something like that. http://www.opengl.org/discussion_boards/ubb/biggrin.gif


-SirKnight

[This message has been edited by SirKnight (edited 10-13-2003).]

jwatte
10-13-2003, 05:49 PM
The bigger question is how the non-moving objects get put back into the scene after you clear the buffer (or how the moving object gets erased).

Typical solutions include pbuffers or the poorly documented KTX_buffer_region extension.