Saturday, April 21, 2012

Sphere Test

After much tribulation, I have managed to render a soft sphere! It turns out I had, in my somewhat sleep-deprived state, forgotten to check if I was hitting a zero-density voxel and skipping some computation if I hit a zero-density voxel. Without that check I was rendering very strange looking black cubes with sphere-esque blobs inside them. In any case, I am feeling much better about the state of my project than I was even just a few minutes ago.

1 comment:

  1. Nice work. I'm looking forward to seeing the rendering combined with the simulation. Also include a visualization to show the number of steps each ray takes.

    ReplyDelete