Re:NASA Data Portal
by david-given on Saturday August 20, 2016 @11:09AM
(#12326919)
Actually, I did build a raytracer. In Ada, of course. https://github.com/davidgiven/flooded-moon/tree/t3-pureada/t...
Rendering the planets themselves was simple enough once I figured out how raymarching worked, but once I started adding volumetric atmospheres with scattering (needed to make clouds and their shadows work), it got complex. Coming up with the optimal arrangement of atmospheric samples and how many subrays to cast got very complex very quickly and while I could make it work, it was never very satisfactory and Povray, with its years of optimisation, was vastly faster.
...although I see now that Mitsuba has had a new release. Hmm.
I don't know if many existing ray tracers, but if you want to build one give me a shout. Rendering spheres with height maps and volumetric covering is am evening or weekend project from scratch once you know what you doing :)