i have a quick trig question.
i have a quick trig question.
does anybody know the equation to convert radians into xyz coordinates? or, if its even possible? im trying to get the cinematic lighting from halo 2 into max, and i have the values for color and radians, but i have no idea how to position them.

=[
-
- Posts: 1557
- Joined: Thu Mar 16, 2006 5:50 pm
- Location: RI
-
- Posts: 1698
- Joined: Sun Nov 07, 2004 12:13 pm
Well, radians are angle measures, so they should not convert to spatial coordinates. However you could be dealing with polar coordinates which use an angle measure and a distance, but that seems unlikely, especially in a 3D environment. If you did have polar coordinates in 2 dimensions, the formula would be (where r is the distance and θ is the angle)
X = r * cos(θ)
Y = r * sin(θ)
However, again, I doubt you are dealing with polar coordinates. While they could be easily expanded into three dimensions, it would be trivial; especially in a game.
X = r * cos(θ)
Y = r * sin(θ)
However, again, I doubt you are dealing with polar coordinates. While they could be easily expanded into three dimensions, it would be trivial; especially in a game.
