yt-project / yt_idv

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

Multiple dataset textures #46

Open matthewturk opened 2 years ago

matthewturk commented 2 years ago

It should be straightforward to add an additional field as a sampler3D to the ray tracing shaders.

matthewturk commented 2 years ago

So I'm leaving notes here for the time being until I get into it further. This'll be done in #47.

  1. Need to make sure we can supply multiple fields when adding a source.
  2. Have them all included in the kD-tree
  3. Modify _load_textures to iterate over the entries in the block data, and make the texture_objects a list of lists.