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: 

Set color by property compound

Message 1 of 4
614 Views, 3 Replies

Set color by property compound

Created a compound to set point color based on another point property, like point_velocity. Can for instance be useful for coloring mpm particles based on their velocity. Not sure if this already existed in some other compound.


The color can be controlled with three f-curves (RGB) and a master interpolation curve. The input range is determined automatically. For vectors, the length of the vector is used. It may not be foolproof, but it at least works with vector and scalar properties.


Plug in the point geo, define which property to use, set the master and RGB curves and define the value type of the source property.


As we don't have a compound sharing platform yet, I just post it here.


MacBook Pro 13,3 - 2.7GHz - 16GB - Radeon Pro 460 - macOS Catalina 10.15
Message 2 of 4

Thanks for sharing.

Downloading now into my lib.

Message 3 of 4

hi I was wondering how to use this cool json


i tried adding it after my split points by material.  and with and without an assign material  but it didnt seem to work


any ideas what im doing wrong ?


I have point velocity in the property box    I dont know what number goes in the   type box?   do you have a project where its working   or any help much appreciated 

Message 4 of 4

i also tried plugging int o additional properties  and top level geometry 


Im doing something wrong !  

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

Post to forums  

Autodesk Design & Make Report