SubD Cage information?

Hi Daz fam,

I've written an Alembic exporter. It is sort of a hack in that it encodes a series of exported .obj files. This actually works perfectly, but the file sizes are huge and I would therefore like to support SubD, just as the Alembic Exporter does.

I cannot find any documentation on how Daz represents SubD cages, and how to manipulate them so that I can write a script to export this information. I suspect that it is only available from the C++ SDK.

Can anyone point me to a resource?

Donald

Comments

  • I've been poring over the header files of the C++ SDK, and I've noticed that the DzObject class has more than one DzShape object associated with it.

    Could one of these DzShape objects hold the base resolution mesh, while another holds the SubD cage mesh? And this would correspond to the General/Transforms/Mesh Resolution section in the parameters pane in the GUI?

    Can anyone confirm?

    Is there a forum specifically for SDK questions?

    Thanks,

    Donald

  • Richard HaseltineRichard Haseltine Posts: 102,716
    Is there a forum specifically for SDK questions?

    Thanks,

    Donald

    https://www.daz3d.com/forums/categories/daz-sdk-developer-discussion , which is a sub-folder of the Daz Studio Discussion forum.

  • Ah, that would explain why I didn't see it; I didn't dig.

    Thank you, again, Richard.

Sign In or Register to comment.