» Map (Value) Advanced
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Map (Value) Advanced

I am from Germany

velcrome, Friday, Dec 6th 2013 Digg | Tweet | Delicious 3 comments  
tonfilm 07/12/2013 - 16:04

the numbers are static... for a fair comparison you need to change the random seed of the input data every frame with a Random node or so...

velcrome 07/12/2013 - 19:54

it is fair this way, try it yourself. did not touch any IsChanged field.

after reading your comment i double checked though and found some issues when spreading funnily. one is related with the buffer.Length not being the same as the SliceCount which i could fix. and another happening if the minimum is bigger than the maximum.

edit: fixed both issues. added some kind of automated test. On my laptop the threshold is also around 250 slices, then the cost of it being a plugin is compensated by its performance (which stems from using modulo only once per slice).

vux 09/12/2013 - 00:00

Please note if pin is not green, random seed does not make any difference ;)

  • 1

anonymous user login

Shoutbox

~3mth ago

joreg: END OF SHOUTBOX! As this page has is now legacy, it will no longer feature new content. For latest news, see: http://vvvv.org

~4mth ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~4mth ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~4mth ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~4mth ago

~4mth ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~4mth ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~4mth ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~5mth ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~5mth ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/