Where are YOU viewing the world from?

ThePentiumGuy

Senior Contributor
Joined
May 21, 2003
Messages
1,113
Location
Boston, Massachusetts
Hey,
Earlier I was pretty sure I understood the concept of World transformations - but now that I think about it more, it gets more confusing and more questions pop up.

I understand that you must move the world to move an object, but where are YOU viewing the world from? I think i'm viewing from point 0,0,0 -

Can someone clarify please (3D transformations)

Thanks

Pent
 
No, but I move around my objects positions using Device.Transform.View = Matrix.LH(Position, Target,Up),

but is that possible :)!!! Viewing the world from a camera object?

That's exactly what I want to accomplsih, can I view the world from a different position, or must I do it the usual way and translate objects relative to you/

pent
 
You can move the view while leaving other objects in the same place. You just have to build a new View matrix everytime you wish to move the "camera" (which refers to the View transformation). You don't have to be viewing the world from 0, 0, 0.
 
Ahah, I think I figured it out:

World transformations are done to 'move' the object.
View tranformations are done to change your position around in the world.

Please let me know if this is correct,
Pent
 
Back
Top