BigSky
11-19-2003, 05:07 AM
Here's one:
Can anyone tell me how azimuth and elevation are parametized in Maya?
The reason that I want to know is that I want to connect the U&V position of a light on a surface sphere with the position of the sun on the shader. So here's the network:
SkySphereShape.worldSpace[0]>closestPointOnSurface. inputSurface
Light.translate>closestPointOnSurface.inPosition
now the closestPointOnSurface returns a U&V co-ordinate which denotes where my light is across the surface , 2 floats with a min of 0, max of 1(because they are linked to the surface:p ), so I'm almost there, but, the numbers for azimuth and elevation are meaningful outside of (0,1)....so I want to know what constant I have to multiply by to make the movement of my scene light link up with the shader sun....
Anyone?
Can anyone tell me how azimuth and elevation are parametized in Maya?
The reason that I want to know is that I want to connect the U&V position of a light on a surface sphere with the position of the sun on the shader. So here's the network:
SkySphereShape.worldSpace[0]>closestPointOnSurface. inputSurface
Light.translate>closestPointOnSurface.inPosition
now the closestPointOnSurface returns a U&V co-ordinate which denotes where my light is across the surface , 2 floats with a min of 0, max of 1(because they are linked to the surface:p ), so I'm almost there, but, the numbers for azimuth and elevation are meaningful outside of (0,1)....so I want to know what constant I have to multiply by to make the movement of my scene light link up with the shader sun....
Anyone?
