camera movements and more

Started by
2 comments, last by phearbear 23 years, 11 months ago
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
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
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...

humm well think i gotta learn matrixes then
thnx alot..
you know were to find some example code/tutorial?

This topic is closed to new replies.

Advertisement