![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| 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 | |||