GeoSets in same Geode inherit from each other?

New Message Reply Date view Thread view Subject view Author view

Scott Herod (herod++at++evt.com)
Tue, 23 Jun 1998 17:14:37 -0600


Hello,
     
    I wish to set up a pfGeode with several GeoSets that have
different properties. Some should be textured, some colored,
and some with material properties. I'm finding that if I set
a color for one geoset, then all subsequent geosets get the same
color even if their setAttr(PFGS_COLOR4,...) flag is not set.
pfPrint at DEBUG level agrees that the geosets have no color,
yet they are colored on the screen. (Normals seem to have the
same problem.) This happens with Performer 2.2 on an O2 with
7.1 compilers. Some sample code is at

  "http://amath.colorado.edu/appm/faculty/sherod/colorS.C"

Switch the two sections of code marked "Block A" and "Block B"
to see the difference.

Should I expect this behavior or am I doing something wrong?

Thank you,

Scott Herod
herod++at++evt.com
=======================================================================
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:57:34 PDT

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