solstrale

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

README

Go Reference Coverage license CI Go Report Card

Solstråle

A path tracer implemented in Golang.

Examples of output from renderer:

Skärmbild från 2022-04-21 23-14-16

Skärmbild från 2022-04-19 14-13-47

Skärmbild från 2022-04-14 21-02-43

out2

Credits

The ray tracing is mostly based on the excellent Ray Tracing in One Weekend Book Series by Peter Shirley

Documentation

Overview

Package solstrale is the main package for the ray tracer and contains the functions for starting the raytracing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RayTrace

func RayTrace(width, height int, scene *renderer.Scene, output chan<- renderer.RenderProgress, abort <-chan bool)

RayTrace executes the ray tracing with the given scene and reports progress on the output channel. Listens to abort channel for aborting a started ray trace operation

Types

This section is empty.

Directories

Path Synopsis
Package camera provides a camera used by raytracer to shoot rays into the scene
Package camera provides a camera used by raytracer to shoot rays into the scene
cmd
Package geo provides basic geometric constructs
Package geo provides basic geometric constructs
Package hittable provides objects that are hittable by rays shot by the ray tracer.
Package hittable provides objects that are hittable by rays shot by the ray tracer.
internal
Package material provides material and texture related types and functions
Package material provides material and texture related types and functions
Package pdf provides probability density functions
Package pdf provides probability density functions
Package post provides post processor for the rendered image
Package post provides post processor for the rendered image
Package random provides a random number generator to be used by ray tracer.
Package random provides a random number generator to be used by ray tracer.

Jump to

Keyboard shortcuts

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