[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Monthly Archives]
[List Home]
[Virtools] Night Scene
- Subject: [Virtools] Night Scene
- From: "Matthias Liebl" <matthias.liebl@raysono.com>
- Date: Tue, 8 Oct 2002 11:27:34 +0200
- Importance: Normal
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
...............................................................
Follow-Ups: