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?
thanks
Andrea
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?
thanks
Andrea
If I use set_geo_property_data inside solve_particles it's works.
Is it the right way?
If I use set_geo_property_data inside solve_particles it's works.
Is it the right way?
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.
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.
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
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.