PDA

Click to See Complete Forum and Search --> : 3D Cameras?


MDK Hunter
Nov 29th, 2000, 12:37 PM
Somebody Uses Cameras in they 3d Engines?

rotated.x=((c2*c3)*ex+((-s3)*c2)*ey+(s2)*ez) - cam.x

rotated.y=((s1*s2*c3+c1*s3)*ex+((-s3)*s1*s2+c1*c3)*ey+((-s1)*c2)*ez) - cam.y

rotated.z=(((-c3)*c1*s2+s1*s3)*ex+(s3*c1*c2+c3*s1)*ey+(c1*c2)*ez) - cam.z

s1 , c1 - sine&cosine pitch
s2 , c2 - sine&cosine yaw
s3 , c3 - sine&cosine roll

ex,ey,ez - point x,y,z

Any more math?
Thanks.

/\/\isanThr0p
Dec 3rd, 2000, 09:07 PM
hm what do you need? I really don't get the post. You need more 3d math?

MDK Hunter
Dec 6th, 2000, 01:05 PM
No Thanks, I alredy have the Realy works math, that I just tested on my 3D programm.
If anybody want it please post.