Hi Andreas,
The geometry comes from a scene file created by our seperate (non-OpenSG) scene
assembler,
in our own format, and we generate the building geometry from this on load, so
the file would
not help :(
We'll look a bit further to see if we can get some more clues...
Thanks,
Vince.
Hi Vince,
what kind of geometry are you loading? Is it a vrml file?
The deepCloneTree method doesn't like the custom attributes added by the
vrml loader. For a workaround just use this line:
NodePtr sceneClone = deepCloneTree(scene, "GenericAtt");
But this bug was already in OpenSG 1.4.0 ...
Can you send me the geometry file?
Andreas
Hello all,
We have an application consisting of a terrain, buildings, and avatars,
built on version 1.4 using .NET 2003. We are upgrading to version 1.6
and have the following problem:
The application compiles ok including our own libraries for terrain and
avatars. On loading, the application crashes on a deepCloneTree() call
to a building geometry, which uses OpenSG's standard geometry class. If
we remove this call our terrain and avatars render ok, but even if we
load our buildings without the deepCloneTree() call we cannot see any
buildings in the scene, although they are definitely loading.
Before we start digging deeper, were there any changes from 1.4 to 1.6
in the geometry or associated classes that could cause this? We have
looked at the changelog, but this only lists additions.
Regards,
Vince.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users