World Space vs. Camera Space

Started by
1 comment, last by GameDev.net 24 years, 6 months ago
I think i have a couple of documents lying around on my hard drive that explain this sort of thing. If you email me i should be able to help you out. email me at Steve_sm98@yahoo.co.uk
Advertisement
I'm just starting out and have a question covering something I have been unable to find any good info on - world space vs. camera space. I understand what camera space is, but don't think I grasp the world space concept. In a first person shooter, would world space refer to the coordinates system that the objects and graphics are designed in? If this is true, and your objects have some random origin assigned by another graphics program, how would you convert to camera space?

Any help would be great including a pointer to any thorough web sites with info. I've read a bunch of basic online tutorials, but they all assume more than a basic understanding of this stuff.

thanx

Well, objects are defined in Object or Local space. You then scale and rotate them in object space. You then translate (move) them into world space, which represents their position in relation to everything else in your world. You then globally rotate and translate everything to get it into camera space (if your camera is at (0,0,0) then you just rotate). With D3D these steps are pretty much done for you.

This topic is closed to new replies.

Advertisement