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);
lasGeometry->addPrimitiveSet(lasPrimitive);
root->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF);

//viewer.setCameraManipulator(new osgGA::TrackballManipulator());

viewer.setSceneData( root );
viewer.addEventHandler(new osgViewer::StatsHandler);
viewer.addEventHandler(new osgViewer::WindowSizeHandler);
viewer.realize();
while( !viewer.done() )
{
    viewer.frame();
}       
.......
.....

And is there any osg functions that i can directly for rotate pan and zoom 
buttons.  

Thank you!

Cheers,
Lalit

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33221#33221





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to