glcalllist

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??

Post your draw GL function.

if( item1.state == ITEM_MOVING )
glCallList( item1.list_num );
if( item2.state == ITEM_MOVING )
glCallList( item2.list_num );

Or something like that.

-SirKnight

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

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.