[osg-users] no Images folder
Bryan Berg
bberg at spawar.navy.mil
Wed Mar 12 12:29:54 PDT 2008
Thanks so much for quick responses !
I downloaded the image files and set the OSG_FILE_PATH to point to it. I
previously didn't even have such an environment variable.
Unfortunately I'm still getting:
Warning: Could not find plugin to read objects from file "Images/lz.rgb"
I built osg from source - using 2.0.
-Bryan
-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of
Jean-Sébastien Guay
Sent: Wednesday, March 12, 2008 9:29 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] no Images folder
Hi Bryan,
> So I'm playing with the example osg apps, but I don't seem to have an
Images
> folder, which many of the examples assume I do.
>
> Did I miss something with the download?
Did you download the OpenSceneGraph-Data distribution?
http://www.openscenegraph.org/projects/osg/wiki/Downloads/SampleDatasets
Unzip that wherever you want it, and then set OSG_FILE_PATH to point to
it. That contains sample .osg files, an Images subdirectory with stuff,
some fonts, etc.
If you downloaded the Windows installer, I think it includes
OpenSceneGraph-Data already, but you may need to set OSG_FILE_PATH to
the base directory (data I think) for it to find the textures. Then you
can just run osgviewer cow.osg and it'll find the model and the texture
by using OSG_FILE_PATH.
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.guay at cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list