WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-20-2007, 07:59 AM
Vinicius Lima Vinicius Lima is offline
Member
 
Join Date: Jul 2007
Posts: 40
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
Reply With Quote
  #2  
Old 10-22-2007, 11:42 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
  #3  
Old 10-22-2007, 01:09 PM
Vinicius Lima Vinicius Lima is offline
Member
 
Join Date: Jul 2007
Posts: 40
Thank you!
Reply With Quote
  #4  
Old 07-26-2010, 03:04 AM
Chirika Chirika is offline
Member
 
Join Date: Jul 2010
Posts: 1
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.
Reply With Quote
  #5  
Old 07-26-2010, 05:56 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
Does the method used in this knowledge base article work for you?
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:34 AM.


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