Quantize position of instances on a 3d grid?

merovingio

New member
Is there a way to quantize position of instances in space using nodes? I don't want to use array for this project. I should construct a virtual 3d grid of given measure and make instances positioning (offset) themeselves on this grid.
 

merovingio

New member
Thank you, that helps. Quantize Vector works. I only don't know how to refer to a single instance, "input" in nod einstance has only 3 output, which is ID Index, Fixed Random and Base Position.

I can't figured out how to offset the position of the single instances to stick to this virtual grid.
 

Sensei

TrueArt Support
I have not tried, but if you have Base Position it's raw position before quantization.
Then you pass it to Quantize, and 2nd Const Scalar Steps, output from it is quantized.
Now you should convert it to Offset, if I am not mistaken..
Subtract Base Position from Quantized output (or reverse), should give offset.
 

merovingio

New member
I don't know... is looks like Base Position does not refers to a single instance, but it treat it like all instances togheter. So "quantize" does not work on single instance.
 
Top Bottom