Mario Veraart (rioj7++at++fel.tno.nl)
Fri, 23 Oct 1998 13:16:49 +0200 (MET DST)
I have a problem with the lighting of the flight models that I use
in my scene.
The terrain geometry is generated by my own program based on telemetry
data. On this terrain I have to visualise objects that are models made
with Multigen. The flight version is 15.4.
The effect that I see is that the Flight objects are drawn brighter or
darker depending on the viewpoint, just a minute change in heading can
cause a sudden lightening or darkening of the flight objects.
When I disable the drawing of the terrain with a draw traversal mask
then the effect does not happen.
The terrain is a textured mesh of triangles with color and normal
attributes in the pfGeoSet. All terrain tiles use the same pfGeoState
that is fully defined. The flight objects are non-textured and
modelled with Gouraud shading.
When I look at the flight models with perfly they all look fine.
In a previous application I had the opposite and that was solved by
defining a full defined pfGeoState.
Does anybody know what I could have forgotten to do in my self defined
geometry or with the multigen models?
Thanks in advance for any hints.
Mario Veraart
This archive was generated by hypermail 2.0b2 on Fri Oct 23 1998 - 04:18:29 PDT