Volume Rendering Widget

Media_httpfarm3staticflickrcom273541897493744dc637347fjpg_ubnfedyjxifhtdq

I wrote this widget this evening to edit transfer functions and toss a simulation through them. It's based on the TraitsUI system, which made it super easy to write, and the backend is a software ray caster I wrote. The data is courtesy Dave (my data is up next, but his is good to prototype with) and the rendering (512x512) is in the upper right.

The transfer function has several peaks, but I'm still tweaking how to represent alpha, so they don't all show up very clearly in the image in the upper left.

The UI is still a bit busy, but it's relatively straightforward, and I think it will help with editing and getting a good transfer function. The idea is to prototype it here and then dispatch the full rendering to a batch queue or some off-screen process.

Meta