Board index » delphi » multiple 3D views

multiple 3D views

Hello,

I am exploring OpenGL world from Delphi, and have found a lot of various
samples (taht work), but which all deal with a single display area.

Since I've read that it is possible to have only one OpenGL rendering
context per thread, I was looking for a solution to have several OpenGL
displays on the same form for instance. What I want to obtain is a form
containing a main panel for the scene display, and a smaller one showing a 3
axis frame representing the current camera attitude. Another scenario would
be to have several displays that would show the same scene from different
points of view.

Any indication, sample,...

Thanks a lot in advance

Eric

 

Re:multiple 3D views


Hi Eric,

you might want to have a look at GLScene, my OpenGL library for Delphi 2-5.
It allows what you are looking for plus loads of other stuff like importing
of 3D Studio files etc (www.lischke-online.de).

Ciao, Mike

PS: It is not true that one can have only one rendering context per thread.
What you mean is that one thread can have only one ACTIVE rendering context
at a given time and that a rendering context must only be active in one
thread at the same time. Nothing prevents you to use the context
subsequently in different threads.

Quote
"Eric Pascual" <eric_pasc...@compuserve.com> wrote in message

news:86flhc$lp43@bornews.borland.com...
Quote
> Hello,

> I am exploring OpenGL world from Delphi, and have found a lot of various
> samples (taht work), but which all deal with a single display area.

> Since I've read that it is possible to have only one OpenGL rendering
> context per thread, I was looking for a solution to have several OpenGL
> displays on the same form for instance. What I want to obtain is a form
> containing a main panel for the scene display, and a smaller one showing a
3
> axis frame representing the current camera attitude. Another scenario
would
> be to have several displays that would show the same scene from different
> points of view.

> Any indication, sample,...

> Thanks a lot in advance

> Eric

Re:multiple 3D views


Hi Mike,

Thanks for your reply.

The comic thing is that I just realized this morning (before opening my
mail) that I have misunderstood the limitation about rendering contexts, and
that it could be what you have explained my in your reply. Telepathy perhaps
?

However, I will have a look at your OpenGL library, since it is quite close
to wht I wanted to develop.

Regards
Eric

Mike Lischke <pub...@lischke-online.de> a crit dans le message :
86fp0c$l...@bornews.borland.com...

Quote
> Hi Eric,

> you might want to have a look at GLScene, my OpenGL library for Delphi
2-5.
> It allows what you are looking for plus loads of other stuff like
importing
> of 3D Studio files etc (www.lischke-online.de).

> Ciao, Mike

> PS: It is not true that one can have only one rendering context per
thread.
> What you mean is that one thread can have only one ACTIVE rendering
context
> at a given time and that a rendering context must only be active in one
> thread at the same time. Nothing prevents you to use the context
> subsequently in different threads.

Other Threads