[osg-users] Problem reading Openflight file switch node

Robert Osfield robert.osfield at gmail.com
Fri Dec 18 00:53:55 PST 2015


On 18 December 2015 at 01:14, Tony Vasile <minghia at gmail.com> wrote:

> The problem is in 3.4.0. Our original models came from Creator and were
> developed years ago. I built OpenSceneGraph 3.4.0 straight out of the
> source and the two osgSim serializers were built. If you look at my example
> snippets from 3.4.0 and 3.2.0 on 3.4.0 I am getting the switch values all
> set to 1 for each of the Value set elements. I am expecting them to be
> mirror images of each other, with value 1 having (1, 1, 1, 0, 0, 0) and
> value 2 having (0, 0, 0, 1, 1, 1). What I am seeing visually is both sets
> of geometry are turned on and on inspecting the dump to .osg format I see
> that both value 1 and 2 have their value element set to (1, 1, 1, 1, 1, 1).
>

I'm afraid I'm too busy to be able to dive in to this issue but from
standing back and following this thread - could it be that there is a
discrepancy between how it's behaving on different platforms.  You
mentioned about it working on OSX.  You haven't mentioned what other
platforms are in your mix.  Listing what versions of the OSG and what OS
combinations work might help spot a pattern.  Such discrepancies can arise
if there are uninitialised variables somewhere in the chain leading to
inconsistent behaviour.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151218/2229a805/attachment-0003.htm>


More information about the osg-users mailing list