Alembic I/O.

I have fixed one issue with normals which occurs when the Alembic archive does not contain normals, but the one you describe still exists, and I’m aware of it. The “Smooth Normals” flag also gets lost when a new mesh is created. I’ll see what I can do.

It does control the scale of the object, but it only affects the object if a Transform Cache constraint is added to it. I have changed the range of the slider from 0.0 - 1.0 to 0.0001 - 1000.0, and added the information about the Transform Cache constraint in the tooltip. This value is also set automatically to whatever value is set in the Scale property of the import operator.

Request: At the bottom of the Alembic modifier there is a"Object:" field with a path to the object in the Alembic file. Could this actually be a drop down list with all the objects in the file so you could manually change what object it is at will? One of the issues I keep running into with Alembic and our Pipeline is that we export a scene into 3DSMax and start working on Materials and lighting. Then, at some point something gets added to the scene. The next time we open the scene, the Alembic gets read but the object is still not there. In one case we discovered that the eyes of some characters needed to be separate objects from the main mesh. We made the change but When the TD opened her scene, the eyes where missing. The TD then had to re-import the new Alembic blowing away all the surfacing work she had done just so she could get the new eyes. Luckily she hadn’t gotten that far.

I remember another developer (Campbell actually) mentioning this to me a few weeks ago but I forgot about it. I just implemented this, so test it and report any bugs :).

Actually another idea is to have a function that checks to see if there have been any objects added to the Alembic since you last opened your scene and ask you if you’d like to add the new data. But I would still like to have the option of manually re-pathing objects.

I added a refresh operator to reload the archive and update the paths list, similar to the refresh operator in the Script Node in Cycles. Your idea is interesting but might require a different implementation; though I’ll try to keep it in mind and see how it could be done.

Good to know :).

Is there any possibility that RF abc stores both? And when importing some kind of filter is needed?

No. HDF5/Ogawa are the compression of the file, and for any file format only one compression is used, otherwise you would need to duplicate the data for the same number of times as the number of compression types.

EDIT: updated first post with current list of known issues and to-dos.

… to make long talking short :eyebrowlift: :

– PACKAGE-INFORMATION –
Branch: alembic_basic_io
Revision: 8e6a3d6
Submodules: locale a87cfb8 addons 75fb4e0 addons_contrib 72c24a1
OS: GNU/Linux, Architecture: x86_64, GLIBC: 2.19
Builddate: Di 12. Jul 17:19:12 UTC 2016
Filesize: 72369448 byte
Shasum: 56c34ceb21cf5426655c25b6ced47de50ca86d61
URL: http://www.jensverwiebe.de/Blender/blender_alembic_basic_io_linux64_latest.tar.xz

Reminder: hdf5->ogawa conversion: www.jensverwiebe.de/Blender/alembic_utilities_linux64.tar.xz

Jens

Same here, but for OSX :):

– PACKAGE-INFORMATION –
Branch: alembic_basic_io
Revision: 8e6a3d6
Shasum: debdd264e0b876d00fd08ce3a561bbc153620ecd
URL: http://www.linesofjasper.com/blender/blender_alembic_basic_io_osx64_latest.zip

jasper

Aaaand… for windows too! :smiley:

Lot of fixes/refinements came in, so …

– PACKAGE-INFORMATION –
Branch: alembic_basic_io
Revision: f68a5f3
Submodules: locale a87cfb8 addons 75fb4e0 addons_contrib 72c24a1
OS: GNU/Linux, Architecture: x86_64, GLIBC: 2.19
Builddate: Mi 13. Jul 14:39:03 UTC 2016
Filesize: 72287768 byte
Shasum: 9fd075c9851fb7d35fbbe637fa4f68932b579187
URL: http://www.jensverwiebe.de/Blender/blender_alembic_basic_io_linux64_latest.tar.xz

Jens

Alembic 1.6.1 is out:

I asked earlier in the thread about dropping HDF5, and I’m glad to see the decision Kevin made. At this stage I think it is fair to ask partners to (re)send files in Ogawa compression, and even RealFlow uses it now (also in 2013, or only in 2015? In any case, the onus shouldn’t be on Blender to read outdated files).

Windows build is ready.

Jens, I was wondering if you were going to remove hdf5 from OSX libs repository as it’s not being used and alembic is not compiled against it.

And OSX build is updated too.

– PACKAGE-INFORMATION –
Branch: alembic_basic_io
Revision: f68a5f3
Shasum: abb667ebc958ad4179d057f845c00c87997eba6f
URL: http://www.linesofjasper.com/blender/blender_alembic_basic_io_osx64_latest.zip

jasper


Thanks for a hard work guys. I downloaded the latest windows build. It crashes when i add a curve and click with right mouse button on the option pointed with red arrow on the screenshot.

Confirmed, but not related to alembic, latest master crashes too in this case. Pls report to BF.
It crashes in “UI_context_copy_to_selected_list”

Jens

I reported. Thanks Jens.

Hey, Fjuhec! The last blender build had a bug with curves and exporting them. Is it possible to remake new alembic build with a new corrected build?

Sure, as soon as the linux version is updated I will match the hash on the windows version.

Coming in some minutes, testing alembic 1.6.1 bugfixrelease atm.

Jens

A library update? So soon? :spin:

Don’t worry about it, the bug fixes don’t affect the Blender code.

Ok, let me know what hash and lib version to use on next build.

Linux, testwise with alembic 1.6.1, even if the bugfixes do not affect blender.

– PACKAGE-INFORMATION –
Branch: alembic_basic_io
Revision: 5f88388
Submodules: locale 6434575 addons b3522df addons_contrib 72c24a1
OS: GNU/Linux, Architecture: x86_64, GLIBC: 2.19
Builddate: Do 14. Jul 20:36:30 UTC 2016
Filesize: 72360476 byte
Shasum: 6047db5754f83e4518b1425ae2bd2cbfcdf33290
URL: http://www.jensverwiebe.de/Blender/blender_alembic_basic_io_linux64_latest.tar.xz

There is a new but harmless issue when compiling, something interfering with an if(APPLE) statement somewhere, but i could not find it ad hoc, so pushed the build and solve this tonight.

EDIT: Found and fixed it. Was own mistake adding the needed boost include for osx wrong way. :o
Updated my build just to be sure.

Jens

The windows build with hash f0cdc1f is ready. Windows takes a long time to build (osx and linux are much, much faster), so I will not build another until tomorrow.

Good job! Thanks you guys!