Hi,
Thanks guys for all the help. I finally figured out how to setup a Rotation
Matrix and I am now using the setByMatrix of the TerrainManipulator correctly
to position the camera. It's awesome!
But I have found a curious thing, it appears that the same method in Trackball
Manipulator is not
HI Allen,
On Fri, Oct 30, 2009 at 7:43 PM, Allen Saucier allen.sauc...@itt.com wrote:
is osgkeyboardmouse a program? Or a class? osg::KeyboardMouse?
osgkeyboardmouse is an example found in
OpenSceneGraph/examples/osgkeyboardmouse.
The convention in the OSG is for classes to follow the form
Hi,
is osgkeyboardmouse a program? Or a class? osg::KeyboardMouse?
Here's my latest solution but still requires a hack at the moment:
bool CSceneMatrixManipulator::intersect(const osg::Vec3d start,
const osg::Vec3d end, osg::Vec3d intersection) const
{
std::coutMy Intersect\n;
Hi,
Allen Saucier wrote:
Hi,
I'm trying to use the TerrainManipulator class and I am scratching my head.
Problem:
I use a patch of terrain w/in a simple program and the terrainmanipulator works
great.
In another example of mine:
I then add a sky-dome by simply putting a sphere around the
Hi JP,
thanks for the idea. I'd forgotten that about aspect of the Terrain
Manipulator. Hum, so I've got to get the Terrain Manipulator (TM) to actually
intersect w/ the terrain node I really want instead of the sphere surrounding
the terrain.
As for what I passed, I sent in the address of
Hi Allen,
Allen Saucier wrote:
Hi JP,
thanks for the idea. I'd forgotten that about aspect of the Terrain
Manipulator. Hum, so I've got to get the Terrain Manipulator (TM) to
actually intersect w/ the terrain node I really want instead of the
sphere surrounding the terrain.
As for what I
Hi JP,
thanks so much! I found a partial solution and I'm trying to understand why
it works. hahahaha
but here's what I found:
1. I have 3 nodes in my scene @ startup: terrain, light, and a sphere wrapping
my terrain. All built/added to root node in that order.
2. the intersect routine found
Hi,
Allen Saucier wrote:
Hi JP,
thanks so much! I found a partial solution and I'm trying to
understand why it works. hahahaha
but here's what I found: 1. I have 3 nodes in my scene @ startup:
terrain, light, and a sphere wrapping my terrain. All built/added to
root node in that order. 2.
Hi,
I'm trying to use the TerrainManipulator class and I am scratching my head.
Problem:
I use a patch of terrain w/in a simple program and the terrainmanipulator works
great.
In another example of mine:
I then add a sky-dome by simply putting a sphere around the terrain and
painted the
9 matches
Mail list logo