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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use set_geo_property_data for a property_proxy_field?

Message 1 of 4
336 Views, 3 Replies

How to use set_geo_property_data for a property_proxy_field?

Hi I was trying these days the property_proxy_field.
I thought I could use any property that's happening in simulation as field.
But when I use set_geo_property_data in the simulation doesn't happens anything with the property_proxy_field.
Instead if I use vary_source_property to randomize property it's works.


What am I doing wrong?







Message 2 of 4

If I use set_geo_property_data inside solve_particles it's works.
Is it the right way?



Message 3 of 4
in reply to: andrea_pinto82

I'm not sure exactly what you are trying to do. The proxy field will let you access values for some per particle simulation property, like point_size, point_velocity, or any custom property you may have added through additional_properties. The influence_set_property will set values on any property that is part of the simulation... it will not create properties(for that add a set_property of the initial value and connect to addition_properties on the source). The setting of the geo property downstream of the simulate will work, but you need to make sure that the size of the random array matches the size of the of the geo( get_point_count ). Also if you set the value downstream the values do not feed back into the simulation( though they might be useful for things like rendering ). 


So if you want to add some custom dynamic property, create set_property for it and connect to additional_properties, then to modify each step use influence_set_property (and potentially property_proxy_field nodes to base the value on current simulation properties, including the one added).


Also with the latest version of bifrost the set_property (for the source) can be to a field (will create float property) or a vector field (float3 property), allowing you to better control the initial value at emit time.

Duncan Brinsmead
Senior Principal Developer
Message 4 of 4
in reply to: brinsmeadd

Thanks brinsmeadd for your reply.

Yes, I already did it like you said.


My problem was that I didn't have the property inside the simulation.
Finally I calculate the property inside solve_particles.


I created a force for separation and cohesion



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

Post to forums  

Autodesk Design & Make Report