mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-28 20:34:58 +02:00
37e840fa77
- 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
28 lines
361 B
POVRay
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
|
|
}
|
|
}
|