Re: Spherical/Spatial Texture projection?

Date : Mon, 03 Mar 2008 18:26:58 +0100
To : XSI(at)Softimage.COM
From : Gianfranco Sgura <sgura(at)the-shift.com>
Subject : Re: Spherical/Spatial Texture projection?
Hi Byron, not really sure if I got it right, but are you looking for a projection, or just a method for having the object more transparent the closer we look at the center?
If the latter is your one (and as you say the object is almost spherical) in the render tree you can have a Scalar2Vector pointing (by expressions) to the center of the object, then a vector_state set to "intersection point", then a vector_math_vector subtracting the twos. Plug this into a Vector_Math_Scalar set to Length of V1, and this one into a change range where you clamp the max and min value to that you need.
Use this output to drive a gradient, or the transparency of your material...
This should do the trick in your case...
Hope this helps,
Gianfranco


Byron Nash ha scritto:
I have an object that is basically spherical in shape. It was made by
extruding most of the faces of a sphere, so it's kind of a big spiky
ball more or less. I would like the object to be more transparent the
closer it is to the center. Is there a good way to generate a
projection like that? All of the normal methods I can think of
wouldn't work. Thanks.


--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.