Hi Zach,

The new loader doesn't try to be clever.  E.g If your flight file specifies
a lit face without normals thats what you get.  By default the OpenFlight
loader performs some optimizations to give better performance out of the box
(osgviewer) but this can be disabled with the reader option "preserveFace".
Rendering options in the comment field is not part of the OpenFlight
specification.

Without a model I can only guess but you could try to perform a "calculate
shading" in Creator to regenerate normals.

Regards,
Brede



On 2/4/07, Zach Deedler <[EMAIL PROTECTED]> wrote:

 Hmmm, it used to have problems finding external references and textures,
but it didn't seem to have that problem just now.  However, the scenes do
look different.

If I turn off lighting, the new plugin looks similar.  However, I use the
comment field to add additional rendering parameters to flt files.  This
does not seem to be getting into the new OpenFlight plugin.  I'm assuming
the new OpenFlight plugin is ignoring the comment fields.  When, I get some
time I can take a look at adding this.

Anybody know why the new OpenFlight plugin is rendering the scene darker?
Is something different in normals?

Thanks.


Zach

-----Original Message-----
From: [EMAIL PROTECTED] [
mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>]
On Behalf Of Joakim Simonsson
Sent: Sunday, February 04, 2007 11:37
To: osg users
Subject: Re: [osg-users] OpenFlight plugin

On Sun, 04 Feb 2007 17:29:11 +0100, Zach Deedler <[EMAIL PROTECTED]> wrote:

> I was wondering if people could chime in on their use of the flt
plugins?
> Do you use?
> 1) old flt plugin
> or
> 2) OpenFlight plugin

I've used the old plugin until some weeks ago. When caching of textures
was implemented, i migrated to the new plugin. And as far as I have
experienced, it works great.

> My flt models do not convert correctly using the OpenFlight plugin.

What is not converting correctly?



--
Joakim Simonsson
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to