![]() |
|
#1
|
|||
|
|||
Vizard R5: Adding realtime light to a scene and enabling shadows.
Hi arshbot, here's a short tutorial on that:
--------------- Vizard R5: Adding realtime light to a scene and enabling shadows. Sample Files: Realtime Lighting.zip (7.5Mb) Starting with an unlit scene in Inspector: - First, Go to Create -> Light -> Directional Light - Then, in the properties window check the box for "Shadows" ![]() - Next, name the light node so it can be accessed through code - You can set the angle of the sun node using the rotation controls - The position of a directional light does not affect its output, but can be used to move the node's icon to a more convenient location. ![]() - The ambient light level can also be set. This is accessed through the "Scene" root node. - After setting the ambient light level, this can be stored within the file by checking "Save Scene Settings" within the properties panel. ![]() - Finally, save the file from inspector by going to File -> Save As... - Pick a location and a filename, then hit Save. If you are editing an existing file, you may want to overwrite it. ![]() Notes: If you are constantly iterating on exports, it can be convenient to delete the geometry before saving the lighting so the lighting can be saved in a separate file. This allows you to easily merge the lighting into any new exported file or add it through Vizard code. |
![]() |
Tags |
lighting, spotlight |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Augmented Reality: virtual world not overlapping real world correctly | Vaquero | Vizard | 7 | 04-15-2016 01:14 AM |
Demystifying exporting light maps from 3ds Max to Vizard? | dproeder | Vizard | 1 | 06-14-2013 01:34 PM |
Realistic Light and Shadows Using Vizard and 3DS Max | jde | Vizard | 4 | 07-13-2012 10:58 AM |
Ambient light | Enlil | Vizard | 0 | 05-03-2011 08:48 AM |
why is time faster in my virtual world? | billjarrold | Vizard | 1 | 11-24-2009 05:33 PM |