i have a quick trig question.

Off topic chat. Basically anything that doesn't concern halo or halo modding can go here.
Post Reply
User avatar
Darco




Conceptionist

Posts: 1299
Joined: Sun Apr 16, 2006 12:03 pm

i have a quick trig question.

Post by Darco »

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.
Image
=[
fishface617





Posts: 1557
Joined: Thu Mar 16, 2006 5:50 pm
Location: RI

Post by fishface617 »

I know a bit of trig, does this have anything to do with coordinates on the unit circle?
User avatar
Darco




Conceptionist

Posts: 1299
Joined: Sun Apr 16, 2006 12:03 pm

Post by Darco »

i think, i used to know this stuff but its been a few years since i was in trig.
Image
=[
The_Hushed_Casket





Posts: 1698
Joined: Sun Nov 07, 2004 12:13 pm

Post by The_Hushed_Casket »

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.
Image
User avatar
Darco




Conceptionist

Posts: 1299
Joined: Sun Apr 16, 2006 12:03 pm

Post by Darco »

thanks, i just made up a z-value and it think it turned out pretty good.


Image
Image
=[
Post Reply