Windows Vista Forums
Vista Forums Home Join Vista Forums Donate 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

Dec CTP

Closed Thread
 
Thread Tools Display Modes
Old 01-10-2006   #1 (permalink)
viliescu
Guest


 

Dec CTP

Hi all,

I have installed Dec CTP and the good news is that it seems
there are no changes in the API - all of my programs recompiled without any
problem.

The bad news is that the problems that I had with Nov CTP are present in Dec
CTP too.
I am going to relist them:

1. Camera transform affects hit test results: If the camera transform is not
the identity, the hit test results are "distorted". It seems that the
transform is not taken into account when converting the 2D hit point into the
3D ray.

2. Trying to animate a property of a ModelVisual3D I get "Multi-step
property paths may not be specified on an
object of type 'System.Windows.Media.Media3D.ModelVisual3D'". The same with
GeometryModel3D.
The workaround was to go up on the tree and use a FrameworkElement (usually
the Viewport3D) as the target name.
But because I have some ModelVisual3Ds as the Children of another
ModelVisual3D I cannot build the path - there is no dependency property
(ChildrenProperty) for ModelVisual3D.

3. I have some custom controls derived from Canvas. These controls are
dinamically added in code and have to be animated
using storyboards.
I register their name using
Application.Current.MainWindow.RegisterName(myControl.Name, myControl);
but I still get the error "The name 'myControlName' could not be resolved in
the name scope of 'MS.Internal.AppModel.RootBrowserWindow'"
It's like the name is not registered at all, I have tried to register the
name at different levels (Grid etc.) but to no avail.

4. I have a list of custom objects to be presented as 3D objects in a
listbox. I am using DataTemplate for this task and in the Triggers section I
start an animation on mouse over. The error I get on mouse over is "The value
of property 'Transform' in the path '(0).[0].(1).[1].(2).(3).(4)' points an
immutable instance of
'System.Windows.Media.Media3D.RotateTransform3D' which may not be
manipulated.". I understand this is a known bug,
but I was hoping to be fixed in Dec CTP.

5. Superscript not working (see a previous thread).

Thank you,
Valentin

Old 01-10-2006   #2 (permalink)
loser
Guest


 

Re: Dec CTP

1) The Camera transform is a known bug, Avalon's 3D team is still
trying to figure out this '3D' math thing and the fact that you have to
take both object AND camera positions into account. Take it easy on
them.

3) The problem sounds like your custom objects are not getting
registered in the namescope, don't know why. You should be able to work
around this by not using Storyboard.TargetName and instead just
directly starting them using Storyboard.Begin

Old 01-10-2006   #3 (permalink)
viliescu
Guest


 

Re: Dec CTP



1) I was just trying to compile a list of the things that don't work for me
.... this is why I have reposted this issue ... I don't want to put any
pressure on the team
The workaround is to apply the transform to the camera properties (Position
, UpDirection, Look Direction) instead of assign it directly to the camera
transform property.

2),3) I was able to make them work (with the help of David Sklar) by using a
different namescope and shorter animation paths.

4) Is a known bug too.

5) Answered in its thread.

Thank you for your help,
Valentin

"loser" wrote:

> 1) The Camera transform is a known bug, Avalon's 3D team is still
> trying to figure out this '3D' math thing and the fact that you have to
> take both object AND camera positions into account. Take it easy on
> them.
>
> 3) The problem sounds like your custom objects are not getting
> registered in the namescope, don't know why. You should be able to work
> around this by not using Storyboard.TargetName and instead just
> directly starting them using Storyboard.Begin
>
>

Old 01-10-2006   #4 (permalink)
Nick Kramer [MSFT]
Guest


 

Re: Dec CTP

Yes, the WPF portions of the December CTP are nearly identical to the Nov.
CTP. As we go to a more regular CTP schedule, not every component in the
distribution is going to change significantly with every CTP.

-Nick Kramer [MSFT]
http://blogs.msdn.com/nickkramer

---
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"viliescu" <viliescu@discussions.microsoft.com> wrote in message
news:8078FD9C-525A-4D6F-BE64-B1664E4CC12C@microsoft.com...
> Hi all,
>
> I have installed Dec CTP and the good news is that it seems
> there are no changes in the API - all of my programs recompiled without
> any
> problem.
>
> The bad news is that the problems that I had with Nov CTP are present in
> Dec
> CTP too.
> I am going to relist them:
>
> 1. Camera transform affects hit test results: If the camera transform is
> not
> the identity, the hit test results are "distorted". It seems that the
> transform is not taken into account when converting the 2D hit point into
> the
> 3D ray.
>
> 2. Trying to animate a property of a ModelVisual3D I get "Multi-step
> property paths may not be specified on an
> object of type 'System.Windows.Media.Media3D.ModelVisual3D'". The same
> with
> GeometryModel3D.
> The workaround was to go up on the tree and use a FrameworkElement
> (usually
> the Viewport3D) as the target name.
> But because I have some ModelVisual3Ds as the Children of another
> ModelVisual3D I cannot build the path - there is no dependency property
> (ChildrenProperty) for ModelVisual3D.
>
> 3. I have some custom controls derived from Canvas. These controls are
> dinamically added in code and have to be animated
> using storyboards.
> I register their name using
> Application.Current.MainWindow.RegisterName(myControl.Name, myControl);
> but I still get the error "The name 'myControlName' could not be resolved
> in
> the name scope of 'MS.Internal.AppModel.RootBrowserWindow'"
> It's like the name is not registered at all, I have tried to register the
> name at different levels (Grid etc.) but to no avail.
>
> 4. I have a list of custom objects to be presented as 3D objects in a
> listbox. I am using DataTemplate for this task and in the Triggers section
> I
> start an animation on mouse over. The error I get on mouse over is "The
> value
> of property 'Transform' in the path '(0).[0].(1).[1].(2).(3).(4)' points
> an
> immutable instance of
> 'System.Windows.Media.Media3D.RotateTransform3D' which may not be
> manipulated.". I understand this is a known bug,
> but I was hoping to be fixed in Dec CTP.
>
> 5. Superscript not working (see a previous thread).
>
> Thank you,
> Valentin
>



Closed Thread

Thread Tools
Display Modes









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