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

Vista - drawing surface, 2D visual surface as plane in the 3D space

 
 
Old 07-10-2006   #1 (permalink)
=?Utf-8?B?UnVlZGlnZXI=?=


 
 

drawing surface, 2D visual surface as plane in the 3D space

Hi,

I am trying to get some information about the visual 2D surface (the
projection plane) in the 3D space and the corresponding projection
(orhtographic, perspective).
Basically I would like to get two vectors which describe this plane. This
seems to be easy because they are orthogonal to the look direction of the
projection camera being used. Is this a correct assumption?
For orthographic projection this might by sufficient to calculate 2D
coresspondents of 3D points because the direction of the projection is normal
to the projection plane (correct assumption?).
In case of perspective projections this seems to be a little bit more
difficult. The projection matrix would be very helpful in this case. Is there
any way to get this matrix or some underlying information to compute this
matrix?
(In the orthographic case it may be M11=1, M22=1, M44=1, 0 otherwise).

Any help concerning this issue is appreciated.
Regards, Ruediger


My System SpecsSystem Spec
Old 07-10-2006   #2 (permalink)
=?Utf-8?B?VGhlUkhvZ3Vl?=


 
 

RE: drawing surface, 2D visual surface as plane in the 3D space

Yes. There is a sample in my sample (2DLabel) pack at
http://www.therhogue.com/WinFX which finds the 2D point on a 3D object.
Please read the readme.txt for details.

The bad news is that the sample uses a "MatrixCamera". This means a lot of
extra 3D matrix stuff is needed to use this type of Camera.

In V2 of WPF, I think the camera matrix will be exposed, along with a number
of other needed features to make life much easier.

"Ruediger" wrote:

> Hi,
>
> I am trying to get some information about the visual 2D surface (the
> projection plane) in the 3D space and the corresponding projection
> (orhtographic, perspective).
> Basically I would like to get two vectors which describe this plane. This
> seems to be easy because they are orthogonal to the look direction of the
> projection camera being used. Is this a correct assumption?
> For orthographic projection this might by sufficient to calculate 2D
> coresspondents of 3D points because the direction of the projection is normal
> to the projection plane (correct assumption?).
> In case of perspective projections this seems to be a little bit more
> difficult. The projection matrix would be very helpful in this case. Is there
> any way to get this matrix or some underlying information to compute this
> matrix?
> (In the orthographic case it may be M11=1, M22=1, M44=1, 0 otherwise).
>
> Any help concerning this issue is appreciated.
> Regards, Ruediger
>

My System SpecsSystem Spec
Old 07-11-2006   #3 (permalink)
=?Utf-8?B?UnVlZGlnZXI=?=


 
 

RE: drawing surface, 2D visual surface as plane in the 3D space

Thanks,

the 2D label example gave me the necessary hints to solve my problem.

Regards, Ruediger

"TheRHogue" wrote:

> Yes. There is a sample in my sample (2DLabel) pack at
> http://www.therhogue.com/WinFX which finds the 2D point on a 3D object.
> Please read the readme.txt for details.
>
> The bad news is that the sample uses a "MatrixCamera". This means a lot of
> extra 3D matrix stuff is needed to use this type of Camera.
>
> In V2 of WPF, I think the camera matrix will be exposed, along with a number
> of other needed features to make life much easier.
>
> "Ruediger" wrote:
>
> > Hi,
> >
> > I am trying to get some information about the visual 2D surface (the
> > projection plane) in the 3D space and the corresponding projection
> > (orhtographic, perspective).
> > Basically I would like to get two vectors which describe this plane. This
> > seems to be easy because they are orthogonal to the look direction of the
> > projection camera being used. Is this a correct assumption?
> > For orthographic projection this might by sufficient to calculate 2D
> > coresspondents of 3D points because the direction of the projection is normal
> > to the projection plane (correct assumption?).
> > In case of perspective projections this seems to be a little bit more
> > difficult. The projection matrix would be very helpful in this case. Is there
> > any way to get this matrix or some underlying information to compute this
> > matrix?
> > (In the orthographic case it may be M11=1, M22=1, M44=1, 0 otherwise).
> >
> > Any help concerning this issue is appreciated.
> > Regards, Ruediger
> >

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
directx surface unavailable Vista Games
Microsoft Surface Chillout Room
Would you pay $1,500 for your very own Microsoft Surface? Vista News
Microsoft Surface Cartoon. Vista hardware & devices


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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46