New approach to 3D content in WPF

If you work with 3D in WPF you probably had some problems with defining 3D
objects. I would like to present my solution to this problem.

Let's say you have found a great looking 3D model on the internet and want
to use it in your WPF application. Or maybe you have designed your own model
in a 3D modeling application. The only thing you have to do is to get the
model in 3ds file format and use my Reader3ds library to import the models
directly into WPF application.

3ds file format is the most widely used file format for storing 3D content.
Almost all models from internet libraries can be also found in this format.
And also most 3D modeling applications support export to this format.

So when you have your 3ds file you need to go to www.ab3d.si and get
Reader3ds library (from Downloads, see also Projects section for
documentation). Now in your application you can simply write:

Model3DGroup sampleScene = Reader3ds.Read("sample_scene.3ds");

There is also a sample Viewer3d WPF application that is available with full
source code - with is 1072 lines of code and 254 line of xaml it can be a
great piece of WPC sample code.

On the page there are also links to some web libraries with tons of free 3D
models. And recently I have added links to some FREE 3D modeling applications
that support 3ds file format.

So you should have everything to start exploring 3D in WPF.

You are most kindly invited to visit my www.ab3d.si web page.

PS: Both December / January and February CTP versions are available


Answer this question

New approach to 3D content in WPF

  • New approach to 3D content in WPF