Original Post
up until now, i''ve been declaring all my vertices as below:
{ -20.0f, 0.0f, -20.0f, 0.0f, 0.0f },
{ -20.0f, 0.0f, -10.0f, 0.0f, 1.0f },
{ -10.0f, 0.0f, -20.0f, 1.0f, 0.0f },
{ -10.0f, 0.0f, -10.0f, 1.0f, 1.0f };
x, y, z, then my texture coordinates. to my knowledge, these coordinates are being declared in "world space", as i am rendering a room, and "drawing" things in relation to each other. all i have so far is a room with a hallway, and i guess it''s okay to render the walls with world coordinates? my other question is what is the best way to declare object coordinates? i suppose to best way to do this would be to declare them in their own space, then convert them to world space, as they would be easier to move simply but incrementing/decrementing their world coordinates...but i can''t figure out the code. how is this done?
thanks for the help.