View Full Version : problem with physical sky, mip_rawswitch and mib_continue.
dyei nightmare
12-05-2008, 07:38 PM
whats up, i have a problem with physical sky, mip_rawswitch and mib_continue.
the problem is this: i have a set up with physical sky where i want to have the ilumination from the sky and some clouds of given file, for this, im using these nodes, that i said (continue and rayswitch)
but the ilumination is not the same. plus i dont get shadows :(
physical sky normal:
http://dyei.sabotage.ws/physical_sky1.jpg
physical sky with these nodes:
( light is darker, and without shadows)
http://dyei.sabotage.ws/physical_sky2.jpg
this is the set up:
http://dyei.sabotage.ws/shading_network.jpg
so... i want the light of the first image, but with the backround of the second image, and with shadows....
what ideas do you have about this?
crazy_awper
12-19-2008, 07:36 PM
thanks guy,I hope your post can help me,good luck to you!
Shimrod
12-20-2008, 08:53 AM
I would like to help you more precisely but I'm a max user and don't know Maya.
Anyway, one important thing is to not make mistake between how the sky looks and how it lights up.
In 3dsmax, the clouds bitmap must be set for the Haze parameter, not the background one. Hope this could be a clue for you. ;)
onedigitalartist
01-01-2009, 12:56 PM
hey dyei nightmare i did cooked up this test in maya 2k9 im sure it will work in 2k8 and 8.5 but let me know if this is what you where after.
http://www.crazy8studio.com/mymr/sky_test_1.jpg
http://www.crazy8studio.com/mymr/sky_test_2.jpg
All i did was use the background option on physical sky using one of my HDR's and an mib_sphearical_lookup. The only problem i found with this is that it dosn't contribute to reflections. so i simply just plugged in the output of the same mib_sphearical_lookup into the environment shader box on the shading group on each shader. Of course this isn't a great solution if you have a large amount of shaders that you need to hook up, but it works and it would even allow you to easily attach a env_blur node.
hope this helps! let me know if i missed something.
Decoman
01-04-2009, 06:12 AM
I have a bonus question for, well anyone.
Using onedigitalartist's example just above, and if one were to place a transparent object like a glass window, how can one make the background's physical-sky-texture seen above, to show through the glass, and not simply the plain pre-textured pysical sky background?
Afaik, placing a window into the scene in the post just above, will only show the plain blue background through the glass, making it look wrong.
onedigitalartist
01-04-2009, 07:50 AM
Hey Decoman :) thanks for the bonus question! :p here is a render:
http://www.crazy8studio.com/mymr/sky_test_3.jpg
is this what you where looking for? All i did was simply change the preset on the mia_material shader to physical glass and render. The setup i stated above seems to work with either reflection or refraction. I'm curious did you try what i suggested and get a different result? if so in what version of maya? Also i can post my hypershade tree if you would like.
Onedigital
Decoman
01-04-2009, 10:04 AM
This image is from Maya 2008 sp1, on Win Vista 64 (8gb ram).
The right side shape is a transparent mia_material with physical glass preset. With "use max distance" in refraction ticked off.
I'd be happy to hear from anyone about their 2008 if it is the same.
I will post a mb file as well.
Decoman
01-04-2009, 10:06 AM
Here is a maya 2008 mb file, inside the zip.
onedigitalartist
01-04-2009, 11:22 AM
thanks for the supplied maya file :) using your file i made the connections that i stated above:
before connections:
http://www.crazy8studio.com/mymr/2.jpg
after connections:
http://www.crazy8studio.com/mymr/1.jpg
it looks like in you just skipped a step in the suggestion i made. i hope this clears things up. I used maya 2008 here is the file click here (http://www.crazy8studio.com/mymr/blah2.mb)
and lastly here is a SS of the hypershade demonstrating the necessary connection need to make my proposed solution work:
http://www.crazy8studio.com/mymr/3.jpg
Decoman
01-04-2009, 12:38 PM
Awsome! I honestly thought I had tried this at some point. :|
Thank you so much. :)
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.