Skip to main content
gamedev.net
🔒 Locked

Camera?

Started by snowball123 1 reply 650+ views
Original Post
snowball123
snowball123
Hi, Do most games render the scene then move the camera? Or do they move the Camera and then render the scene? My application is a 3rd View (by the way). Thanks
bschwagg
bschwagg
It depends on the game. It seems more logical to move a camera though, because to move the scene you''d have to translate everything negatively. also have to negate the viewing heading, pitch, roll. etc.
i''d advise working on matrix transformations and demos before a game though, with the camera that it
lates
cha cha cha
BS-er
BS-er
My game code, and all the examples I''ve seen thus far, compute the camera position as it should be for that frame, compute the view matrix based on that, and then render. Basically, if the pros do it that way, I see no reason to buck the trend.

Value of good ideas: 10 cents per dozen.
Implementation of the good ideas: Priceless.

The Battlezone Launch Pad

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.