Display Lists in Run Time

Hi All,

I need to edit or create display lists in run time.

{ what i mean is that i want to create display lists outside the initGL … and say change the particular display list from time to time }

I guess that makeCurrent is need to do such a thing.
Could some one please tell me if makeCurrent is available in JOGL or some way I can edit the display list any time.

any help will be highly appreciated.

regards,
-jan

Hmm? You can just create your display list when you render your new geometry. There’s a mode to create and execute a display list at the same time (the geometry is displayed as the DL is created) I use that all the time.

If you want to change the geom, just dispose the old DL and re create it.

What’s the problem?