From: Tomlinson, Gordon (GORDON.TOMLINSON++at++ca.com)
Date: 10/30/2000 14:24:11
My on my, I've not heard of a Crimson RE in a LONG time
It may not be support on the Crimson its is Old and retired
I sure some one from SGI will say Yah or Nah
Gordon.
-----Original Message-----
From: Roy Ruddle [mailto:Ruddle++at++Cardiff.ac.uk]
Sent: Monday, October 30, 2000 8:36 AM
To: info-performer++at++sgi.com
Subject: Fog problem on Crimson RE
Hi there,
I'm trying to implement a simple linear fog model on our Crimson RE,
running Irix 6.2/Performer 2.2/Open GL. The application is for
navigating a building (i.e., Z = 0 is the plane of the floor, and a
user's eyepoint moves in the Z=1.65 m plane). The relevant code is:
pfEarthSky *esky = new pfEarthSky;
esky->setMode(PFES_BUFFER_CLEAR, PFES_SKY_GRND);
esky->setAttr(PFES_GRND_HT, -1.0 );
pfFog *fog = new pfFog;
fog->setFogType( PFFOG_VTX_LIN );
fog->setColor( 1.0, 1.0, 1.0 );
fog->setRange( fog_range_min, fog_range_max );
esky->setFog( PFES_GENERAL, fog );
This works fine on a MaxImpact running irix 6.5 but, on the Crimson, I can
clearly see my scene beyond the fog_range_max distance. Any thoughts? Have
I missed something out in my fog/earth-sky calls, meaning that it's pure
luck the code works on the Impact?
many thanks
roy
------------------------------------------------------------------------
Roy Ruddle, Senior Research Associate
Cardiff Human Interfaces and Virtual Environments Laboratory (C-HIVE)
School of Psychology, Cardiff University, PO Box 901, Cardiff CF10 3YG
Tel: +44 (0)29 2087 5030 (direct), Fax: +44 (0)29 2087 4858
Email: Ruddle++at++CARDIFF.AC.UK http://www.cf.ac.uk/psych/ruddle/
-----------------------------------------------------------------------
List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2b29 : Mon Oct 30 2000 - 14:23:01 PST