On Tue, Nov 09, 2004 at 09:38:19PM +0000, Louis-Charles Dumais wrote:
:
: I`m having technical problems merging OpenGL and Open Inventor and I'm
: asking for help to solve the problem. I could give a small paypal gift to
: the person solving the ?equation?. What I'm trying to do is to use OpenGL
: and OpenInventor in the same GL context and using the same camera for
: OpenGL and OpenInventor. This camera is the SoCamera from the OpenInventor
: package. This mean something like this:
: [...]
: SbViewVolume cameraSbViewVolume;
: cameraSbViewVolume = camera->getViewVolume();
You probably have to adjust the view volume based on the viewport mapping
before you get the matrix. See
http://doc.coin3d.org/Coin/classSoCamera.html#a4
For more information about this.
Best regards,
Peder
|