as i said, i rebuilt the whole library and all dependencies from scratch. and i've realized sth even more confusing: if i load a .osg or .obj file on application startup, it is rendered absolutly fine. but all meshes that i load while the app is running are corrupted! but the code is the same! i'm slowly becoming desperate.. just got familiar with osg :(

Robert Osfield schrieb:

Hi Matthias,

The most likely cause of this type of odd behavior is out of sync
build - where you app is built against a different version of the
OSG/plugins that are linked to at runtime.  So check your paths for
older versions of the OSG which might be hanging around.

Robert.

On 5/3/06, Matthias Ferch <[EMAIL PROTECTED]> wrote:

this one is driving me mad.. i did not work for the past couple of days
on my project.. this evening i finally wanted to continue, but now i
have very strange problems.. when i try to load .obj files, nothing is
drawn at all (well i can see some lonely black pixels sometimes) and if
i load .osg models instead, the models are all black and seem to lack
detail.. this is how the cessna model looks, e.g.:

www.vexator.net/wtf.gif

i load models like this:

ref_ptr<Node> mesh = osgDB::readNodeFile( filename );

osg::ref_ptr<osg::PositionAttitudeTransform> MeshTransform;
MeshTransform = new osg::PositionAttitudeTransform();
MeshTransform->addChild( mesh.get() );

i rebuilt the whole library, still the same. i did not update my gpu
drivers in the meantime or sth else.. any idea what's going on here? :(
i'm absolutly clueless.

thanks.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to