Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.


Go Back   Vista Forums > Misc Newsgroups > Avalon

RB

Vista - the concept of camera in 3D

 
 
05-25-2006   #1
Daniel


 
 

the concept of camera in 3D

Hi,

Can anybody tell me what is the meaning of LookDirection, Position,
UpDirection, FieldOfView ... of a camera in 3D, and how they affect
the way 3D points in real world are mapped to 2D points on screen?

Thanks

My System SpecsSystem Spec
05-25-2006   #2
Pedro


 
 

RE: the concept of camera in 3D

Hi Daniel,

In a projection camera, the look direction tells the camera the direction in
which it will be looking; that, along with the position, determine where the
camera will be looking.

The UpDirection tells the camera what is "Up", this property is usually a
vector(0,1,0), since it makes the positive Y axis "Up".

The field of view tells the camera the angle which will be used for seeing
the world, note that the wider the angle, the more elements you will see. If
this angle is small, you can simulate a zooming in effect.

Keep in mind that all these fields do is set values in a camera's view and
projection matrices, which, when combined allow the system to map 3D world
coordinates into 2D screen coordinates.

Hope this helps!

Pedro Rico


"Daniel" wrote:

> Hi,
>
> Can anybody tell me what is the meaning of LookDirection, Position,
> UpDirection, FieldOfView ... of a camera in 3D, and how they affect
> the way 3D points in real world are mapped to 2D points on screen?
>
> Thanks

My System SpecsSystem Spec
05-26-2006   #3
Pablo Fernicola [MS]


 
 

Re: the concept of camera in 3D

Daniel Lehenbauer's blog has a posting that explains some of this, as part
of an earlier breaking change -

http://blogs.msdn.com/danlehen/archi...03/509092.aspx


"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:3D4F740A-DE2F-48EA-B10A-DC901916847A@microsoft.com...
> Hi,
>
> Can anybody tell me what is the meaning of LookDirection, Position,
> UpDirection, FieldOfView ... of a camera in 3D, and how they affect
> the way 3D points in real world are mapped to 2D points on screen?
>
> Thanks



My System SpecsSystem Spec
05-26-2006   #4
Nick Anderson [MSFT]


 
 

Re: the concept of camera in 3D

Daniel,

The WPF documentation for the ProjectionCamera class in the Windows SDK
provides some descriptions and examples that might help--have you checked
there?

The online build of the Beta 2 documentation is shortly to be refreshed. In
the meantime, here are some shortcuts to pages included in the Windows SDK
Beta 2 download. Try pasting these into the SDK client's search bar.

ProjectionCamera class and properties, including UpDirection, FieldOfView,
LookDirection, and Position:
ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/cpref35/html/T_System_Windows_Media_Media3D_ProjectionCamera.htm

3-D Solids sample:
ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/fd866640-805e-444a-85bb-8ca4830b8a74.htm

3-D Lights sample (this one makes it easy to move the camera position):
ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/79512bce-b248-46dc-b3aa-497f742ce8d8.htm

Hope this helps answer some questions for you.

Nick Anderson
Windows Client Platform SDK


"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:3D4F740A-DE2F-48EA-B10A-DC901916847A@microsoft.com...
> Hi,
>
> Can anybody tell me what is the meaning of LookDirection, Position,
> UpDirection, FieldOfView ... of a camera in 3D, and how they affect
> the way 3D points in real world are mapped to 2D points on screen?
>
> Thanks



My System SpecsSystem Spec
05-29-2006   #5
Daniel


 
 

Re: the concept of camera in 3D

Hi, everybody

Thanks a lot for the help.

In fact, I don't know if it is possible to get the fomula
by which 3-D coordinate is mapped to 2-D coordinate?

Daniel


"Nick Anderson [MSFT]" wrote:

> Daniel,
>
> The WPF documentation for the ProjectionCamera class in the Windows SDK
> provides some descriptions and examples that might help--have you checked
> there?
>
> The online build of the Beta 2 documentation is shortly to be refreshed. In
> the meantime, here are some shortcuts to pages included in the Windows SDK
> Beta 2 download. Try pasting these into the SDK client's search bar.
>
> ProjectionCamera class and properties, including UpDirection, FieldOfView,
> LookDirection, and Position:
> ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/cpref35/html/T_System_Windows_Media_Media3D_ProjectionCamera.htm
>
> 3-D Solids sample:
> ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/fd866640-805e-444a-85bb-8ca4830b8a74.htm
>
> 3-D Lights sample (this one makes it easy to move the camera position):
> ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/79512bce-b248-46dc-b3aa-497f742ce8d8.htm
>
> Hope this helps answer some questions for you.
>
> Nick Anderson
> Windows Client Platform SDK
>
>
> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> news:3D4F740A-DE2F-48EA-B10A-DC901916847A@microsoft.com...
> > Hi,
> >
> > Can anybody tell me what is the meaning of LookDirection, Position,
> > UpDirection, FieldOfView ... of a camera in 3D, and how they affect
> > the way 3D points in real world are mapped to 2D points on screen?
> >
> > Thanks

>
>
>

My System SpecsSystem Spec
05-31-2006   #6
Jordan Parker [MSFT]


 
 

Re: the concept of camera in 3D

Currently we don't expose a way to do this. However, Daniel Lehenbauer's 3D
Tools for WPF (http://workspaces.gotdotnet.com/3dtools) has code that will
do the math for you.

Jordan

"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news299A420-0911-4AEF-A036-8FA367786084@microsoft.com...
> Hi, everybody
>
> Thanks a lot for the help.
>
> In fact, I don't know if it is possible to get the fomula
> by which 3-D coordinate is mapped to 2-D coordinate?
>
> Daniel
>
>
> "Nick Anderson [MSFT]" wrote:
>
>> Daniel,
>>
>> The WPF documentation for the ProjectionCamera class in the Windows SDK
>> provides some descriptions and examples that might help--have you checked
>> there?
>>
>> The online build of the Beta 2 documentation is shortly to be refreshed.
>> In
>> the meantime, here are some shortcuts to pages included in the Windows
>> SDK
>> Beta 2 download. Try pasting these into the SDK client's search bar.
>>
>> ProjectionCamera class and properties, including UpDirection,
>> FieldOfView,
>> LookDirection, and Position:
>> ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/cpref35/html/T_System_Windows_Media_Media3D_ProjectionCamera.htm
>>
>> 3-D Solids sample:
>> ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/fd866640-805e-444a-85bb-8ca4830b8a74.htm
>>
>> 3-D Lights sample (this one makes it easy to move the camera position):
>> ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/79512bce-b248-46dc-b3aa-497f742ce8d8.htm
>>
>> Hope this helps answer some questions for you.
>>
>> Nick Anderson
>> Windows Client Platform SDK
>>
>>
>> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
>> news:3D4F740A-DE2F-48EA-B10A-DC901916847A@microsoft.com...
>> > Hi,
>> >
>> > Can anybody tell me what is the meaning of LookDirection, Position,
>> > UpDirection, FieldOfView ... of a camera in 3D, and how they affect
>> > the way 3D points in real world are mapped to 2D points on screen?
>> >
>> > Thanks

>>
>>
>>



My System SpecsSystem Spec
06-05-2006   #7
Daniel


 
 

Re: the concept of camera in 3D

Ok, thanks a lot for the help.

Daniel

"Jordan Parker [MSFT]" wrote:

> Currently we don't expose a way to do this. However, Daniel Lehenbauer's 3D
> Tools for WPF (http://workspaces.gotdotnet.com/3dtools) has code that will
> do the math for you.
>
> Jordan
>
> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> news299A420-0911-4AEF-A036-8FA367786084@microsoft.com...
> > Hi, everybody
> >
> > Thanks a lot for the help.
> >
> > In fact, I don't know if it is possible to get the fomula
> > by which 3-D coordinate is mapped to 2-D coordinate?
> >
> > Daniel
> >
> >
> > "Nick Anderson [MSFT]" wrote:
> >
> >> Daniel,
> >>
> >> The WPF documentation for the ProjectionCamera class in the Windows SDK
> >> provides some descriptions and examples that might help--have you checked
> >> there?
> >>
> >> The online build of the Beta 2 documentation is shortly to be refreshed.
> >> In
> >> the meantime, here are some shortcuts to pages included in the Windows
> >> SDK
> >> Beta 2 download. Try pasting these into the SDK client's search bar.
> >>
> >> ProjectionCamera class and properties, including UpDirection,
> >> FieldOfView,
> >> LookDirection, and Position:
> >> ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/cpref35/html/T_System_Windows_Media_Media3D_ProjectionCamera.htm
> >>
> >> 3-D Solids sample:
> >> ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/fd866640-805e-444a-85bb-8ca4830b8a74.htm
> >>
> >> 3-D Lights sample (this one makes it easy to move the camera position):
> >> ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/79512bce-b248-46dc-b3aa-497f742ce8d8.htm
> >>
> >> Hope this helps answer some questions for you.
> >>
> >> Nick Anderson
> >> Windows Client Platform SDK
> >>
> >>
> >> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> >> news:3D4F740A-DE2F-48EA-B10A-DC901916847A@microsoft.com...
> >> > Hi,
> >> >
> >> > Can anybody tell me what is the meaning of LookDirection, Position,
> >> > UpDirection, FieldOfView ... of a camera in 3D, and how they affect
> >> > the way 3D points in real world are mapped to 2D points on screen?
> >> >
> >> > Thanks
> >>
> >>
> >>

>
>
>

My System SpecsSystem Spec
 

RB


Thread Tools


Similar Threads for: the concept of camera in 3D
Thread Forum
Re: os and the concept of computer VB Script
Avalon Concept Windows Live
VISTA FORUM...what a concept!!!! General Discussion
runas.exe - basic concept Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd