•LearninghowyoucanstoreobjectsofyourcustomclassinsideaModel when it is
loaded and processed in your custom Model processor, by coding your own TypeWriter
and TypeReader (recipes 4-15 and 4-16)
•MakingyourModels nicely follow the slopes of your terrain (recipe 4-17)
4-1. Load and Render a Model Using the
BasicEffect Class
The Problem
Since it is quite impossible to manually define all points of a complex 3D object, these objects
are created by artists in 3D modeling software packages. Such a model can be saved to a file.
You want to be able to load such a model from a file and render the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.