Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
WIP: Volume rendering & camera changes #612
This PR implements volume rendering. It's basically a port of the technique that I use in Visvis.
This is about ready. There are more things to do, but that can be picked up in another PR. (I added todo items for this in volume.py)
I wish to do more with the camera's, but we should probably discuss this first. Will make a new issue for this.
closes issue #725
Changed the data to the MRI data that is in our demo-data directory. Will also upload the stent volume soon. So you guys can check the render if you want. Note that this is still WIP though ...
One thing that I want to address is improving our camera models and implement a camera that you can fly around ala flight-sim. The current render technique is set up to allow cameras inside the volume, which would be really awesome if we could make it work correctly...
This is finally ready for review. I invite you to try out the new volume example.
Updated: addressed some comments. Also fixed the artifact: that was related to a bug in gloo causing the texture wrapping in z-direction not to be set. I think the most "controversial" changes are related to the cameras. I propose we discuss what to do with that in #647. I can implement a new kind of turntable camera that is closer to the original version, if you want.