WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Shadows in Vizard (https://forum.worldviz.com/showthread.php?t=1251)

Vinicius Lima 10-20-2007 07:59 AM

Shadows in Vizard
 
HI,

I found in the Vizard website a sample script on shadows and how to apply them. In the example, we have two eyeballs moving around and the shadows are following it. I noticed the shadows are nothing but a .jpg image of shadows. So could you tell me if that was done in 3ds Max and then exported? If so, would it be possible to explain how to export only the shadow map accordingly?

Thanks,

Vinicius

farshizzo 10-22-2007 11:42 AM

The image is just a standard gray scale image. This technique will only work with objects that are rotated about the Y-axis. To create this image use any standard image editing program to make an outline of your 3d model from a top down view. Then following the example code to project the texture downward.

Vinicius Lima 10-22-2007 01:09 PM

Thank you!

Chirika 07-26-2010 03:04 AM

Hi,
I used the same example with the eyeballs and replaced the 'eyeballs.osg' by a selfmade object 'kugel.wrl' (which is basically a ball) and the shadow, does never appear under the object but always slightely displaced.
I also tried all other kinds of applying shadows to the object, the outcome was all the same.

Jeff 07-26-2010 05:56 PM

Does the method used in this knowledge base article work for you?


All times are GMT -7. The time now is 01:03 PM.

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