info-inventor-dev
[Top] [All Lists]

Re: Merging opengl and OpenInventor

To: Louis-Charles Dumais <lcdumais@xxxxxxxxxxx>
Subject: Re: Merging opengl and OpenInventor
From: Peder Blekken <pederb@xxxxxx>
Date: Wed, 10 Nov 2004 12:33:08 +0100
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <BAY17-F27jrRZ1UbDBR00012d76@xxxxxxxxxxx>
References: <BAY17-F27jrRZ1UbDBR00012d76@xxxxxxxxxxx>
Sender: info-inventor-dev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
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


<Prev in Thread] Current Thread [Next in Thread>