scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
64 stars 17 forks source link

Use LUTs instead of scenery colormaps #73

Closed kephale closed 6 years ago

kephale commented 6 years ago

I believe that LUTs can be transferred to scenery by converting the LUT into a GenericTexture, then using material.textures.put("normal","fromBuffer:[transferTextureName]") with transferTextureName as the name of the GenericTexture.

skalarproduktraum commented 6 years ago

I'll make Volume extensible, such that you can add your own transfer functions, also from LUTs.

kephale commented 6 years ago

LUT support was snuck in on this commit/release https://github.com/scenerygraphics/SciView/commit/1ad22d12a67ef88eb4873da8d78baf84685da322