Frederic Bouvier a écrit :
> Csaba Halász a écrit :
>   
>> On Fri, Feb 6, 2009 at 1:18 PM, Robert Osfield <[email protected]> 
>> wrote:
>>   
>>     
>>> Could you please try out the svn/trunk or OSG-2.8 branch to double
>>> check that the lwo plugin is now behaving itself.
>>>     
>>>       
>> Hi Robert,
>> Apparently both versions now load the model, thank you.
>> There is only the original issue with multitexturing remaining, as
>> reported by Marco in november. That mail thread seems to have died
>> without ever receiving a reply from the author of the change causing
>> the breakage (Bob)
>>     
>
> Well, apparently, the problem is only partly solved. Please compare the
> two images below :
> http://frbouvi.free.fr/flightsim/suv_debug.png displayed by osgViewerd
> compiled with MSVC 7.1 in Debug mode
> http://frbouvi.free.fr/flightsim/suv_release.png displayed by osgViewer
> compiled with MSVC 7.1 in Release mode
>
> The source is the 2.8 branch as of this morning ( clean download and
> rebuild )
>
> It looks to me that some variables are not initialised. It is notorious
> that MSVC sets some local variables to 0 in debug mode and not in
> Release mode.
>
> The original model can be found here :
> http://www.marlinstudios.com/files/trafficfree/trafficfree.zip
>   

I disabled optimisations in the release mode ( /Od ) and the model shows
up as expected. This code beats the compiler :-(

-Fred

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

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to