locked
WINRT XAML NOT VIEWPORT3D RRS feed

  • Question

  • will be added in a Viewport3D WINRT xaml?'m already disappointed that I use in WPF Viewport3D a long time. example:

     Viewport3D Viewport3D1 = new Viewport3D()

         Viewport3D1.Camera = _perspectiveCamera;

                grdAniContainer.Children.Add(Viewport3D1);

                Viewport3D1.Loaded += new RoutedEventHandler(Viewport3D1_Loaded);

                ModelVisual3D ModelVisual3D1 = new ModelVisual3D();

                Viewport3D1.Children.Add(ModelVisual3D1);

                Model3DGroup Model3DGroup1 = new Model3DGroup();

                ModelVisual3D1.Content = Model3DGroup1;

    will be supported in future?

     

     

    Thursday, November 17, 2011 6:46 PM

Answers

  • Correct. The Windows Developer Preview does not include 3D support in Xaml or any way to render Xaml onto a Direct3D surface or to render a Direct3D surface into Xaml.

    The Windows Developer Preview provides Direct3D support only for C++.

    There are 3rd party libraries being worked on to call Direct3D from managed Metro style apps.

    As with all feature requests, if this would be valuable to you please provide your specific feedback and scenarios via the Feedback Tool or connect.

    --Rob

    Thursday, November 17, 2011 7:15 PM
    Moderator