Experimental ray tracer written in Luau with Lute. Early stage.
Clone the repository:
git clone https://github.com/prominly/moontrace.git
cd moontraceThis project requires the Lute runtime. You can find the local setup instructions on this Page.
Before rendering the scene, you may want to adjust the sample count. This can be done by passing it as a positional numeric argument when launching the program.
Performance depends on your hardware, but 10 samples per pixel shouldn't take more than a minute at the moment.
the render above took 100 samples per pixel.
Launch:
lute run src/main.luau 10Note: the final image will be in
.ppmformat.
General:
- Ray Tracing in One Weekend
- Ray Tracing: The Next Week
- Ray Tracing: The Rest of Your Life
- Physically Based Rendering
Bounding Volume Hierarchies:
Monte Carlo:
Textures:
Textures:
