tiffany

command
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: BSD-2-Clause Imports: 9 Imported by: 0

README

tiffany

This rendering example creates textured objects with Tiffany Blue coloration. It uses bidirectional path tracing to greatly reduce variance (versus standard path tracing). It shows how one might render:

  • Inset ceiling lights
  • Area lights
  • Textures - both hard-coded and image-based

By default, this demo outputs a grainy, low-resolution rendering (which takes a minute or two):

Low-res rendering

Raising the quality and resolution is as simple as modifying these lines:

NumSamples: 200,
MinSamples: 200,

and this line:

img := render3d.NewImage(200, 200)

Simply increase NumSamples to maybe 100000, increase MinSamples to 1000, and increase the resolution from 200x200 to whatever you want. Here's an example HD rendering at 800x800:

High-resolution rendering

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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