View Full Version : Display Lists in multiple contexts

12-07-2000, 07:48 AM
I'm using Gl to draw a relatively complicated scene from four different viewpoints into four different panes, each with its own glDrawingArea. Is is possible to use the same display list for each pane? If so, how? It seems silly to draw a scene four times when even once takes a full second to render! Since the display lists are an opaque data type I can't figure out a way to do this... any help would be appreciated. Even cheap workarounds http://www.opengl.org/discussion_boards/ubb/smile.gif.


12-07-2000, 11:27 PM
I'm not sure if I get your problem right, but I think the answer is:

1. Compile your scene into a display list.
2. Set your matrices for 1'st pane (point of view).
3. Call the list.
4. Repeat 2 & 3 for the other panes/points of view.