Re: the layerd fog enigma.

New Message Reply Date view Thread view Subject view Author view

From: Radomir Mech (rmech++at++engr.sgi.com)
Date: 02/28/2002 09:26:25


Hi Yossi,

1) layered fog does not play nice with Esky because each pixel that needs to be
correctly fogged has to be drawn with the layered fog texture in the second
pass.
You would have to create your own sky dome or at least a background plane always
facing the camera. But do not place it too far otherwise you will reduce the
resolution of the texture and you could see some bands in the fog.

2) layerd fog draw function draws only the default bin, the opaque bin and the
transparent bin. Thus in 2.4 it would not draw your additional bins. On the
other hand, in 2.5 you could create your new bins as sub-bins of opaque or
transparent bin and they will be rendered by the draw function.

Radomir

Yossi Kadosh wrote:
>
> Hi,
> I want to incorperate the volume fog effect ( layerd fog ) into an
> existing performer application.
>
> I ran into some problems that are not clear to me :
>
> 1) can I use layerd fog with the performer Esky mode ?
>
> 2) our application makes use of DrawBins, will I need to
> disable them inorder for the layerd fog to work correctly ?
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Feb 28 2002 - 09:26:48 PST

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