I have a simulation that I have implemented with cuda. I’ve implemented a PBO as well as a VBO to visualize the data. As of now, the PBO implementation outperforms the VBO. But I’m not sure I’ve even implemented the VBO (or PBO) with the most optimal (or logical) configuration.
The Problem: I have a 2D float array with values between 0.0 and 1.0. I would like to visualize this 2D array where each index value in the array is a color.
Before I go on about my current implementations, I’d like to ask the gurus… what kind of PBO/VBO solution would you implement and why?
Logically I would think a vbo, where the data is a color index array. But I have yet to find any examples of this…
Thanks in advance!