Skip to content

Instantly share code, notes, and snippets.

@jeremyroman
Created November 25, 2012 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyroman/4143929 to your computer and use it in GitHub Desktop.
Save jeremyroman/4143929 to your computer and use it in GitHub Desktop.
(define otherscene (scene (list ; lights
(light '(-100.0 150.0 400.0) '(0.7 0.7 0.7))
(light '(400.0 100.0 150.0) '(0.7 0.0 0.7)))
(list ; primitives
(sphere '(0.0 0.0 15.0) 3.0 mat1)
(sphere '(-3.0 -3.0 15.0) 1.0 mat1)
(sphere '(-5.0 -5.0 15.0) 1.0 mat1)
(sphere '( 7.0 7.0 15.0) 1.0 mat1)
(sphere '(-5.0 3.0 15.0) 1.0 mat1))
'(0.3 0.3 0.3) ; ambient
'(0.0 0.0 0.0) ; camera
'(0.0 0.0 1.0) ; view
'(0.0 -1.0 0.0) ; up
512 512 ; w x h
49.1 ; fov
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment