1
WPFの3Dレンダリングを試しています。私が直面している最初の問題の1つは、フェイスカリングを無効にする方法です。 私はDirectXとOpenGLでそれを行う方法を知っていますが、私はWPFでそれを行う方法を見つけることができません。 ここに私のViewPortマークアップがあります。モデルは、実行時に生成され、それはあなたが私を与えることができる任意の提案のために非常に多くのGeometryModel3DWPFのフェイスカリングを無効にする
<Viewport3D x:Name="viewport" DockPanel.Dock="Right" Margin="0" >
<Viewport3D.Camera>
<PerspectiveCamera x:Name="camera" FarPlaneDistance="50" LookDirection="0,0,-10"
UpDirection="0,1,0" NearPlaneDistance="0" Position="0,0,5"
FieldOfView="45" />
</Viewport3D.Camera>
<ModelVisual3D x:Name="model">
<ModelVisual3D.Content>
<Model3DGroup x:Name="group">
<AmbientLight Color="DarkGray" />
<DirectionalLight Color="White" Direction="-5,-5,-7" />
</Model3DGroup>
</ModelVisual3D.Content>
</ModelVisual3D>
</Viewport3D>
おかげ内MeshGeometry3Dです。