Skip to content

[WIP] Emulation of 3D textures#43

Open
izaid wants to merge 2 commits intorohitvarkey:masterfrom
izaid:compressed
Open

[WIP] Emulation of 3D textures#43
izaid wants to merge 2 commits intorohitvarkey:masterfrom
izaid:compressed

Conversation

@izaid
Copy link
Collaborator

@izaid izaid commented Oct 7, 2016

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
Copy link

codecov-io commented Oct 7, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants