.obj export file per shape, mtl file

894
0
02-03-2014 03:26 PM
DanielBraun2
New Contributor
Hi everyone,

I'm trying to export a bigger scene to Wavefront OBJ with the "file per initial shape"-option. As expected, every shape gets an file export_Shape.obj export_Shape_1.obj,...

But for the mtl i get only one file, which is called "export.mtl" and contains only the materials of the last shape. Is sth. wrong with my export settings? (see below, I'm using CE2012)

EXPORT SETTINGS
    format:                Wavefront OBJ
    location:              C:\Users\***\CityEngine\CGAtest\models
    base name:             export
    export content:        1 (0 = models only, 1 = fallback to shape, 2 = shapes only)
    file granularity:      1 (0 = single file (or split by file budget), 1 = file per initial shape)
    file size budget:      524288000
    mesh granularity:      1 (0 = as generated, 1 = mesh per material, 2 = use instances of inserted assets) 
    vertex precision:      0.00100
    normal precision:      0.00100
    texcoord precision:    0.00010
    merge vertices:        1
    merge normals:         1
    merge texcoords:       1
    triangulate:           1
    reproject texcoords:   0
    vertex indexing:       0 (0 = allow shared vertices, 1 = force separate vertices)
    normals type:          0 (0 = use vertex normals, 1 = use face normals (flat))
    normals indexing:      0 (0 = allow shared normals, 1 = force separate normals)
    write texcoords:       1 (0 = no texcoords, 1 = first layer, 2 = all layers)
    write materials:       1
    collect textures:      1
    file type:             0 (0 = ascii, 1 = binary)
    embed textures:        0
    write master file:     0
    master group name:     CityEngineSceneRoot
    write cam data:        1
    batch behavior:        0 (0 = normal, 1 = skip existing files, 2 = dry run)
Tags (2)
0 Kudos
0 Replies