View Single Post
Old 12-23-2011, 11:36 AM
saajaja saajaja is offline
Join Date: Nov 2011
Posts: 14
thanks, I found it.

I tested the dynamic shadow thing on an older version of the model with baked shadows.
without.png is what it looks like without dynamic shadows
with.png is what it looks like with dynamic shadows.

here is my script
import viz
ground = viz.add('behJul2011.IVE')
SHADOW_POS = [0,50,0]
#Controls size of orthographic shadow projector
SHADOW_AREA = [100,100]
import Shadow
shadow = Shadow.ShadowProjector(size=SHADOW_RES,pos=SHADOW_ POS,area=SHADOW_AREA)

...So it looks like that won't be my quick and dirty solution.

The euler in the constructor is set to [0,90,0] by default. If I change

shadow = Shadow.ShadowProjector(size=SHADOW_RES,pos=SHADOW_ POS,area=SHADOW_AREA)


shadow = Shadow.ShadowProjector(size=SHADOW_RES,pos=SHADOW_ POS,euler=[30,90,30],area=SHADOW_AREA)

in the tutorial's, nothing changes. Can dynamic shadows only be cast directly from above?

Back to the original problem with baking shadows, is there a recommended method of texturing objects in 3ds max that will work better than the way I described in my first post?
Attached Thumbnails
Click image for larger version

Name:	with.png
Views:	862
Size:	260.6 KB
ID:	472   Click image for larger version

Name:	without.png
Views:	852
Size:	421.0 KB
ID:	473  
Reply With Quote