Windows Vista Forums
Vista Forums Home Join Vista Forums Webcasts Windows 7 Forum Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Camera transform affects hit test results

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 01-10-2006   #1 (permalink)
viliescu
Guest


 

Camera transform affects hit test results


I used to move the camera by modifying the Location and Up vector. Nov CTP
introduced camera transform so I have rewritten the application to use this
property. The problem is that if the camera transform is not the identity,
the hit test results are "distorted" (I am clicking on an object and a
different one is selected). I am not sure but I suspect that camera transform
is not taken into account when converting the 2D hit point into a 3D ray.

My System SpecsSystem Spec
Old 01-10-2006   #2 (permalink)
Jordan Parker [MSFT]
Guest


 

Re: Camera transform affects hit test results

We found a few bugs related to the Transform property and hit testing. What
type of Camera is it? Perspective? Matrix?

Thanks,
Jordan

"viliescu" <viliescu@discussions.microsoft.com> wrote in message
news:BFBCA4E2-7A4E-4309-8788-25CBDE0119FB@microsoft.com...
>
> I used to move the camera by modifying the Location and Up vector. Nov CTP
> introduced camera transform so I have rewritten the application to use
> this
> property. The problem is that if the camera transform is not the identity,
> the hit test results are "distorted" (I am clicking on an object and a
> different one is selected). I am not sure but I suspect that camera
> transform
> is not taken into account when converting the 2D hit point into a 3D ray.



My System SpecsSystem Spec
Old 01-10-2006   #3 (permalink)
viliescu
Guest


 

Re: Camera transform affects hit test results

It's a PerspectiveCamera.

I have reposted the issue in another thread (see "Dec CTP" on 12/19) and
somebody said this is a known bug. So I am using a workaround - I am applying
the transform directly to the camera's properties (Position, UpDirection,
LookDirection)

Thank you,
Valentin

"Jordan Parker [MSFT]" wrote:

> We found a few bugs related to the Transform property and hit testing. What
> type of Camera is it? Perspective? Matrix?
>
> Thanks,
> Jordan
>
> "viliescu" <viliescu@discussions.microsoft.com> wrote in message
> news:BFBCA4E2-7A4E-4309-8788-25CBDE0119FB@microsoft.com...
> >
> > I used to move the camera by modifying the Location and Up vector. Nov CTP
> > introduced camera transform so I have rewritten the application to use
> > this
> > property. The problem is that if the camera transform is not the identity,
> > the hit test results are "distorted" (I am clicking on an object and a
> > different one is selected). I am not sure but I suspect that camera
> > transform
> > is not taken into account when converting the 2D hit point into a 3D ray.

>
>
>

My System SpecsSystem Spec
Old 01-10-2006   #4 (permalink)
Jordan Parker [MSFT]
Guest


 

Re: Camera transform affects hit test results

From reflecting on the Dec CTP bits, it appears the
PerspectiveCamera.Transform hit testing bug didn't make it in time. The next
release should contain it so let us know if you still have a problem with
the next one.

Jordan

> It's a PerspectiveCamera.
>
> I have reposted the issue in another thread (see "Dec CTP" on 12/19) and
> somebody said this is a known bug. So I am using a workaround - I am
> applying
> the transform directly to the camera's properties (Position, UpDirection,
> LookDirection)
>
> Thank you,
> Valentin



My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Some Pan/Zoom Test Results.... Vista's MM6 is best PapaJohn Vista music pictures video 0 07-28-2008 12:45 AM
Test results of 17 disk/file recovery programs on SD card a.k.a. Vista file management 0 12-30-2007 06:39 PM
very disconcerting test results Richard Urban Vista General 12 08-25-2007 03:05 PM
Transform To Trapezoid Avery Z Avalon 1 06-08-2006 11:14 AM
Hit Test Results Kevin Hoffman Avalon 4 03-29-2006 01:08 AM


Vistax64.com 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 2005-2008

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 47 48 49 50 51