Here's what I've got so far...it builds successfully and exports valid Alembic files, but abcls doesn't find the mayaColorSet=1 flag so I'm still doing something wrong.
Alembic::AbcCoreAbstract::MetaData md; md.set("mayaColorSet", "true"); OC4fGeomParam param(prop, name, true, kFacevaryingScope, 1, 0, md);
Mon, Feb 19
OK, progress--I can build Blender from source with Alembic enabled. Next step, @Dario Seyb (daseyb) says for Unity he used the following to add the Maya color set flag:
AbcGeom::MetaData md; m.set("mayaColorSet", "true"); m_colorSet = AbcGeom::OC4fGeomParam(m_scheme.getArbGeomParams(), “Cd”, true, AbcGeom::GeometryScope::kFacevaryingScope, 1, m_tsi, md);
Could you help me adapt this for Blender?
Sun, Feb 18
Sat, Feb 17
If I wanted to recompile Blender's Alembic export module with the mayaColorSet=1 flag added, where in the source should I look?
Tue, Feb 13
Sun, Feb 4
Ok, thanks :)
@Juan Gea (juang3d) no one is working on that currently, otherwise there would be some activity here.
Tue, Jan 30
How is this going?
Well hm, afaiks this is a matter of setting the curve resolution.
In 278c curve resolution wasnt really considered at all thus defaulting to U=12
Sun, Jan 28
Please update the description of the issue so that it's complete, example files and all. That saves people (like me) from having to read through all the comments and from figuring out which files are relevant.
Fri, Jan 26
OK, can confirm both issues
- when importing meshes, then particles --> both are visible, but meshes dont animate anymore
- when importing particles, then meshes --> only particles are visible
It seems that I uploaded a mesh file by mistake.
@hidenori saito (hisai): maybe I am missing the obvious, but the provided zip only contains the foam/particles (HY_Foam01_00000.abc - HY_Foam01_00031.abc)? Where is the mesh part?
Closing this, since it's an upstream Alembic limitation that I can't solve.
Wed, Jan 24
It seems that the bdc file will be output to a separate folder after putting this check in the screen shot.
How about thinking it is irrelevant to this case?
note though that I do get messages like this:
Particles (HY_Foam01_00000.abc - HY_Foam01_00031.abc) seem to be imported correctly - and are animating on my side?
Are you sure you have checked Is Sequence in the Import Alembic options?
Uploaded file simulated with realflow10
could you share the .abc files here please?
Mon, Jan 22
looks like indexed is the way to go (and not directly as an ArrayProperty)?
Jan 21 2018
I re-conducted the import test on Windows 7 downloading the new file I posted.
This does produce working results. However, the result in 2.79 are wrong while the results in 2.78c are correct.
It does look like the original attached file was corrupted on upload somehow? I am re-uploading the same exact file, which does work on both Houdini 16.5.332 and Blender 2.79. I have removed the bad file from the first post.
Jan 19 2018
hm, true, file seems to be currupt, no? abcecho and abcls even crash...
Well, here is what Houdini 16.5 says to the attached .abc file.
I can't load this file neither on linux nor windows, it's also suspiciously small you sure it's not just a corrupt file?
OK, this is from maya (also writes them indexed)
Jan 16 2018
We weren't using the provided index at all. As it turns out that index often just contains the indexed number, i.e. index[i] = i, so in those cases ignoring it was fine. I've implemented a lookup via that index now, and that fixed this issue.
Jan 15 2018
Here's how vertex colours are represented in each of the Alembic exports. Can anyone tell me why Houdini and Maya can see each other's vertex colours, but Blender's aren't visible in Houdini or Maya? Looking at the logs here, is it just as simple as adding a mayaColorSet=1 flag to the Blender compound property on export?
Jan 8 2018
I'm also getting Alembic: color index out of bounds reading face colors for object /Stage/Symbol/paint_1_1/Frames/FrameMesh, property Cd on import.
@Sybren A. Stüvel (sybren) : could you have a look?
I think so, the application is called AnimVR.
Jan 6 2018
Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to archive the report until the requested information is given.
Jan 3 2018
Exactly, this is very useful to be able to use fluids in production via Alembic.
Dec 31 2017
@Sybren A. Stüvel (sybren), this is about motion blur for things like fluid simulation, where a velocity property must be used because the mesh topology changes between frames.
So... how is this going?
Is some alternative to this already implemented in Master, since we can take multiple geometry samples I though something could be already implemented, just asking.