Updated Blender CMOD Exporter
Updated Blender CMOD Exporter
I've got a bare bones CMOD exporter add on for Blender 2.78 working, using the previous 2.4 exporter by cartrite. No materials or textures are exporting yet, and it is set up for triangles instead of quads. Would people be interested in me developing it a little further and posting it here? Exporting a quads mesh would be an easy addition and I'm interested in learning the Blender Python API better, so this would be a fun project in my spare time.
The utility cmodview is supposed to be able to import .OBJ files and export them as .CMOD. I've had problems getting it to work for me, but if it works for you it'd save a step and wouldn't have the 3DS limitation of 32K vertices per mesh.
One of its limitations seems to be that it can't apply materials to individual mesh faces.
One of its limitations seems to be that it can't apply materials to individual mesh faces.
Selden
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 3 months
there is NO need for the OLD blender 2.48 (
runs ONLY on the old blender 2.49b and older using the OLD pre 2.50 python API for blender
the cmod tool in the source builds just fine and excepts a uv mapped obj
i even fixed the headers being in the wrong place
https://github.com/JohnVV/MyCelestiaBuild/tree/master/celestia/src/tools/cmod
this builds just fine ( well for me on linux )
but should build just fine on MS windows and apple using QT creator
runs ONLY on the old blender 2.49b and older using the OLD pre 2.50 python API for blender
the cmod tool in the source builds just fine and excepts a uv mapped obj
i even fixed the headers being in the wrong place
https://github.com/JohnVV/MyCelestiaBuild/tree/master/celestia/src/tools/cmod
this builds just fine ( well for me on linux )
but should build just fine on MS windows and apple using QT creator