Project 8.Required image:![]() Code listing:Program 8 tarredDesign Choices:The method I used for volume rendering was based on the pseudocode that was in the slides. Trilinear interpolation wasn't spelled out in the slides, so I used the standard definition of it from mathworld. The idea is pretty easy. You just interpolate linearly between the eight points that surround the position. I computed the lattice points every time rather than updating them incrementally because I didn't think that it would make that big of a difference in the speed of program. I chose to optimize the method by terminating the accumulating when the opacity reached 0.99. I used 0.99 rather than 0.999 because the images looked the same to me and 0.99 was faster. I also chose not to trace the exit ray if the opacity is over 0.99. Extra Credit:None so far. |