From: Radomir Mech (rmech++at++engr.sgi.com)
Date: 03/04/2002 09:19:01
Hi Yossi,
I replied to the same e-mail you sent on Thursday. You haven't gotten the reply?
Anyway, here are the answers:
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
> -----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Mar 04 2002 - 09:19:16 PST