Hello there. I have recently followed Jos Stam's paper on fluids, Stable Fluids, as well as extending it to 3D but I am having issues actually...rendering it.
I am not sure what the best practise is to actually pass my arrays to the graphics card, for either 2D or 3D. Rendering the fluids for 2D should be as simple as displaying the density field, at least according to Stam, while for 3D I'll need a volume rendering.
I've been searching for a while but none of my Google searches actually seem to be getting me anywhere.