Login  Register

Multiple 3d axes in a GLJPanel

classic Classic list List threaded Threaded
5 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Multiple 3d axes in a GLJPanel

yaqiang
45 posts
I am tring to implement subplot 3D axes similar as the functions in MatLab.


Multiple GLEventListener method was tested, that means each 3D axes implements GLEventListener was added in one GLJPanel with addGLEventListener method. An example that I added two 3D axes but only the last added 3D axes was plotted.


So I am thinking multiple GLEventListener method may be not the right way, and I want to know how to implement subplot 3D axes using JOGL. Thanks for any help!
www.meteothink.org
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Multiple 3d axes in a GLJPanel

gouessej
Administrator
6035 posts
Have you tried with multiple viewports?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Multiple 3d axes in a GLJPanel

yaqiang
45 posts
Gouessej,

Thanks for your suggestion! Do you have any detailed information on how to use multiple viewports in one GLEventListener?

Regards
Yaqiang
www.meteothink.org
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Multiple 3d axes in a GLJPanel

yaqiang
45 posts
In reply to this post by gouessej
Julien,

Multiple viewports is a good idea and I have implemented it in the MeteoInfoLab. Thanks again!

www.meteothink.org
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Multiple 3d axes in a GLJPanel

gouessej
Administrator
6035 posts
It rocks :)
Julien Gouesse | Personal blog | Website