From: LEFEBVRE Thierry (thierry.t.lefebvre++at++renault.com)
Date: 05/12/2003 06:26:09
Hello,
I compute the light of a scene using "vertex program " and " register
combiner " (nvidia extensions).
There's no pfLightSource and the lighting mode is disable.
The scene is built with multigen creator (v2.4), and loaded as ".flt "
format.
Some of faces are rendered flat (no interpolation) in spite of their
attributes are correct :
a.. PFSM_GOURAUD,
b.. FLAT_SHADED is PF_OFF,
c.. The primitives are PFGS_TRIS (not FLAT).
Each vertex has his normal and his color defined.
When each vertex of a geoSet has the same normal (i.e. same coordinates), i
noticed the loader creates only one normal per geoSet.
It does the same with other properties like color (not possible to obtain
smoothed faces with only one color.).
I've been able to change this behaviour by create myself one color per
vertex, but this method is quite tiresome.
I've also tried to use many builder options of pfConv but the generated pfb
files still have only one color and one normal for each geoSet.
Is it possible to disable or tune this optimisation directly in my Performer
application ?
Thanks a lot.
Platform :
- Nvidia GeForce4 ti 4600 (driver 1.0-4191).
- Performer 2.5.2 under Linux (mandrake 8.1).
This archive was generated by hypermail 2b29 : Mon May 12 2003 - 06:30:32 PDT