Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Wed, 7 Feb 1996 00:25:51 +0100
Rgds,
Angus.
On Feb 6, 2:45pm, Scott Watson wrote:
> Subject: Overriding colors for flat shaded geosets
>
> 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
> >
>
>-- End of excerpt from Scott Watson
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:22 PDT