View Full Version : glcalllist
10-09-2003, 05:24 AM
If I redraw my scene I call 2 items with
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??
10-12-2003, 11:35 AM
Post your draw GL function.
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
[This message has been edited by SirKnight (edited 10-13-2003).]
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.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.