viewport2dvisual3d

Viewport2DVisual3D with multiple materials

Hi All, I have a Viewport2DVisual3D control that contains a MaterialGroup as its Viewport2DVisual3D.Material property: <Viewport2DVisual3D.Material> <MaterialGroup> <DiffuseMaterial Brush="{DynamicResource ImageBrush1}"/> <DiffuseMaterial Viewport2DVisual3D.IsVisualHostMaterial="True" Brush="White"/> </MaterialGroup> </Viewport2DVi...

Problem adding Viewport2DVisual3D from Code

I'm trying to add a Viewport2DVisual3D to a Viewport3D in code, but the visual isn't showing up. Any help understanding why not would be appreciated. The following is the code for the main window. Is it sufficient to just add the Viewport2DVisual3D to the children of the Viewport3D in order for it to be rendered? public partial cla...