Wednesday, March 28, 2012

Looking Better!

Just as a test, to see if a good output image is possible.
  1. Added fog as an exponential function of ray distance.
  2. Increased maximum steps to eliminate numerical error artifacts.
The output looks nice, but the performance also took a big hit. 

Since more steps produce better results, now I know an area of optimization is definitely in the balance of maximum step number and maximum distance. Something to look into further down the road.

And here's a screenshot.

No comments:

Post a Comment