Hi, Robert.
You've said:
As for examples of manage the view matrix, there should be examples in
the archives, but in the end it all boils down to not using a
CameraManipulator and instead calling on each frame:
viewer.getCamera()-setViewMatrix(viewMatrix);
How do I stop using the default
Of Renan
Mendes
Sent: Thursday, September 18, 2008 11:39 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Camera control and view matrix
Hi, Robert.
You've said:
As for examples of manage the view matrix, there should be examples in the
archives, but in the end it all boils down to not using
Hi Renan,
The osgViewer::Viewer by default doesn't have any camera manipulators
attached, but... if you call run without attaching a camera manipultor
then it'll add a TrackballManipulator as a fallback to make the view
usable.
If you are controlling the view matrix from your own frame loop then
Hi Renan,
Thanks for the link, I'll update it tomorrow, unless some kindly soul
gets to it before me :-)
Robert.
On Thu, Sep 18, 2008 at 5:36 PM, Renan Mendes [EMAIL PROTECTED] wrote:
Robert,
The page I'm talking about that still references osg::Producer
is
]
[mailto:[EMAIL PROTECTED] On Behalf Of Renan
Mendes
Sent: Thursday, September 18, 2008 11:39 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Camera control and view matrix
Hi, Robert.
You've said:
As for examples of manage the view matrix, there should be examples in
the archives, but in the end
Search the mailing lists, there are lots of references to this in
previous posts..
some of the examples also exercise these things
Paul and Bobs user guides
Gordon
__
Gordon Tomlinson
Product Manager 3D
Email : gtomlinson @
Here's what I do using euler angles (_camAng) and position (_camPos).
osg::Quat quat(_camAng[0],osg::X_AXIS,_camAng[1],osg::Y_AXIS,_camAng
[2],osg::Z_AXIS);
osg::Matrix viewMat = osg::Matrix::rotate(quat) * osg::Matrix::translate
(_camPos);
Hi Renan,
On Wed, Sep 17, 2008 at 3:30 PM, Renan Mendes [EMAIL PROTECTED] wrote:
I need some references on camera control and view matrices. The tutorial
in OSG's website is outdated, for it still makes use of osg::Producer. Can
anyone send me a few suggestions?
Which pages in particular
for survival
- Master Tambo Tetsura
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian R
Hill
Sent: Wednesday, September 17, 2008 10:55 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Camera control and view matrix
Here's what I do using euler
Or just writing your own CameraManipulator, as per
src/osgGA/TrackballManipulator.cpp etc.
Yes, the TrackballManipulator code is a good reference for this stuff.
The original post is pretty vague; perhaps the original poster would benefit
from some basic OpenGL information regarding the
10 matches
Mail list logo