Problem with 2 Lights/Lmodels in one scene

New Message Reply Date view Thread view Subject view Author view

Klaus Otto (kotto++at++metronet.de)
Mon, 3 Nov 1997 21:06:47 +0000


Hi all,

I have scene graph with two main branches.
Each of the branches i traverse separately to apply
a set of individual Lights and Lmodels to the branches
GeoSets.
So all GSets under branch 1 are getting Light1 and LModel1
and those under branch 2 get light2 and LModel2 attached.

Now, when i display the scene some geometry from branch 1 gets
shaded with the other branches light AND model.
I verified that :
  1. The gsets are under the correct branches
  2. the appropr. lights and lmodels are applied

What i noticed is:
  1. All the wrong shaded geom carries a texture also used in
      the other part or is untextured.
  2. when i change the texture of one polygon of the wrong
      shaded geom this one poly is shaded correct afterwards.
  3. It is always the first branch traversed which partially has
      the wrong shading. (second overrides?)

Can someone give me a hint what might be wrong here.

I hope that this description is not too unspecific to answer.
(and that it is not too embarrasing not to know the basics:)

Thanks in advance,

    Klaus
Klaus Otto
kotto++at++metronet.de

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:12 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.