Description:
This sample shows you how to import arbitrary 3D models at
run time by running the Content Pipeline importers and processors dynamically
on the fly as opposed to building all the content ahead of time in the usual
way.
Sample Overview
This sample builds on the classes described previously in
the WinForms Graphics Device sample. It implements a 3D model viewer control
that uses a file selector to let the user choose any .fbx or .x format model.
Then it imports that file, loads it, and displays it on the screen.
Note: This
sample runs only on Windows. WinForms, MSBuild, and the Content Pipeline aren't
available on Xbox 360. If you want your game to run on Xbox 360, you must build
all your content ahead of time as part of the Visual Studio project. Note also
that the XNA Framework redistributable installer doesn't include the Content
Pipeline. This sample will run only on computers that have the XNA Game Studio
installed.
Other items in the Winforms Series
Downloads
No comments:
Post a Comment