[Bf-committers] Alembic Export Apply modifier
Michael DELAPORTE
Michael.DELAPORTE at dwarfanimation.com
Wed Nov 22 10:27:10 CET 2017
Hi Sybren,
> What would that do that the exporter doesn't do at this moment?
My mistake I tried using a subsurf modifier that's why I didn't see the modifier applied until I check the apply_subdiv on export.
> Historical; this was part of the patch given to use by DwarfLabs [1]. My
> guess is that they mimicked the Collada exporter, which is
> bpy.ops.wm.collada_export [2].
Thanks I was just curious about it.
Cheers,
Delaporte Michael | Production engineering | Dwarf Animation Studio
tel +33 4 99 53 24 50
michael.delaporte at dwarf-labs.com | www.dwarf-labs.com
________________________________________
De : Bf-committers <bf-committers-bounces at blender.org> de la part de Sybren A. Stüvel <sybren at stuvel.eu>
Envoyé : mardi 21 novembre 2017 11:13
À : bf-committers at blender.org
Objet : Re: [Bf-committers] Alembic Export Apply modifier
Hi Michael,
On 21/11/17 10:44, Michael DELAPORTE wrote:
> In the bpy.ops.alembic_export, there is an option to apply_subdiv but it would be great to have a use_mesh_modifiers like in the OBJ exporter.
What would that do that the exporter doesn't do at this moment?
The decision to apply subdiv or not is rather unique, in that Alembic
actually supports a schema that indicates "this mesh should be
subdivided". You can thus choose to export the non-subdivided mesh, and
have it re-subdivided upon import. This makes the Alembic file much
smaller, and allows for fast subdivision methods like OpenSubDiv. All
other modifiers (when enabled for rendering) are applied before writing
the mesh to the Alembic file.
> And is there a reason for the alembic export to be located in the bpy.ops.wm.alembic_export instead of bpy.ops.export_scene.abc like other exporters?
Historical; this was part of the patch given to use by DwarfLabs [1]. My
guess is that they mimicked the Collada exporter, which is
bpy.ops.wm.collada_export [2].
[1] https://developer.blender.org/D1783
[2]
https://docs.blender.org/api/current/bpy.ops.wm.html#bpy.ops.wm.collada_export
Cheers,
--
Sybren A. Stüvel
https://stuvelfoto.nl/
https://stuvel.eu/
_______________________________________________
Bf-committers mailing list
Bf-committers at blender.org
https://lists.blender.org/mailman/listinfo/bf-committers
More information about the Bf-committers
mailing list