Community
Bifrost Forum
Welcome to the Bifrost Forum. This is the place for artists using Bifrost to ask and answer questions, browse popular topics, and share knowledge about creating effects procedurally using Bifrost. You can also visit the Bifrost Community on AREA to download an array of ready-to-use graphs, read Bifrost news and updates, and find the latest tutorials.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

List of existing "property" names??

14 REPLIES 14
Reply
Message 1 of 15
aaronfross
1754 Views, 14 Replies

List of existing "property" names??

Hi,

 

In the Getting Started video, Matt Chan types in the string "color" into a set_geo_property node.

 

I do not know what properties exist, so I can't know what strings are meaningful for the Property field.

 

In the documentation, I could not find a list of what properties exist. How can I know what my options are?? Are they just the attribute names of the Maya node? I tried to hunt down the string "color" in both the mesh shape and transform node documentation, but came up with nothing.

 

Please help, my mind-reading skills are not sufficient to the task.

14 REPLIES 14
Message 2 of 15

Use a watchpoint. 

 

And there is a help tab with a lot of info in the Parameter Editor. 

----------------------------------------------------------------
https://linktr.ee/cg_oglu
Message 3 of 15

I did use a watchpoint. That only works if the property exists already. If the property has not been added to the graph, the watchpoint can't display it. In order to add the property, I need to know its name.

 

I also checked the Info panel, but there was nothing there to tell me what properties can potentially be added.

 

And here is the extremely helpful information found in that Info panel for set_geo_property:

property
The name of the property.

Well, I'm glad that's cleared up. 😛

Message 4 of 15
joostkonemann
in reply to: aaronfross

I agree it would be helpful to have a list of default properties for a mesh, volume etc. Especially what it takes to create a valid mesh.

 

Though you can make any property you like yourself...

 

--
MacBook Pro 13,3 - 2.7GHz - 16GB - Radeon Pro 460 - macOS Catalina 10.15
Message 5 of 15
aaronfross
in reply to: joostkonemann

It's not just helpful to have a list of default properties... it is absolutely essential.

 

Someone knows this information, but they did not think to tell the users.

Message 6 of 15
wuhailu
in reply to: aaronfross
Message 7 of 15
aaronfross
in reply to: wuhailu

OK, looks like it's in the roadmap somewhere!

Get and Set Property Improvements

Automatically populate a drop-down list with available properties, including type information.

Message 8 of 15

In the meantime, here's a possibly incomplete list:

// Volume DataGeoProperties
voxel_position
voxel_fog_density
voxel_mass_density
voxel_signed_distance
voxel_detail_size

voxel_acceleration
voxel_temperature
voxel_ignition_temperature
voxel_point_radius
voxel_degree_of_freedom
voxel_vorticity
voxel_expansion_rate
voxel_fog_density_signed_distance
voxel_flame_level_set
voxel_combustion_rate
voxel_flame_speed
voxel_refinement
voxel_significance

voxel_fuel
voxel_fuel_propane
voxel_fuel_ethane
voxel_fuel_butane
voxel_fuel_methane
voxel_fuel_propylene
voxel_fuel_propyne
voxel_fuel_propadiene

voxel_gas_carbon_dioxide
voxel_gas_nitrogen
voxel_gas_oxygen
voxel_gas_vapor

// Velocity Data geo porperties...
point_velocity
voxel_velocity
face_velocity
face_vertex_velocity

// Point DataGeoProperties
point_position
point_size
point_color
point_orientation

// Strand DataGeoProperties
strand_offset
point_strand_index
point_tangent
point_ratio

// Mesh DataGeoProperties
face_offset
face_vertex
point_normal
point_size
point_velocity
face_normal
face_vertex_normal
point_uv
face_uv
face_vertex_uv
Message 9 of 15

Thanks for that!!

Message 10 of 15
aaronfross
in reply to: aaronfross

That list of property names, even if it's incomplete, needs to be in the documentation somewhere.

 

Thanks

Message 11 of 15
aaronfross
in reply to: aaronfross

Hey, did the list of reserved property names ever get published? I still need this desperately. Running into super confusing situations where, e.g. colors aren't showing up in the viewport, even though they are showing up in Arnold. Managed to stumble over the solution... the property inside set_geo_property needs to be "color" in order for the viewport to see it. I was trying to disambiguate by using the string "geo_color", which worked in aiUserDataColor, but not in VP 2.0.

 

Really, really, REALLY need a comprehensive list of reserved property names and their functions.

Thanks

Message 12 of 15

...this list is still missing, isn't it?

Message 13 of 15

Actually, for some nodes we now have a dropdown with possible choices. It's not an exhaustive list though; that would be both too many options and not possible because of custom user properties.

 

mortenbojsenhansen_0-1710781146337.png

 

Message 14 of 15
ona.petraityte
in reply to: aaronfross

May not be convenient to read, but Bifrost has a dump_object node, which prints out all data into a .txt file. 

So a structure like this 

onapetraityte_1-1713055395768.png


results in:

{
    detail_size: 0.15 (float)
    next_point_id: 12747 (long)
    physical_material: 1 (char)
    physical_material_int: 1 (int)
    point_age: 
    {
        data: [ ... ] 12747 elements (array<float>)
        default: 0 (float)
        depends_on: [  ] 0 elements (array<string>)
        interp: (unknown data type)
        target: point_component (string)
    }

    point_component: 
    {
        count: 12747 (uint)
    }

    point_dead: 
    {
        data: [ ... ] 12747 elements (array<bool>)
        default: 0 (bool)
        depends_on: [  ] 0 elements (array<string>)
        interp: (unknown data type)
        target: point_component (string)
    }

    ...
}

 

Message 15 of 15

yes...but that lists only existing property names, not all which are reserved for the respective object...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report