Skip navigation links
JavaFX 3D Model Importers

Package com.interactivemesh.jfx.importer.obj

ObjModelImporterJFX 0.8 - Importer for OBJ files.

See: Description

Package com.interactivemesh.jfx.importer.obj Description

ObjModelImporterJFX 0.8 - Importer for OBJ files.

Supported JavaFX 3D scene graph nodes and attributes

Point and line meshes are currently not available.


Mapping OBJ -> JavaFX

OBJ JavaFX
Feature Description Node/Attribute Description
       
File *.obj      
       
o object name MeshView id property string, if no group name is provided
g group name MeshView id property string, mesh property
       
v position coordinates x, y, z TriangleMesh point
vn normal vector x, y, z TriangleMesh smoothing group
vt texture coordinates s, t TriangleMesh texture coordinates
f v/vt/vn ... TriangleMesh face(s)
s smoothing group number TriangleMesh smoothing group number
       
mtllib one or more material library files (*.mtl)    
usemtl referenced material: 'newmtl' material name in mtl-file MeshView material property
       
File *.mtl      
       
newmtl material name    
Kd diffuse color PhongMaterial diffuse color property
Ks specular color PhongMaterial specular color property
Ns shininess PhongMaterial specular power property
d dissolve factor, transparency PhongMaterial (waiting for final JavaFX transparency specification)
map_Kd diffuse map PhongMaterial diffuse map property
map_Ks specular map PhongMaterial specular map property
map_Bump / bump bump map PhongMaterial bump map property
       
Skip navigation links
JavaFX 3D Model Importers

Copyright (C) 2013-2014 InteractiveMesh e.K.