yt-project / yt_idv

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

[WIP] Octree rendering #21

Closed matthewturk closed 2 years ago

matthewturk commented 3 years ago

This is a work-in-progress of getting octrees to be volume rendered.

Right now it's not completely functional, although it's nearing that. It also needs to have the octrees packed into all three dimensions, rather than just along the z dimension of the texture. That'll improve efficiency, and potentially drop the number of instanced renderings to just one in most cases.

matthewturk commented 3 years ago

Still isn't working quite right, but, getting close! I think I've got the texture offsets messed up somehow -- maybe with the ijk ordering or something. I tried to be smart about them, but, seems like there's some room for improvement!

Getting pretty OK frame rates (with wrong results) so that's good.

octree_first

matthewturk commented 2 years ago

This is not yet working, but I want to build on it, and will merge it.