Isotropix Forums

Exporting geometry object properties

Clarisse Scripting related topics

Exporting geometry object properties

Unread postby jboissinot » Wed Feb 27, 2019 1:19 am

Hi,

I think properties export is only supported for point clouds from my understanding and what I read, but I just wanted to follow up on this to see if this could be implemented for geometry objects?

Thanks,
Jeremy
jboissinot
 
Posts: 9
Joined: Tue Jan 29, 2019 10:36 pm

Re: Exporting geometry object properties

Unread postby dboude » Wed Feb 27, 2019 10:41 am

Hi,

You can't create properties on meshes in Clarisse. However, if you want to export geometries that have already properties (geometries from imported alembic for example) make sure to check "Transfer source data" in the Alembic export window.

Transfer_Source_Data_Alembic_Export.png
Transfer_Source_Data_Alembic_Export.png (9.63 KiB) Viewed 159 times


Cheers ;)
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 750
Joined: Mon Jul 03, 2017 10:51 am

Re: Exporting geometry object properties

Unread postby anemoff » Wed Feb 27, 2019 10:45 am

Hi,

To complete Démian's answer:

By default, for objects supported for export, Clarisse will only export the properties required to define the geometry: P, N, .faceIndices, .faceCounts, uv, ...

Other properties are only exported in 2 cases:
- If the export option "Transfer Source Data" is enabled and the object being exported is an Alembic object.
- If the object is a Particle Container from Clarisse. You can't edit properties on other Particle objects.

Clarisse attributes can't be exported. But you can fill in a Feature Request.

What would you want to export or achieve?
Anthony Nemoff
Isotropix
R&D Engineer
User avatar
anemoff
 
Posts: 96
Joined: Wed Jan 13, 2016 10:10 am

Re: Exporting geometry object properties

Unread postby jboissinot » Sat Mar 09, 2019 7:58 pm

Hi guys,

Thanks for the info and sorry for the late reply. I'm still analyzing all of this in order to get a better understanding of what our needs will be and I will get back to you once I got more info regarding this.

The goal being that we may aim to export and transfer geometry custom attributes which could be read in other applications like Houdini or Katana for specific needs.

Thanks,
Jeremy
jboissinot
 
Posts: 9
Joined: Tue Jan 29, 2019 10:36 pm

Re: Exporting geometry object properties

Unread postby anemoff » Tue Mar 12, 2019 5:36 pm

Hi Jeremy,

Do you mean standard Clarisse attributes, and maybe Custom Attributes too?
Currently, that's not possible natively. But we have thought about it, along with an improved UI for the export options that lets you type the names of the Clarisse attributes that you want to export to Alembic (similar to the Alembic Export Settings in Maya). It's not on the roadmap for now.

There are 2 existing shelf actions that might interest you if you don't know them already:
- Particle > Bake: this will convert any point cloud to a Particle Container so that you can edit its properties.
- Scattering > Bake Scatterer: this will bake a scatterer and its scattering properties into a Particle Container with the corresponding point properties.
With these two you can bake a Clarisse scatterer and export it to Alembic, for example.

You can take a look at their scripts to see how they work:
- clarisse_path/particle_paint/bake.py
- clarisse_path/scatterer/bake_scatterer.py

What other geometry properties would like to be able to export?

Cheers,
Anthony Nemoff
Isotropix
R&D Engineer
User avatar
anemoff
 
Posts: 96
Joined: Wed Jan 13, 2016 10:10 am

Re: Exporting geometry object properties

Unread postby jboissinot » Mon Mar 18, 2019 2:55 pm

Hi,

I mean custom attributes that we could use to transfer object data between applications. I didn't know about adding custom attributes in Clarisse so thanks for the info Anthony.

Yes I think that having the ability of specifying which attributes we want to export would definitely be very handy indeed.

Thanks,
Jeremy
jboissinot
 
Posts: 9
Joined: Tue Jan 29, 2019 10:36 pm


Return to Scripting