Sijun Forums Forum Index
Log in to check your private messages
My Profile Search Who's Online Member List FAQ Register Login Sijun Forums Forum Index

Post new topic   Reply to topic
   Sijun Forums Forum Index >> Digital Art Discussion
View previous topic :: View next topic  
Author   Topic : "Maya 8 - real time shadows?"
thom
junior member


Member #
Joined: 14 Jun 2005
Posts: 48
Location: New Crobuzon

PostPosted: Mon Nov 20, 2006 8:58 am     Reply with quote
a few questions for Maya users:

Is there any way to get real-time shadows in Maya? Sketchup does a great job of quickly giving you openGL cast shadows while you move around a model. I prefer and am familiar with [old versions of] Maya and really want that feature. Has it been incorporated into version 8?


Last edited by thom on Sat May 05, 2007 6:30 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
balistic
member


Member #
Joined: 01 Jun 2000
Posts: 2599
Location: Reno, NV, USA

PostPosted: Mon Nov 20, 2006 11:06 am     Reply with quote
For shadows:

In your active viewport, go to Lighting > click Use All Lights. Then hit the lighting menu again and click Shadows.

Unfortunately, realtime shadows in Maya look like shit, and cause a huge drop in viewport performance, at least in Maya 7 on a consumer graphics card. Maybe they've improved them in 8.

I've been lighting shots in Maya every day for three years and I've never used the real time shadows. Easier to just do an IPR.

You can also visualize what your shadows will look light by looking through the lights themselves. Select a light and then in your viewport go to Select > Look Through Selected.
_________________
brian.prince|light.comp.paint
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
thom
junior member


Member #
Joined: 14 Jun 2005
Posts: 48
Location: New Crobuzon

PostPosted: Mon Nov 20, 2006 1:53 pm     Reply with quote
balistic - thanks - awful stairstepping and it will only see depth map shadows. i can live with the performance drop but not the shadow quality. it takes 10 times longer to ipr render every possibility even with limited geometry. sketchup is gold for that purpose, even with a lot of geometry, but has limited capabilities otherwise.

Last edited by thom on Sat May 05, 2007 6:29 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Affected
member


Member #
Joined: 22 Oct 1999
Posts: 1854
Location: Helsinki, Finland

PostPosted: Tue Nov 21, 2006 6:10 am     Reply with quote
Maybe you could write your own shadow shader for your groundplane or whatever the shadows are being cast on for that, one that inserts the shadow into the diffuse attribute of the shader? I'm pretty sure that should be possible given maya's flexibility, but could get pretty involved... And cpu-intensive too, I suppose. There's a chance someone's done that already though.
Back to top
View user's profile Send private message Send e-mail
Affected
member


Member #
Joined: 22 Oct 1999
Posts: 1854
Location: Helsinki, Finland

PostPosted: Tue Nov 21, 2006 6:20 am     Reply with quote
Actually, if I understand your purpose correctly, just baking the shadows into a texture map would be enough? I think there's a more advanced way to do that in maya, but you could just give the shadow-casting object a suitable shader that will render it invisible while still casting shadows, render from a camera that gives you a view of the entire scene and project the result back onto your shadow-receiving objects from the same camera. Then enable high quality preview for your viewport, revert your shadow-casting object's material to what you want it to be, and you should get better results.
Back to top
View user's profile Send private message Send e-mail
Mikko K
member


Member #
Joined: 29 Apr 2003
Posts: 639

PostPosted: Tue Nov 21, 2006 8:44 am     Reply with quote
Affected> baking the shadows sounds like too much kludge for this purpose.

Quote:
i use 3d for quickly moving lights and camera around looking for an interesting 2d shadow shape/ composition in simple scenes


I know what you mean. Maya seems like shit when it comes to real time rendering. I'm using Unreal3 at work, and boy do those shadows look better Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
thom
junior member


Member #
Joined: 14 Jun 2005
Posts: 48
Location: New Crobuzon

PostPosted: Tue Nov 21, 2006 9:00 am     Reply with quote
Affected - interesting ideas, but sounds really involved. I just want maya to do what sketchup will do - Sketchup has real-time shadows that move and cast as you drag the light source around, dial the time of day on a slider, rotate your model, or move around via the camera. It's a super quick way to look for interesting lighting scenarios.

Last edited by thom on Sat May 05, 2007 6:28 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Affected
member


Member #
Joined: 22 Oct 1999
Posts: 1854
Location: Helsinki, Finland

PostPosted: Tue Nov 21, 2006 10:36 am     Reply with quote
gh, I should pay attention sometimes... Yea, if you want to move lights the bake idea won't work. The shader should, but it would take a bit of work, or a damn lot if you aren't already pretty comfortable with maya's scripting etc.

edit: actually, I'm not sure the shader would work either, I don't know if maya updates the preview textures all the time... Would probably be slow.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Sijun Forums Forum Index -> Digital Art Discussion All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2005 phpBB Group