pfEarthSky question

New Message Reply Date view Thread view Subject view Author view

Karen A. Harper (kharper++at++cra.com)
Tue, 14 Dec 1999 16:19:39 -0500


Hi all,

I am trying to generate a simple cloud deck with appropriate transition
zones using pfEarthSky attributes. Here's a snippet:

    esky = new pfEarthSky();
    esky -> setMode(PFES_BUFFER_CLEAR, PFES_SKY_GRND);
    esky -> setAttr(PFES_GRND_HT, GROUND_HEIGHT);
    esky -> setColor(PFES_GRND_FAR, 0.3f, 0.1f, 0.0f, 1.0f);
    esky -> setColor(PFES_GRND_NEAR, 0.5f, 0.3f, 0.1f, 1.0f);
    esky -> setColor(PFES_HORIZ, 0.3f, 0.3f, 0.3f, 1.0f);
     
    // Define the clouds and the transition zones
    esky -> setMode(PFES_CLOUDS, PFES_OVERCAST);
    esky -> setAttr(PFES_TZONE_TOP, 17000.0f);
    esky -> setAttr(PFES_CLOUD_TOP, 15000.0f);
    esky -> setAttr(PFES_CLOUD_BOT, 12000.0f);
    esky -> setAttr(PFES_TZONE_BOT, 10000.0f);
   

The result is a simple fog layer with appropriate transition from 10000
to 12000. However, the transition on the top of the layer doesn't seem to
be working. As soon as I exit above 15000, everything is clear. Anyone
have any idea about what's happening to my upper transition zone? I'm
running
Performer 2.2.4 with Irix 6.5.3 on an Octane.

One other quick question ... is it possible to attach multiple cloud
layers to a pfEarthSky?

As always, any help would be greatly appreciated.

Karen



New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Dec 14 1999 - 13:20:18 PST

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