Hi Mike,
Thanks to yourself and Paul for getting the SDK pages up.
Is it intended to keep the SDK entry for each project to a single
page, with links to the main websites, or will these expand in future.
The GLEE approach of having a mini tutorial is interesting, quite
different from out "sales" brouchure. I wonder if one could add a
quick hello world example to the page, just to give a taster i..e
something as simple as:
#include <osgDB/ReadFile>
#incliude <osgViewer/Viewer>
// Hello World google earth style.
int main(int, char*)
{
// construct the viewer
osgViewer::Viewer viewer;
// load a model from the web and pass it to the viewer
viewer.setSceneData(osgDB::readNodeFile("http://www.openscenegraph.org/data/world.ive"));
// run the viewer main frame loop till user presses escape.
return viewer.run();
}
-
But perhaps we should start by sticking such examples on the OSG website... :-)
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/