yt-project / yt_idv

Interactive volume rendering for yt
Other
9 stars 6 forks source link

Pack textures and use textureOffset #20

Open matthewturk opened 3 years ago

matthewturk commented 3 years ago

If we were able to guarantee that all of our textures were the same size (which we may be able to, with a small amount of wasted memory, using the existing kdtree) we could utilize textureOffset for our volume rendering.

Alternately, by jamming the octree data in as a single texture, we could pass an index array in and use that. This could build on the work @cphyc did on the octree volume rendering in software for yt.