Re: problems with my colors!

New Message Reply Date view Thread view Subject view Author view

John Rohlf (jrohlf++at++tubes)
Thu, 21 Oct 93 10:19:25 -0700


>I've recently ported my application from Performer 1.0 to 1.2, but my
>new version has all the wrong colors!!! Both my sky color and the
>front material colors of my trimesh strips in my geo sets are coming
>out wrong. I am using an EarthSky that has mode = PFES_FAST and color
>set with PFES_CLEAR. For my trimesh polygons in my geo sets I'm using
>indexing into a ColorTable.
>
>What happens are a few strange things.
>1. the sky color initially is displayed correctly with the color I set
> in pfESkyColor the first frame but changes to another color as soon
> as the call to pfClearChan happens in the next frame (I have my own
> channel draw callback so need to call pfClearChan myself). The sky
> color displayed is one of the colors in my ColorTable, not the color
> set in the pfEarthSky.
>2. the sky color changes as the view position changes (both for xyz and
> hpr) and the colors it changes to are those in my ColorTable.
>3. the sky intensity changes when the light direction changes

        This is almost certainly a problem with lmcolor mode and
probably a bug in Performer. I can't see any obvious problems with
the code so I need a simple test case or at least a gldebug trace.


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:50:04 PDT

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