WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   How to create a sky? (https://forum.worldviz.com/showthread.php?t=1512)

guxmy01 05-27-2008 02:28 AM

How to create a sky?
 
hello!

Im new to this Vizard software. My task is to create a VR of my building and its surrounding. The problem I faces are :

a) How to create a sky background using JPEG?

b)If i turn on the light, is it the shadow is automatically on?

Anyone can help me?
Thanks

:)

farshizzo 05-28-2008 12:07 PM

a) Vizard comes with a sample sky cubemap. You can use the following code to use it:
Code:

sky = viz.add(viz.ENVIRONMENT_MAP,'sky.jpg')

skybox = viz.add('skydome.dlc')
skybox.texture(sky)

There are many sample sky cubemaps available online as well. Just do a google search for them.

b) Light object do not cast shadows. If you need static shadows, then the best option is to bake the shadow into a lightmap using a tool like 3dsmax. If you need dynamic shadows, then search through the forum. There are a few sample scripts posted showing how to setup shadows in Vizard.


All times are GMT -7. The time now is 07:06 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC