To me removing the materials is a bug
 

Best Regards

 

Gordon

__________________________________________________________

Gordon Tomlinson
Email         : gordon.tomlinson @ overwatch.com
YIM/AIM
       : Gordon3dBrit
MSN IM        : Gordon3dBrit @ 3dscenegraph.com

__________________________________________________________

Telephone (Cell): (+1) 214-477-8914
Telephone (Work)
: (+1) 703-437-7651
"Self defence is not a function of learning tricks
but is a function of how quickly and intensely one
can arouse one's instinct for survival"
- Master Tambo Tetsura

 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Brian R Hill
Sent: Thursday, October 05, 2006 2:04 PM
To: osg users
Subject: [osg-users] OpenFlight Loader Discarding Material


Folks,

I just upgraded from OSG 0.9.7 to 1.1.0 and found that the new OpenFlight loader is discarding materials defined for geometry that has lighting turned off. Our application uses the materials and toggles the lighting on/off through runtime controls and we have a large number of legacy flt files modeled this way. I don't see a loader option that preservers the materials.

I'm trying to decide if I want to:

1) create a custom version of the new loader to preserve the materials
2) use the old loader
3) edit all my legacy flt files to enable lighting on the specific geometry so that the material is preserved

If removing the materials is by design, then I'll probably use the old loader for the short term and edit the legacy files over time.

If removing the materials is an oversight, then I'll look into modifying the new loader.

Can anyone tell me if removing the materials is by design or an oversight?

Brian

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to