Hello,
I'm building a digital asset where the user controls and modifies a bar graph, that can have up to 100k bars (the reference image is showing just a basic example).
Each bar is built upon a point whose f@value attribute drives the height of the bar.
The system is already pretty responsive, with almost zero lag, but in order to squeeze even more performance and efficiency, I was wondering if I somehow can pack and instance the bars of the graph?
1) As far as I understand, I cannot use the pscale attribute to scale a primitive only in one dimension, right?
2) So I was wondering if I can pack and instance each bar as full-length primitive and then using some coloring or texturing trick to simulate different heights? Do you have any idea how to accomplish this?
Thanks for any help