How to simulate night visibility?

New Message Reply Date view Thread view Subject view Author view

Nuno Godinho (mgo++at++minerva.inesc.pt)
Tue, 11 Jun 1996 01:37:36 +0100


When the "night" comes I would like to slowly darken my scene to lower
overall visibility.

I use:

    light->setColor(PFLT_AMBIENT, s, s, s);

and this pfLightSource is a child of scene.

My problem is that I get different results with the different objects in
the scene. When 's' gets to zero I still have plenty visibility.
Shouldn't I get a completely black window?

I believe this is related to the proprieties of each object's material.
Must I edit each object manually (.iv files)?

What proprieties can affect this behaviour?
Emissive color?
Diffuse color?
Specular color?
Ambient color?

I still didn't understand each one's behaviour.

thanks
        Nuno
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
            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 2.0b2 on Mon Aug 10 1998 - 17:52:59 PDT

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