two GLPanels in one app?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

two GLPanels in one app?

imakerobots
If I run two or more GLPanels in one app, are they the same context?  like would I have to reload every resource per-panel?

I want a way to open separate camera views, each window being one viewport/camera.  I *could* split a single GLPanel into multiple camera views, but if the two panel way is available it will save me a lot of work.
Reply | Threaded
Open this post in threaded view
|

Re: two GLPanels in one app?

gouessej
Administrator
I don't remember exactly how I did that but I used a shared context many years ago in JogAmp's Ardor3D Continuation.
Julien Gouesse | Personal blog | Website