Hi, Hi, I found a sample code in osg site which explains how to use / calculate terrain height. When I used the code and complied, I get too many errors. The code is from the site mentioned below :
http://trac.openscenegraph.org/projects/osg//wiki/Support/Tutorials/Intersections A few errors are For the code line shrubQuad->addPrimitiveSet(new osg::DrawArrays osg::PrimitiveSet:: QUADS,0,4); The error is : syntax error : missing ')' before 'QUADS' For the code line osgProducer::Viewer viewer; Error : osgProducer' : is not a class or namespace name >From the forum I found that osgProducer has been replaced with osgViewer. Is >it just enough if I replace viewer in the code ? I request some help. I am using OSG 2.8 version Cheers, Srikanth ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59275#59275 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

