y-depth

Discussions about rendering in SOFTIMAGE©
User avatar
farhaad_yousefi
Posts: 178
Joined: 08 Jun 2009, 20:45
Yahoo Messenger: farhaad_yousefi@yahoo.com
Location: tehran-iran

y-depth

Post by farhaad_yousefi » 10 Jan 2010, 18:44

hi i wanted a pass like y-depth..and camera in dependence that i could put fog effect like too my composting.!
any hint.!? :-??

craft
Posts: 107
Joined: 02 Jan 2010, 23:40
Location: Portugal

Re: y-depth

Post by craft » 10 Jan 2010, 23:52

Hi Farhaad. yes, i think this will do what you want... import this material library to your scene and apply the material as an override to your pass.
Play around with the values in the "change_range" node:
-the old range represents the minimum and maximum height in your scene
-the new range represents how that will translate into color.
Right now its using 0 and 10 as min and max heights, translating into a full black to full white gradient. Anything outside those boundaries will be clamped to black or white, accordingly.
You do not have the required permissions to view the files attached to this post.

User avatar
farhaad_yousefi
Posts: 178
Joined: 08 Jun 2009, 20:45
Yahoo Messenger: farhaad_yousefi@yahoo.com
Location: tehran-iran

Re: y-depth

Post by farhaad_yousefi » 11 Jan 2010, 12:39

craft wrote:Hi Farhaad. yes, i think this will do what you want... import this material library to your scene and apply the material as an override to your pass.
Play around with the values in the "change_range" node:
-the old range represents the minimum and maximum height in your scene
-the new range represents how that will translate into color.
Right now its using 0 and 10 as min and max heights, translating into a full black to full white gradient. Anything outside those boundaries will be clamped to black or white, accordingly.



i've imported the .xsi into view port but nothing happens and no shader adds into shaders list..:( is there a procedure.!? :ymdaydream:

craft
Posts: 107
Joined: 02 Jan 2010, 23:40
Location: Portugal

Re: y-depth

Post by craft » 11 Jan 2010, 12:57

yup. :) see the picture:
Capture1.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
farhaad_yousefi
Posts: 178
Joined: 08 Jun 2009, 20:45
Yahoo Messenger: farhaad_yousefi@yahoo.com
Location: tehran-iran

Re: y-depth

Post by farhaad_yousefi » 12 Jan 2010, 16:39

:D now i seeee.!! ;) ..thanks :-bd
but it seems the vector state on intersection points doesn't give the right position of each point in the scene.!! or something i've missed.!?
coz..it's ramp is not world dependence ..ant it moves with object.! thanks again for the effort.!! :ympray:

craft
Posts: 107
Joined: 02 Jan 2010, 23:40
Location: Portugal

Re: y-depth

Post by craft » 12 Jan 2010, 19:45

ooh no you didn't do anything wrong and neither did i! :p
XSI changed, that's what. i created that material in xsi 6.5 and it worked fine. now i just tried it under softimage 2010 and it didn't behave as expected. the "Vector 2 Scalar" node changed, so now what you need instead is the "vector to scalars" and link the output Y to the change range node.

i attached the Softimage 2010 material, but i don't know what version you're using, so it might not work on your scene...
You do not have the required permissions to view the files attached to this post.

User avatar
farhaad_yousefi
Posts: 178
Joined: 08 Jun 2009, 20:45
Yahoo Messenger: farhaad_yousefi@yahoo.com
Location: tehran-iran

Re: y-depth

Post by farhaad_yousefi » 12 Jan 2010, 20:34

aaaawesome.!!! thanks..man.!! :D .tell me if i can help you in any of the following categories.!!
camera-tracking . modeling . compositing in nuke after effect . animating characters . rotoscoping .rigging. ... (anything but scripting ;) )

craft
Posts: 107
Joined: 02 Jan 2010, 23:40
Location: Portugal

Re: y-depth

Post by craft » 12 Jan 2010, 22:22

hehe you're welcome mate. actually, i think i have an idea...

User avatar
farhaad_yousefi
Posts: 178
Joined: 08 Jun 2009, 20:45
Yahoo Messenger: farhaad_yousefi@yahoo.com
Location: tehran-iran

Re: y-depth

Post by farhaad_yousefi » 12 Jan 2010, 22:49

craft wrote:hehe you're welcome mate. actually, i think i have an idea...
yes.!? what is it.! :D