Skip to content

Custom Model Importer

Simon (darkside) Jackson edited this page Aug 21, 2020 · 6 revisions

Custom Model Importer

Area Submitted Type
Games: Content Pipeline, Games: Graphics 5/24/2007 Code Sample

Description

This sample shows how to implement a custom model importer for the XNA Framework Content Pipeline.

Sample Overview

The sample importer is for the popular 3D model format OBJ. It can import many simple .obj files and their accompanying material (.mtl) files. However, the sample doesn't fully support all possible OBJ models.

Any project that references the importer can use the importer. The importer can be selected automatically by file extension, or manually through the Properties pane. For more information, see the topic Using a Custom Importer or Content Processor in the documentation.

All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

Download Size Description
ModelImporterSample_4_0 1.49MB Source code and assets for the Custom Model Importer Sample (XNA Game Studio 4.0).
ModelImporterSample_4_0.zip 1.49MB Source code and assets for the Custom Model Importer Sample (XNA Game Studio 4.0).
Clone this wiki locally