Export to Alembic with 'Maya' like locators

   15815   9   2
User Avatar
Member
4189 posts
Joined: June 2012
Offline
Quick question on exporting .abc;

What would be Houdini's equivalent to Maya's ‘locator objects’ is when exporting to Alembic?

Apparently when importing Alembic files into Nuke, from Maya, locator objects import as Axis nodes. I'd like to export from Houdini with similar locators.

Thanks!
User Avatar
Member
166 posts
Joined: March 2013
Offline
I have no idea, but importing a Maya locator into Houdini via fbx gives you a Null
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
If you export your scene via (File->Export->Alembic..) and import it in the Maya ,Then you have some empty groups with transformation's data exactly like Locators
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
4189 posts
Joined: June 2012
Offline
Cheers Skybar/Joker386. Looks like Nuke treats Maya locators specially and can break them into Axes.
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Yes, exactly , but there is no problem here ,Because The locators basicaly is a locator shape inside of simple group just to see 3D position in the viewport !
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
4189 posts
Joined: June 2012
Offline
Maybe a checkbox on the Alembic render node that says 'Write Transforms as Maya Locators“ would work.

The Alembic Surface node already has:

”Load Maya Locator
Test for transform nodes which match how Maya saves out locater nodes and load these into Houdini."
User Avatar
Member
4 posts
Joined:
Offline
I know this topic is old, but it is a good one. I need to generate locators for nuke. I can export transform data that will come into maya as an empty group, but nuke can't see them. Needs to be an alembic with out extra manual steps in nuke (off the shelf nuke geoRead node).

Surely there has been some development on this as it would be useful to pass null transform information to maya or nuke or other packages.

Thanks in advance.
User Avatar
Member
76 posts
Joined: Feb. 2017
Offline
robau
I know this topic is old, but it is a good one. I need to generate locators for nuke. I can export transform data that will come into maya as an empty group, but nuke can't see them. Needs to be an alembic with out extra manual steps in nuke (off the shelf nuke geoRead node).

Surely there has been some development on this as it would be useful to pass null transform information to maya or nuke or other packages.

Thanks in advance.

Did you ever find a solution to this? From the nuke documentation, it seems like it should work, but my houdini nulls will not import in nuke as axis or from the readgeo node.
User Avatar
Member
1718 posts
Joined: March 2009
Offline
smbell
From the nuke documentation, it seems like it should work, but my houdini nulls will not import in nuke as axis or from the readgeo node.

It's not nuke's problem (for once), Houdini simply does not export nulls like that. There have been long standing RFEs for this, but so far, it's unsolved.

We work around the problem like this:
- make an empty geo in Houdini, merge all the Nulls' center points into it.
- Export that, read into Nuke via ReadGeo. Now you have a bunch of points in Nuke.
- Using a little python script inside Nuke, loop over the points, grab their position, and create Axes nodes accordingly

for info in nukescripts.snap3d.selectedVertexInfos():
        position = info.position
        axisNode = nuke.nodes.Axis()
        axisNode['translate'].setValue(position)

This works well for markers on maps and stuff like that. Would need to be more elaborate if this has to serve rigging purposes of some kind.
Edited by protozoan - July 16, 2020 08:19:48
Martin Winkler
money man at Alarmstart Germany
User Avatar
Member
11 posts
Joined: Jan. 2015
Offline
If Alembic is not mandatory, FBX works fine for transferring nulls from Houdini to Nuke. You just have to load it into Axis node, which is not super convenient if you have many locators, but I suppose it could be automated.
Edited by Tomek P - June 9, 2023 16:13:34
  • Quick Links