Importing .OBJ files

From Platinum Arts Sandbox Free 3D Game Maker
Revision as of 09:29, 14 November 2009 by Chaze007 (Talk | contribs) (New page: This assumes you have a obj trianglated model with it's uv map for your textures. 1. Create a new folder in the packages/models folder. Name your new folder so that is describes the model...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This assumes you have a obj trianglated model with it's uv map for your textures.

1. Create a new folder in the packages/models folder. Name your new folder so that is describes the model.

2. Save or copy your obj file into your new folder you just created.

3. Rename your obj file to tris.obj

3. Save or copy your jpg texture file into the new folder. Rename your jpg texture file to skin.jpg

Also you need a cfg file. You can copy one from the other folders or make your own using notepad. If you copy a cfg file from another folder be sure to delete the text inside it. It can be left blank with no information.

4. Rename the cfg file obj.cfg

The model now will load with the textures and with collison detection on.

There are loading paramters that you can put in the cfg file but that can be discussed later.


Here is how you load the your model into the map.

Press "E" to get into edit mode.

Press the tilde key (the one above the tab key) to bring up the console's text input type "mmodel "the name of your new folder"

Press enter. Now your model is added to your mapmodel list.

Press the escape key. click on new mapmodel, go to the last number in the list and you will see your new model at the bottom. It is the same name as the new folder you created in the above post.

Click on the name and your model with textures loads into the map.