[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Monthly Archives]
[List Home]
Re: [Virtools] Night Scene
- Subject: Re: [Virtools] Night Scene
- From: "David Callele" <callele@cs.usask.ca>
- Date: Tue, 8 Oct 2002 09:18:29 -0600
Rendering of multiple transparencies is very complex. Chack the nVIDIA
developer site for "Order Independent Rendering of Transparent Objects" (or
something like that). The issues discussed there most likely cause your
strange artifacts.
If you want your lights to be seen through the plane, you may have to do
something about the back-face culling on the occluding plane. My *guess* is
that disabling back-face culling on the plane might allow the lights to be
seen.
An alternative approach might be to add a camera color filter to darken
everything in the scene. You will need to ensure that the RGB values are all
the same or you will experience color shifts - unless that is what you want
to do...
Hope this helps,
David Callele
----- Original Message -----
From: "Matthias Liebl" <matthias.liebl@raysono.com>
To: "Virtools Theswapmeet" <virtools-user-group@lists.theswapmeet.com>
Sent: Tuesday, October 08, 2002 3:27 AM
Subject: [Virtools] Night Scene
> Hi all twice!
>
> Now it's getting complex, please don't be upset ;-)
>
> We want to set a scene from daylight into night in runtime!
>
> This is really quite difficult as we don't use any lights (performance
> reasons). We just have set the emissive values of the materias to light so
> they appear quite realistic.
>
> To simulate night we are using a plane with the following material setup:
>
> Ambient: 18,52,60 (RGB)
> Diffuse: 41,112,128 (RGB)
> Specular: 229,229,229 (RGB)
> Emissive: 0,0,0 (RGB)
>
> Alpha: 205
> Power: 0
>
> Mode: Custom
>
> Alpha Test: unchecked
> Alpha Test Function: Never
> Alpha rev Value: 0
>
> Blend: checked
> Source Blend: SrcAlpha
> Destination Blend: InvSrcAlpha
>
> Z-Buffer Write: checked
> Z Compare Function: Less
>
> Effect: none
>
> We have used the Costum Mode not just the transparent mode because the
> transparent mode caused some strange effects. In the landscape there are
> some trees and undergrounds with light green color (emmissive!) and they
> were seen through the "semi-transparent" plane as the plane would be not
> there at all! Changing the value of the green in "daylight" mode (so
without
> the plane) to a green that is not visible trough the "night plane" the
green
> is very ugly in normal daylight mode.
>
> I know the description is very difficult to understand, but I tried to
> explain it as good as I can :-) Does anybody have any idea to simulate
night
> in the same world?
>
> At the end one important remark: At night we have to show gestures from a
> character who carries two different lights in both hands - one green and
one
> red light. But these "lights" (here: objects with red and green emissive
> values) are not seen trough the plane. Real lights or particles do not
work
> I am afraid...
>
> Sorry twice for the complex description, but we need any solution! ;-)
>
>
> Thanx to all,
>
> Yours Matthias
>
>
> [www.kocua.info]
>
> -----------------------------------------------
> Matthias Liebl [Team Bremen]
> Ray Sono AG (Bremen) [company]
> Matthias.liebl@raysono.com [E-Mail]
> Otto-Lilienthal-Str.8, 28199 HB [Snail Mail]
> +49 (0)421 59647-37 [Phone]
> +49 (0)421 59647-77 [Fax]
> www.raysono.com [Meet Ray]
>
> ...............................................................
> Distributed via the virtools-user-group list:
http://www.theswapmeet.com/numl.html
> To reply to the list instead of its author, use "Reply to All"
> To unsubscribe: send "unsubscribe virtools-user-group" to
Majordomo@lists.theswapmeet.com
> To subscribe: send "subscribe virtools-user-group" to
Majordomo@lists.theswapmeet.com
> To post a message: send it to virtools-user-group@lists.theswapmeet.com
> ...............................................................
>
...............................................................
Distributed via the virtools-user-group list: http://www.theswapmeet.com/numl.html
To reply to the list instead of its author, use "Reply to All"
To unsubscribe: send "unsubscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To subscribe: send "subscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To post a message: send it to virtools-user-group@lists.theswapmeet.com
...............................................................
References: