advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
Download the sample VB.NET and C# code.
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
 

Direct3D, Part 3: Using Meshes to Save and Load Complex Scenes

Direct3D's Mesh class lets you manage, save, and load complex scenes quickly and easily. 


advertisement
n Part 1 of this series, you saw how to get started with Direct3D, Microsoft's high-performance three-dimensional graphics library. Part 2 explained how to make scenes more realistic by adding lighting and textures to objects. The result of applying those two techniques is often a complex scene containing many objects displayed with different colors, textures, and material characteristics, such as reflectivity.


Because building such complex scenes takes time, it might be nice to be able to save the results so you can load them again later. While it would be simple to save the result as a bitmap file, it would be better if you could save the scene's geometry and texture information so you could load the scene and manipulate it in three dimensions later.

It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com.
Already a member?



advertisement