Advertisement

camera movements and more

Started by April 30, 2000 05:49 AM
2 comments, last by phearbear 24 years, 6 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
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
Advertisement
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