Carsten Neumann <[email protected]> schrieb am 21.08.2009 17:45:53:
Hello Carsten,
> this means some objects were not successfully loaded and therefore
> pointers from other containers can not be set to these objects. It would
> be interesting to know what types these objects have. Can you set the
> env variable OSG_LOG_LEVEL to DEBUG and see if it prints any messages
> about unknown types/objects that fail to load?
INFO: Check abs : d:\Marc\cache\Schlosskirche_smooth_obj_0.osb
INFO: try to read d:\Marc\cache\Schlosskirche_smooth_obj_0.osb as OpenSG
Binary Geometry
INFO: try to read stream as OpenSG Binary Geometry
WARNING: NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id
10852
WARNING: NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id
10856
WARNING: NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id
10857
WARNING: NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id
10853
WARNING: NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id
10854
WARNING: NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id
10855
WARNING: could not read
WARNING: FILE INTERFACE NOT IMPLEMENTED!
WARNING: could not read
Thats all.
> hm, can you share the problematic file? I've not looked into the 1.x osb
> loader in a long time, but maybe knowing what types it fails to load
> gives a hint where to look.
It happens to all files. The objects contains geometry and material with a
texture, nothing special.
You can test it with:
SceneFileHandler::the().write(geo_node, filename.c_str(), false);
NodePtr node = SceneFileHandler::the().read(filename.c_str(), NULL);
Thanks
Marc
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users