kutsche
08-03-2006, 01:14 PM
Hi,
Now after three weeks of experimenting I'm really perplexed about the following:
I like to make a Anisotrophic Shading with the Help of the Deriver Shader. It behaves perfectly as long the Object is on World Coordinate 0,0,0. Everthing is really perfect!
With the mode 2 (North position) and the XYZ Coordinate (3dsmax) Shader attached for the North Position it goes perfectly! If I turn my Object around the Anisotrophy works fine with the mib_ward_illum_deriv shader! The Derivatives are so perfect that I could use it for the mib_reflection_glossy shader,too! Itīs all that I want. Except:
if i move the object out of the 0,0,0 world coordinates the Anisotrophy doesnīt work anymore. Even this problem I have solved partly! If I take the new coordinates of my Object in World (F12) and type it manually in the Offset section of my XYZ Coordinate - The Anisotrophy works perfectly again!!!
Now hereīs the question: With what shader could I set this Offset Vector so that it reads the position of the Object in the world automatically? This is incredible!
It would be so easy if there would be a shader that just returns the current Object Position/Vector in the World!!! Every try to get this Coordinate with the XYZ Coordinate itself failed.
Is here anyone that could help me with that mindboggeling frustrating problem? Iīm so close to real Anisotrophic Reflections!!!
Now after three weeks of experimenting I'm really perplexed about the following:
I like to make a Anisotrophic Shading with the Help of the Deriver Shader. It behaves perfectly as long the Object is on World Coordinate 0,0,0. Everthing is really perfect!
With the mode 2 (North position) and the XYZ Coordinate (3dsmax) Shader attached for the North Position it goes perfectly! If I turn my Object around the Anisotrophy works fine with the mib_ward_illum_deriv shader! The Derivatives are so perfect that I could use it for the mib_reflection_glossy shader,too! Itīs all that I want. Except:
if i move the object out of the 0,0,0 world coordinates the Anisotrophy doesnīt work anymore. Even this problem I have solved partly! If I take the new coordinates of my Object in World (F12) and type it manually in the Offset section of my XYZ Coordinate - The Anisotrophy works perfectly again!!!
Now hereīs the question: With what shader could I set this Offset Vector so that it reads the position of the Object in the world automatically? This is incredible!
It would be so easy if there would be a shader that just returns the current Object Position/Vector in the World!!! Every try to get this Coordinate with the XYZ Coordinate itself failed.
Is here anyone that could help me with that mindboggeling frustrating problem? Iīm so close to real Anisotrophic Reflections!!!
