Hi,

On Wed, 2010-06-23 at 09:49 +0200, Johannes Brunen wrote:
> Hello,
> 
> I'm working on OpenSG 2.0 r2449. I have written a simple file w1.osg
> with
> bool ret = SceneFileHandler::the()->write(node, "w1.osg", false);
> 
> Reading it back by
> NodeUnrecPtr prototype = SceneFileHandler::the()->read("w1.osg", NULL);
> does not work as expected. This can be seen by the result of
> subsequentially writing of the prototype node:
> 
> bool ret = SceneFileHandler::the()->write(prototype, "test_1.osg",
> false);
> 
> I have uploaded the files to
> http://drop.io/OpenSG_RenderEngine
> 
> I tried to debug it, but was stuck by a call to 
> OSGScanParseSkel_parse(this);
> which I could not resolve.
> 
> Could anyone take a short look what is happening on loading of this file
> format. I think (with some uncertainty) that I have tested this format
> with a former revision. Beside, file format '.osg' is working fine.

one problem I can see when loading w1.osg is that the clip plane chunk
beacons are not quite correct. While loading the cores of the nodes are
set to NULL. I'll have to check why this happens.

Initially I had the problem that there is a GeoToEntityAttachment which
I guess is a custom container of your application. Which does not load
correctly.

Otherwise your file seems to load and re-export fine using
testWindowGLUT. 

test_1.osg looks more like the loader is failing quite early.

I still have to check the particular revision you use.

kind regards
  gerrit





------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to