New answers tagged wpf
Well I wasn't able to find if a straight conversion from a Xaml string to a Direct2D Geometry object exists. I used this SE answer to build my own version. It works by parsing the markup and converting the resulting instructions to GeometrySink commands.
This isn't something WPF is particularly well-suited for; it's 3D capabilities, while backed by hardware acceleration eventually, are very abstract and high-level. Using only technology built-in to WPF itself, your best bet is probably to leverage the MeshGeometry3D class. This object has a list of 3D positions and a list of indices into that 3D position ...
Top 50 recent answers are included