the unit of radius in raytrace shadow?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  01 January 2013
Question the unit of radius in raytrace shadow?

I haven't payed attention to this before, but today problems appeared when I was dealing with a real size (dimension) interior model. I had to crank the radius up to 500 to get soft shadow of an object which 3 meters to the spotlight, why?

This also raises another question, how to scale a model to correct real size?

Last edited by chaorencu : 01 January 2013 at 05:14 PM.
 
  01 January 2013
Assuming you set your unit to centimeter, simply create a cube with the size of 1 1 1 and there you have it - a cube of 1 cm. Most of the unit settings in Maya should be the same. So your light radius of 500 = 5 meter. How soft the light is will depend on the distance from the object too.
 
  01 January 2013
Question

Originally Posted by Panupat: Assuming you set your unit to centimeter, simply create a cube with the size of 1 1 1 and there you have it - a cube of 1 cm. Most of the unit settings in Maya should be the same. So your light radius of 500 = 5 meter. How soft the light is will depend on the distance from the object too.


Thanks, as your saying, parameters like it depend on how you set maya's world units? But I tried switching between centimeter and meter, the results were the same.
 
  01 January 2013
Shadow softness is about the size of the light source in relative to the object. So if both got scaled equally, it make sense of the shadow stays the same.

Strictly speaking tho Maya can act really weird if you set it to anything but centimeter. I really recommend you keep it cm. if possible.
 
  01 January 2013
If you're rendering with mental ray, units are simply units. 1 unit in Maya, from whatever unit-type you have selected, will simply be 1 unit in mental ray, which is a centimeter. Thus, all lighting is designed to follow this centimeter, and quadratic falloff only works properly at this scale.
__________________
Commodore 64 @ 1MHz
64KB RAM
1541 Floppy Drive


"Like stone we battle the wind... Beat down and strangle the rains..."
 
  01 January 2013
InfernalDarkness is correct. And in fact this applies to most renderers like mental ray and Vray etc.

They simply export a number, like: 1

They don't export or read: 1cm or 1m

It means nothing to a renderer usually.
__________________
My opinions are always my own...and maybe a friend's, but never my employer's.
 
  01 January 2013
Aye, but it could mean everything to a modeler/lighter. For example, living in this ridiculous country, I have to model in inches/feet, and it wasn't until you brought it all to light Bitter that I realized (and executed properly) that I had to scale all my imported geometry down by .394 to make my lighting work properly. Converting inches down to mental ray units, basically. My renderings are much more predictable and therefore take less time to tune, nowadays.

Here is a thread in which we discussed scale rather extensively, with rendertests and some great input from Bitter and others, who have helped me tremendously. Not just in rendering, but in being a nicer and more objective person, too!
__________________
Commodore 64 @ 1MHz
64KB RAM
1541 Floppy Drive


"Like stone we battle the wind... Beat down and strangle the rains..."
 
  01 January 2013
Thumbs up

Thank all above, I really like the atmosphere here
 
  01 January 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 02:35 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.