![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| | #4 (permalink) |
| | 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 Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Some Pan/Zoom Test Results.... Vista's MM6 is best | Vista music pictures video | |||
| Test results of 17 disk/file recovery programs on SD card | Vista file management | |||
| very disconcerting test results | Vista General | |||