GlomeTrace-0.3: Ray Tracing Library

Safe HaskellSafe-Inferred

Data.Glome.Spd

Documentation

type SI = SolidItem () (Material ())Source

data BgColor Source

Constructors

BgColor Color 

Instances

accum_rss :: [Camera] -> [Light] -> [SI] -> [BgColor] -> String -> ([Camera], [Light], [SI], [BgColor], String)Source

data SPD Source

Constructors

SPD 

Fields

geom :: SI
 
lights :: [Light]
 
cam :: Camera
 
bground :: Color
 

Instances

Read SPD

Read instance for scenes described in the Neutral File Format (NFF) used by SPD, a collection of standard benchmark scenes put together by Eric Haines. We support most NFF features, but not all.