• Advertisement

Archived

This topic is now archived and is closed to further replies.

camera movements and more

This topic is 6469 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m doing a demo, and i''d like the camera to cirkle around my object.. how? also(i guess) you needs tons of coordinates to figure out how were to move it, are there som program the calculates the coordinates ? //phearbear

Share this post


Link to post
Share on other sites
Advertisement
If you want a really simple solution: rotate the specified amount around the object you are viewing then translate back the distance you want. If you want to be able to do collision detection for the camera then it will take some simple trig to give you the resultat points.

Morgan

Share this post


Link to post
Share on other sites
BTW, what are u using to render the object ?? Most 3D rendering will have some way of moving the camera..

My solution is to use a Matrix to represent the x,y and z axis. Then modify values in the matrix and re-render.

by modifying the matrix properly, u can move the camera anywhere u want...

Share this post


Link to post
Share on other sites
humm well think i gotta learn matrixes then
thnx alot..
you know were to find some example code/tutorial?

Share this post


Link to post
Share on other sites

  • Advertisement