gerard robin a écrit :
> On dimanche 11 janvier 2009, Frederic Bouvier wrote:
>   
>> gerard robin a écrit :
>>     
>>> On dimanche 11 janvier 2009, Frederic Bouvier wrote:
>>>       
>>>> gerard robin a écrit :
>>>>         
>>>>> On dimanche 11 janvier 2009, Frederic Bouvier wrote:
>>>>>           
>>>>>> GL_COLOR_MATERIAL
>>>>>>             
>>>>> I first got it from MP.
>>>>>
>>>>>  Without MP for instance, i do use some OSG objects which take that
>>>>> coding ..........
>>>>>   binName RenderBin
>>>>>             GL_LIGHTING OFF
>>>>>             GL_COLOR_MATERIAL ON
>>>>>             GL_BLEND ON
>>>>> .............
>>>>> It could be only a problem due to the  objects.osg loading
>>>>>
>>>>> I will dig further , however it seems coming now with some recent
>>>>> update from Tim.
>>>>>
>>>>> Regards
>>>>>           
>>>> reproduced with the catalina in fgrun. So if I understand it correctly,
>>>> all you have to do is to remove the offending line in the osg files
>>>>
>>>> -Fred
>>>>         
>>> Yes you are right , i only wonder on about the  consequences on others
>>> OSG objects, since i don't understand everything  :(  regarding the
>>> recent Tim updates.
>>>
>>> Will  it be  possible to go on with a mixing of .osg models and .ac
>>> models ?
>>>       
>> I don't see the relationship between Tim's update and the presence of
>> OSG models. By the way, the OSG format seems to have a Material
>> directive that the warning message hint.
>>
>> -Fred
>>     
>
> OK, i will go on, and remove the faulty lines for these specific objects.
>   

Or consider adding a Material directive inside the StateSet directive.
Search for Material in .osg models of the OpenSceneGraph-data collection.

> BTW: it would be nice to know how to catch the involved objects with these 
> messages.
> osgDB ac3d reader: detected surface with less than 3 vertices!
> osgDB ac3d reader: detected surface with less than 3 vertices!
> osgDB ac3d reader: detected surface with less than 3 vertices!
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>   

This is an OSG message. One should submit a patch that would print the
name of the object.

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/   Photo gallery
http://fgsd.sourceforge.net/    FlightGear Scenery Designer


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to