HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Camera angle problems...

05-09-2004, 04:04 AM#1
MantisScreamer
I am trying to change the position of the camera. I can't get it so it faces the portrait at an angle (like I can't see it from the side). I can get the camera to move up/down and side to side, this is the last challenge. If anyone can help me I would appreciate it.
05-09-2004, 04:27 PM#2
Oinkerwinkle
If you're doing this in 3ds max, then seta viewport to your camera and use "Orbit camera" in the lower right. If you're doing this in the MDL, then shift the target X (its second number) one way and the source X (its second number) the other way.

Example:
Code:
Camera "Camera01" {
	Position { 80, 0, 50 },
	FieldOfView 0.605186,
	FarClip 1000,
	NearClip 8,
	Target {
		Position { -40, 0, 50 },
	}
}

to...

Camera "Camera01" {
	Position { 80, 30, 50 },
	FieldOfView 0.605186,
	FarClip 1000,
	NearClip 8,
	Target {
		Position { -40, -30, 50 },
	}
}

A visual way of looking at it...
Code:
              o
              |
           ###|###
          ####|####
          ####|####
          ####|####
           ###|###
              |
              |           
              |
              |
              |
             (_)
              #
              #

to....
              ----->   target X shifted the other
                  o
                 /
           #####/#
          #####/###
          ####/####
          ###/#####
           #/#####
           /
          /
         /
       < /
       #`
      #

       <-------- X shifted one way

I think that's what you were asking, at least.
05-09-2004, 06:45 PM#3
MantisScreamer
Heres the result, its for Divine Right. Thx a lot Oinker!
05-10-2004, 07:01 AM#4
Alfred
Yes. I think I explained pretty well in my tutorial. Oinkerwinkle, can I use that diagram in my tutorial? I will give you credits of course.