Sorry, I should learn to read the whole threads before posting. :-)
Cheers,
Axel
-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Schoenberger
Sent: 21 March 2006 13:35
To: XSI(at)Softimage.COM
Subject: RE: worldaxis RGB depthfade/distance shader?
But this would be a Zbuffer/depth pass, not a XYZ coordinate pass...
Holger Schönberger
technical director
The day has 24 hours, if that does not suffice, I will take the night
|> I have an even easier setup.
|> Get a Scalar_State (set it to Ray length) plug this into a
|> Change_range and plug this into the Surface of a material.
|>
|> Get two nulls (I call them NEAR and FAR) and put the
|> following expressions in the Change_range Old Range Start and End:
|>
|> ctr_dist_cam( NEAR.kine.global.pos )
|>
|> ctr_dist_cam( FAR.kine.global.pos )
|>
|> Set the New Range Start and End to 1 and 0.
|>
|>
|> Move the nulls to get a white to black gradient between them.
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi