DistributedRaytracer

command module
v0.0.0-...-5ed2699 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 1 Imported by: 0

README

DistributedRaytracer

The objective of this project is to create a distributed raytracer service capable of rendering animations. The service will achieve this by splitting the frames of the animation into smaller tasks and distributing them to multiple workers. These workers will render the frames and send them back to the service, which will then combine them to create the final animation.

Design

Design

Example

Example

Build

go build -o raytracer
./raytracer

Usage

To generate a new render and save it to output.png file on local machine, start application and perform a POST request:

curl -X POST http://localhost:8090/render -d '{"width": 800, "height": 400, "raysperpixel": 10, "seed": 2024}' --output output.png

Reference

Documentation

Overview

Simple ray tracer based on the Ray Tracing book series by Peter Shirley

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL