Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm trying to make a WPF-3D game. WPF uses XAML.

I'm trying to find free 3D assets from the internet. :-)

What format of 3D models I should be looking for, direct XAML or 3D Studio format or what? I know that there are some 3D Studio format to XAML -converters, but I don't know if they really work...

share|improve this question
    
I know... should be XNA... But if I make just a simple 3D maybe WPF is ok. –  Tuomas Hietanen Aug 4 '10 at 14:47
add comment

2 Answers

I know that this does not really answer you question, but bear with me:

Why not (pretty much) every format?

Use Assimp: http://assimp.sourceforge.net/index.html

There's examples of loaders using DirectX - I found one here: http://bsxengine.codeplex.com/

In addition to the Assimp Viewer shipped with the Assimp project.

That should get you started using all the formats Assimp supports: http://assimp.sourceforge.net/main_features_formats.html

It's probably possible to serialise the meshes as XAML - I bet there's code for that out there..

share|improve this answer
add comment

I would recommend avoiding XAML for 3D models if you can. In its typical Xml form, Xaml benefits from being human readable but suffers from slow load times. This is generally true for all plain text formats that require parsing and reflection. I suggest you look for libraries that can convert common 3D formats into WPF3D format at runtime. Alternatively, you could use Baml or a custom binary Xaml format. The latter is possible in .NET 4 due to the refined Xaml object model and extensible reader/writer facilities.

Loading and rendering 3D models in WPF should be relatively painless. Textures, on the other hand, may be more problematic. WPF3D's support for 3D surfaces/textures is relatively simple, and you may end up having to rework a lot of textures if you rely on free 3D assets from the Internet.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.