Profile Picture

Importing Alembic with Python?

Posted By animagic 7 Years Ago
You don't have permission to rate!
1
2
3

Author
Message
animagic
animagic
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)

Group: Forum Members
Last Active: 3 Weeks Ago
Posts: 15.8K, Visits: 31.4K
I was surprised myself that the function required a target because as you say all the data is already in the Alembic file. That's why I hope someone knowledgeable from RL will see this and pinch in.

I think I have had beginners luck with this one, because I haven't had any success with other imports...:crying:


https://forum.reallusion.com/uploads/images/436b0ffd-1242-44d6-a876-d631.jpg

GOETZIWOOD STUDIOS
GOETZIWOOD STUDIOS
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)

Group: Forum Members
Last Active: 5 Years Ago
Posts: 1.2K, Visits: 7.2K
In fact I think you should not even try to reload an alembic file as an "Avatar".
That make sense because now the Avatar has been "baked" as a static geometry plus animated points cached information.
There is no bones nor rigging involved anymore at this point.
That's may be why you get theses artefacts, the static mesh is being "re-skinned" or something.

--
guy rabiller | GOETZIWOOD STUDIOS
"N.O.E." (Nations Of Earth) Sci-Fi TV Show, Showrunner.

GOETZIWOOD STUDIOS
GOETZIWOOD STUDIOS
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)Distinguished Member (9.2K reputation)

Group: Forum Members
Last Active: 5 Years Ago
Posts: 1.2K, Visits: 7.2K
@animagic
Perhaps it should be loaded into a new spObject that you create from code and add to the scene ?

--
guy rabiller | GOETZIWOOD STUDIOS
"N.O.E." (Nations Of Earth) Sci-Fi TV Show, Showrunner.

MIDI3D
MIDI3D
Posted 7 Years Ago
View Quick Profile
Junior Member

Junior Member (194 reputation)Junior Member (194 reputation)Junior Member (194 reputation)Junior Member (194 reputation)Junior Member (194 reputation)Junior Member (194 reputation)Junior Member (194 reputation)Junior Member (194 reputation)Junior Member (194 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 44, Visits: 2.5K
I agree! It seems like Reallusion does have plans for it to have even gone this far in the development process. iClone 8.0? :) Who knows. (Maybe Peter would be my guess)
This is great news for me to see that you got this far. As you already know, if Alembic import is developed to its full potential in iClone, my little Marvelous Designer issue will be a very small thing to celebrate. In the larger scope of things, we could benefit from Houdini, Maya, 3DS Max , and even Blender or any other program that exports Alembic files as either geometry or particles. Right now, I'm having a blast with the seamless back and forth between C4D and Blender. It's nice to have the ability to at least export Alembic files from both iClone and Daz, but it would be much, much better if we could import as well. Especially in iClone! Thanks animagic for including me on your progress!
animagic
animagic
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)

Group: Forum Members
Last Active: 3 Weeks Ago
Posts: 15.8K, Visits: 31.4K
The documentation is minimal, but spObject is called the target object and must be defined.

To test I created an Alembic file of Gwyn dancing. As I exported an avatar, i figured the target must be an avatar to, so I used the same one.

The assumption is correct and the file does import, but the result is kind of strange. Part of the character is animated and part stays in place:

https://forum.reallusion.com/uploads/images/afe29447-de20-4a43-9b54-eb12.jpg

Obviously, there must be a correct way to do this. What is important is that a point cache can be imported into iClone, so RL may have plans for it somewhere.

EDIT: Also, the animation is only shown when the playhead is moved along the timeline. The animation does not play back.


https://forum.reallusion.com/uploads/images/436b0ffd-1242-44d6-a876-d631.jpg

animagic
animagic
Posted 7 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)

Group: Forum Members
Last Active: 3 Weeks Ago
Posts: 15.8K, Visits: 31.4K
This is a request for clarification regarding an Alembic import function that seems to be part of the API.

RLPy.RFileIO.LoadAlembicFile(spObject, strFilePath, eUpAxis)

My question is what spObject should be set to and what the result of the function is.



https://forum.reallusion.com/uploads/images/436b0ffd-1242-44d6-a876-d631.jpg


1
2
3



Reading This Topic