Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - New approach to 3D content in WPF

 
 
Old 03-07-2006   #1 (permalink)
Andrej Benedik


 
 

New approach to 3D content in WPF

If you worked 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

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Maybe I should try a different approach VB Script
Set-Content not updating file after get-content and forEach-Object PowerShell
A different upgrade approach Vista General
Issue: getting/setting variable content using Get/Set-Content PowerShell
Weirdness with get-content | replace | set-content - file content is deleted!! PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46