All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
File Format Conversion

In OpenSurgSim(OSS), we load graphical meshes from obj(3D model format) files and meshes for physics and collision from ply(Polygon File Format) files.

ply files are converted from obj files using Blender software. obj files can be either created by Blender or obtained somewhere else.


  1. A obj file can contain geometry information for multiple objects
  2. A ply file can contain geometry information for exactly one object
  3. Blender use mouse right click to 'select' instead of left click.


Load the obj file to be converted by selecting 'File->Import->Wavefront(.obj). After imported the obj file in Blender, to export objects as ply files, one must first right click, i.e. select, the object to be exported. Then the option in menu 'File->Export->Stanford(.ply)' will become available. In one obj file, there might be multiple objects. To convert them to ply files, the user must do the previous steps for each object.