1
0
mirror of git://projects.qi-hardware.com/ben-scans.git synced 2024-11-22 10:40:38 +02:00
ben-scans/solidify/main.pov
Werner Almesberger 37e840fa77 Infrastructure for generating POV-Ray output (not useful yet)
- solidify/Makefile: added solid.o
- solidify/solid.h, solidify.c (height_field, povray): output the part as
  the intersection of two height fields
- solidify/solidify.c (main): generate POV-Ray output if stdout is
  redirected
- solidify/Makefile (run, pov, disp): targets to run a test setup, render
  it, and display the result
- solidify/main.pov: simple scene showing the test part
2010-09-24 06:37:12 -03:00

28 lines
361 B
POVRay

#include "colors.inc"
#include "batcvr.inc"
camera {
location < 2, 2, 3>
look_at < 0, 0, 0>
right -4/3*x
sky x
}
background { color White }
light_source {
< 4, 7, 4>
color White
}
union {
Part
pigment { rgb <0.9, 0.9, 0.9> }
finish {
brilliance 2
phong 0.8
phong_size 100
metallic
}
}