Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.98 KB

cnd2obj.md

File metadata and controls

36 lines (29 loc) · 1.98 KB

Tutorial convert CND to OBJ

This tutorial will show you how to extract and convert a level geometry from 03_shs.cnd file to Wavefront OBJ format and open it in Blender.

Prerequisite

  1. cndtool version 0.5 or greater
  2. Blender 2.79
  3. File 03_shs.cnd

Convert CND to OBJ

Open a terminal (cmd.exe on Windows) and navigate to the cndtool folder. Then execute following command:

cndtool convert obj <path_to_03_shs.cnd>

Note: If you want the output files to be placed in a specific folder add parameter -o=<output_folder_path>.  

The command should take a few seconds to finish. After it completes, you should have 03_shs.obj file and mtl folder in the output folder.

Open OBJ in Blender

  1. Open Blender and import 03_shs.obj
    Image of shs

  2. The imported level object will be rotated for 90 degrees on the x axis. We have to rotate it and set viewport shading to solid texture with backface culling: Image of tutorial step 2

    1. Select the level object.
    2. Go to the object edit tab.
    3. Set Rotation on the x axis to 0 degrees.
    4. Click the "+" sign in the top right corner of the viewport window (or press "n" on the keyboard) to open the Transform window. In the transform window, move down to Shading options and make sure the option Backface Culling is checked.
    5. Set viewport shading to Texture.

  3. Change the navigation mode to Walk Navigation then move around and inside of the level's object.
    Use the mouse to rotate and keys W, A, S, D to move around.
    Use keys Q and E to move up/down.
    Note: Sometimes backface culling is not rendered correctly. You might want to turn it off while located inside the level's object. Image of tutorial step 3