rohitvarkey / ThreeJS.jl

Julia interface to WebGL using Three-js custom elements and Patchwork.jl
https://rohitvarkey.github.io/ThreeJS.jl
Other
56 stars 15 forks source link

[WIP] Emulation of 3D textures #43

Open izaid opened 8 years ago

izaid commented 8 years ago

The current specification of WebGL doesn't support 3D textures. This PR adds emulated 3D textures, by sending them to the GPU as a 2D texture and providing an appropriate look-up function.

This is based off of work that I and others did in VisPy, see https://github.com/vispy/vispy/blob/73ff8851c005a1c678dbf5879a7dbf3fc2747f9a/vispy/gloo/texture.py

codecov-io commented 8 years ago

Current coverage is 86.17% (diff: 0.00%)

Merging #43 into master will decrease coverage by 0.92%

@@             master        #43   diff @@
==========================================
  Files             3          3          
  Lines            93         94     +1   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits             81         81          
- Misses           12         13     +1   
  Partials          0          0          

Powered by Codecov. Last update 9ea3d75...3ef08ef