navi homePPSaboutscreenshotsdownloaddevelopmentforum

OBJ Importer

This is an archived page!
This page is very old and the content is not up to date.
Not everything (if any) which is written here will be in the final game!



You can find the source of this module here. Main module is:


Our implementatoin of the obj model format supports following tags:


The actual object information

Vertex Data

v vertices
vn vertex normal
vt vertex texture coordinate


f faces

Display/render attributes

mtllib material library
usemtl material library name


Material information

illum setting illumination
Kd setting diffuse color
Ka setting ambient color
Ks setting specular color
Ns setting shininess
d setting transluency
Tf setting transparency
map_Kd diffuse map (texture)
map_Ka ambient map (texture)
map_Ks speciular map (texture)
bump bump map (not implemented yet)
Last modified 3 years ago Last modified on Apr 15, 2017, 3:58:08 PM