|
|
|
date: 14 May 2006 20:59:34 -0700,
group: microsoft.public.win32.programmer.directx.sdk
back
Re: What is cameraUpVector ?
The UpVector is used to define the rotation of the screen.
Say you have already defined a campos and a view-direction,
the camera's picture can still be rotated without violating
campos/camdir-definition.
UpVector transformed to screen-space will never have a horizontal
component (x=0), but only a vertical component.
The UpVector doesn't need to be parallel to the screen-plane.
This is the reason why in many ego-shooter games you can't look
"higher" than exactly upwards, while in real life, you might be
able to look behind you, when laying back your head far enough.
In these games, the camera picture would turn around 180 degree,
if the player would be able to look "higher" than exactly upwards.
Gruss
Jan Bruns
"Boki" schrieb im Newsbeitrag
news:1147665574.236352.189710@u72g2000cwu.googlegroups.com...
> Hi All,
>
> I saw the explanation of cameraUpVector:
>
> cameraUpVector Microsoft.DirectX.Vector3
> A Vector3 structure that defines the up direction of the current world,
> usually [0, 1, 0].
>
> but, what is up direction ??
>
> Best regards,
> Boki.
>
date: Sun, 11 Jun 2006 04:33:34 +0200
author: Jan Bruns
|
|