__
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Giering
Joseph
Sent: Saturday, October 03, 2009 10:18 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] [osgPlugins] Loading an image
Hi,
I have a problem to load an image to a texture by using this code.
// create drawable geometry object
osg::Geometry* pGeo = new osg::Geometry;
// add 4 vertices creating a quad
osg::Vec3Array* pVerts = new osg::Vec3Array;
pVerts-push_back( osg::Vec3( 0, 0, 0 ) );
Hello Joseph,
The image can't be found by readNodeFile. Where needs the image-file to be
stored? Must I compile the jpeg-plugin? How can I compile this plugin?
See the answers to your similar thread where you tried to load an obj
file. Please don't post questions twice (these are the same
3 matches
Mail list logo