Skip to content

Instantly share code, notes, and snippets.

@kyleconroy
Created October 5, 2009 07:13
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 kyleconroy/201947 to your computer and use it in GitHub Desktop.
Save kyleconroy/201947 to your computer and use it in GitHub Desktop.
#material name ambient(rgb) diffuse(rgb) specular(rgb) reflection(rgb) power opacity
material rock .1 0 0 .8 .2 .2 .8 .8 .8 0 0 0 32 .5
material paper .1 0 0 .2 .8 .2 .8 .8 .8 0 0 0 32 .5
material scissors .1 0 0 .2 .2 .8 .8 .8 .8 0 0 0 32 .5
#real 5m41.435s
#user 5m26.402s
#sys 0m2.091s
#scene
output blank.png
bgcolor .9 .9 .9
resolution 2
#ul/ll/lr/ur x y z
ul -4 4 -1
ur 4 4 -1
lr 4 -4 -1
ll -4 -4 -1
#height/width pixels
height 500
width 500
#camera x y z
camera 0 0 10
#light point/directional x y z r g b
#light point 1 1 1 .9 .9 .9
#light directional -1 -1 -1 .6 .6 .6
light directional 1 0 -1 .6 .6 .6
light directional -1 -1 -1 .3 .3 .3
#use material
use rock
# current: object path
object obj/teapot.obj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment