Quote:Original post by Cazicss
Is there a way to position the camera in such a way that World location (0,0) is in the bottom left of my window?... Meaning i will only be working in quadrant1, +x/+y locations.
Edit:
My overall issue is understanding how to put the camera in some kind of boundary. So the user cant scroll too far in any direction and see "nothingness".
Edit:
Is this a stupid or vague question? This is the 3rd forum I've tried without so much as a hint of what to do, or any questions about clarifying what I'm asking.
Your question isn't stupid. It's more a matter of not making much sense, I'm afraid, in terms of a 3D perspective view. Controlling a perspective view in the way you describe, i.e., never "seeing" anything with x or y coordinates < 0, would be a bit difficult.
Consider your perspective viewing frustum, as viewed from above the eyepoint.
From your description, it sounds like there's a "negative" region you want to prevent the user from seeing. If so, the camera would have to face in a direction such that one of the world axes would always have to the left of the user's eyepoint to hide that negative region. That is, your camera positioning calcs would have to examine the current position, the aspect ratio of the screen, etc., etc.
It's possible, I suppose, but more complicated than I personally would want to get into.