Hi,
... Thanks for reply..
If i comment the manipulator then data is not displaying. I m using code...
...
...
lasGeometry-setVertexArray( lasVertices);
lasGeometry-setColorArray(colors);
lasGeometry-setColorBinding(osg::Geometry::BIND_PER_VERTEX);
On 29/10/10 18:30 , Lalit Manchwari wrote:
... Thanks for reply..
If i comment the manipulator then data is not displaying. I m using code...
That's because your camera isn't positioned properly which means it's not
actually looking
at the object.
You have to setup the camera view matrix
Hi Lalit,
If i comment the manipulator then data is not displaying.
When you don't use a camera manipulator, you should take care of the the
view matrix of the viewer.
You can use something like
viewer.getCamera()-setViewMatrixAsLookAt(eye, center, up);
For more information about this
Hi,
... I am new in OpenSceneGraph. I want to disable the mouse event and use these
event (Rotate, Zoom, Pan ) in separate buttons.
Thank you!
Cheers,
Lalit Manchwari
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33198#33198
Hi,
On 29/10/10 3:50 , Lalit Manchwari wrote:
... I am new in OpenSceneGraph. I want to disable the mouse event and use
these event
(Rotate, Zoom, Pan ) in separate buttons.
What do you mean 'disable the mouse event'? If you don't attach a manipulator
then no
events will be processed. You
5 matches
Mail list logo