Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: 14 May 2006 20:59:34 -0700,    group: microsoft.public.win32.programmer.directx.sdk        back       


What is cameraUpVector ?   
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: 14 May 2006 20:59:34 -0700   author:   Boki

Re: What is cameraUpVector ?   
It's the direction that points away from your feet.

- Richard

Boki wrote:
> 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: Tue, 16 May 2006 03:35:47 +0100   author:   Richard Fine [DXMVP]

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

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us