Overriding colors for flat shaded geosets

New Message Reply Date view Thread view Subject view Author view

Scott Watson (scott++at++disney.com)
Tue, 6 Feb 1996 14:45:34 -0800


I don't see an easy way to override the colors for flat shaded
geosets. Is there one? This is Performer 1.2ish

The geometry doesn't have normals assigned.

Any ideas?

-Scott

==============================================================================

Heres a dump of the structure:

[0:0]pfDCS pfId=406 0x40c8bd60 {
    path: /cube
    trav masks: cull=0xffffffff draw=0xffffffff isect=0x0
    bsphere: ctr(0.010000, 0.010000, -4.990000) rad=0.883346
    Matrix: {1.000000 0.000000 0.000000 0.000000
                 0.000000 1.000000 0.000000 0.000000
                 0.000000 0.000000 1.000000 0.000000
                 0.000000 0.000000 -5.000000 1.000000}
            Max Scale: 1.000000
    Num Children: 1
  [1:0]pfGroup pfId=407 0x40c8bea0 {
      path: /cube/jjj
      trav masks: cull=0xffffffff draw=0xffffffff isect=0x0
      bsphere: ctr(0.010000, 0.010000, 0.010000) rad=0.883346
      Num Children: 1
    [2:0]pfGeode pfId=61 0x4021e670 {
        trav masks: cull=0xffffffff draw=0xffffffff isect=0x0
        bsphere: ctr(0.010000, 0.010000, 0.010000) rad=0.883346
        Num Children: 1
      [3:0] - pfGeoSet{
          GeoSet: 0x4022ba00 {
            GeoState: 0x4021d030 GStateIndex=-1
            Primitive: PFGS_TRISTRIPS, NON-INDEXED, FLAT
, pfPrims=47, glPrims=140, verts=234
              Attribute Bindings:
                  PFGS_COLOR4=PFGS_OVERALL PFGS_NORMAL3=PFGS_OFF PFGS_TEXCOORD2=PFGS_PER_VERTEX
          } GeoSet: 0x4022ba00
      [3:0]} pfGeoSet
    [2:0]} pfGeode 61 0x4021e670
  [1:0]} pfGroup 407 0x40c8bea0
[0:0]} pfDCS 406 0x40c8bd60
>


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:52:22 PDT

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