Importing .OBJ files

From Platinum Arts Sandbox Free 3D Game Maker
Jump to: navigation, search
  • This assumes you have a triangulated model with its own 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 configuration (.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. There are commands for obj files here: Sauerbraten OBJ configuration

4. Rename the cfg file obj.cfg


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.