Show HN: Data-viz project for ray-tracing the Moon model
github.com
github.com
Code can run on GCP instance. Laptop/desktop is more convenient, though.
If you'd like to go straight to pictures: https://www.behance.net/gallery/84326717/Making-of-the-Moon
or tutorial: https://medium.com/@sulej.robert/the-moon-made-twice-at-home...
more than anything, though, thanks for introducing me to PlotOptiX! It looks like a great way to plot scientific data in 3D :D
@rcarmo Yes, bumps are enhanced, to make the surface more dramatic. This scale is a parameter in the notebook, it can be set to the realistic 1.15% of the mean radius.
On another forum, someone pointed out that the Lambertian shading makes the Moon surface too smooth. So the diffuse material roughness will come in the next PlotOptiX release, in a few days. :)
As I heard it's based on explicit DOMs.
Have anyone tried X3DOM?
> That gives the elevation spread of about 1.15% of the mean radius. I’ll use a bit higher value of 2%, so the terrain features are more prominent.
All other sources (surface color, star map in the background) are referenced in notebooks, gallery, and tutorial as well.