On 12/20/2010 05:42 AM, henri orange wrote:

>   At FG load, i get a lot of these warning messages:
> 
> TangentSpaceGenerator: unknown primitive mode 9
> 
> Is it just me ? is there any possibility to avoid it ?

It's not just you.

There are at least two or three bugs involved here.

1) It is a bug that one part of OSG would generate a primitive mode
that cannot be handled by other parts of OSG.  Indeed, a comparison of 
.../include/osg/PrimitiveSet with .../src/osgUtil/TangentSpaceGenerator.cpp 
suggests that there are several primitive modes that could be generated 
but not handled.

With very slightly cleverer coding, the OSG folks could have detected
this situation at compile time, and could have fixed it a long time ago.

2) It is a bug in OSG that the error message is remarkably uninformative.
The message doesn't say what caused the problem.  It doesn't say how
serious the problem is, or what might be the consequences of ignoring
the problem.  It gives no clue how to avoid the problem ... unless you
want to download the source and reverse-engineer a large, complex, and
virtually uncommented software system.

In particular, the message is presumably provoked by some object in
the scene, but the message gives no clue as to what the identity of
the offending object.

3) It's not clear to me whether this can be considered a bug in FG,
or whether changing FG so as to avoid provoking the OSG bug would
be worth the trouble.  Changing FG would be a royal pain, because
of item (2) above.

On 04/22/2010 03:12 PM, Tim Moore wrote:
>> It would be best to get the polygons out of the loaded geometry. The
>> INDEX_MESH optimizer that was recently added to OSG will do this.

How recently was it added?

How soon will it fix the problem?   

Installing the latest OSG SVN does not appear to be sufficient to 
fix the problem.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to