Running the Producer trackball example with all its files in the same directory gives, under MinGW, the following error
sh-2.04$ ./trackball_test.exe
CameraConfig::parseFile("oneWindow.cfg") : syntax error - Line 17 at or before "}"
This test program requires a camera configuration file named "oneWindow.cfg"

Seems a ';' is missing inside InputArea section
InputArea {
   RenderSurface "Le Winder";
}

Then it complains that it could not find image files, the provided one are .jpg and not .rgb as written in the cupe.osg file
OK edit cube.osg and change extensions .rgb to .jpg
And at last it works!

Only a warning at the end:
Warning: deleting still referenced object 0x22fea0 of type 'PN8Producer10ReferencedE'
the final reference count was 1, memory corruption possible.

BTW, cube.osg and the images should be moved to the OSG_FILE_PATH, the current directory is not searched by default

Only another detail: spot.rgb image file seems not used anywhere in the example, so can be deleted.

I started learning from the examples, so I do not know if the list is the correct way to let them know.
Ciao!
               mario




--
Ing. Mario Valle
Visualization Group | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to