Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Alembic Cache export to OBJ, but as a single file containing all the frames

Alembic Cache export to OBJ, but as a single file containing all the frames

tyll.nentwig
Contributor Contributor
1,091 Views
5 Replies
Message 1 of 6

Alembic Cache export to OBJ, but as a single file containing all the frames

tyll.nentwig
Contributor
Contributor

Hi, need to export Biforst (Liquid) Alembic Cache to OBJ, but as a single file containing all the frames.

All exporter Scripts i know do not support that, but it is possible. i always get one file per frame but i need one file containing all the information.

Hope there is someone who know how to do this.

Accepted solutions (1)
1,092 Views
5 Replies
Replies (5)
Message 2 of 6

mspeer
Consultant
Consultant

Hi!

OBJ does not support animation.

It's a very simple file format to transfer 3D models.

Message 3 of 6

tyll.nentwig
Contributor
Contributor

 this is not correct at all, there is a way to store all frames inside. this is to use animations without bones or keys inside ventuz for example. but youre right the format ist not used like this in normal. 

Message 4 of 6

mspeer
Consultant
Consultant

Hi!

 

My information is correct, for sure.

 

The OBJ format was designed as import and export format for 3D models.

Animation is not part of the original specification for this format and is NOT supported (in general).

 

In some cases developers enhance certain file formats and add custom features for their own products, but this breaks compatibility with other programs using this format.

In some cases there are also new specifications added to a certain file format and then there exist multiple versions like for FBX, where you can export as "FBX 2011" or "FBX 2018".

Technically it's possible to save every possible information into an ASCII or binary file, this is not a prove for a supported feature.

If you want to make sure that the data you save into a 3rd party format can be read by other applications you should stick to the most common used specifications/features.

 

If you want to export animation data into a single ASCII file with the extension .obj you need to create your own script / plug-in for Maya.

The questions is how and where do you want to read this data?

Maybe you need to create an importer too, for the application that needs to be able to read this file, or if this application already supports animation for OBJ, you need to adapt your Maya exporter to support the specifications of this implementation.

0 Likes
Message 5 of 6

tyll.nentwig
Contributor
Contributor
Accepted solution

i did it now, so well.... i would say it is possible. 🙂 could not do it with maya, i did it with blender.

 

to your question, i needed this for a realtime application called ventuz.

0 Likes
Message 6 of 6

Christoph_Schaedl
Mentor
Mentor

Obj arrays are a real thing. Its not a real feature but its possible to store animations.
I did that a long time ago with max. Its just multiple obj file stored into one.

----------------------------------------------------------------
https://linktr.ee/cg_oglu