1
0
mirror of git://projects.qi-hardware.com/ben-scans.git synced 2024-11-22 09:10:37 +02:00
ben-scans/sfy/ben.pov
Werner Almesberger 03e6a54333 Solidified the bottom shell.
- sfy/bottom.sfy: assembly of the bottom shell
- sfy/ben.pov: added the "bottom" part
2010-09-27 12:28:31 -03:00

117 lines
1.9 KiB
POVRay

#include "colors.inc"
#include "dispshell.inc"
#include "dispbase.inc"
/* lcdpcb */
/* lcd */
#include "lcdframe.inc"
/* screen */
#include "baseframe.inc"
#include "kbd.inc"
/* pcb */
#include "bottom.inc"
/* battery */
#include "batcvr.inc"
/*
* POV-Ray defaults to a "camera" coordinate system that can be confusing.
* We use a traditional mathematical/engineering view, with a view from
* X-/Y-/Z+ into the X/Y plane.
*/
camera {
location <30, -150, 90>
look_at <0, 20, 20>
sky z
right -4/3*x
}
background { color White }
light_source {
<-200, -300, 200>
color White
}
light_source {
<100, -500, 50>
color White
}
/*
* Mark the coordinate axes:
* - a red unit sphere at the center
* - three green spheres at x = 10*i
* - two blue spheres at y = 10*i
* - one yellow sphere at z = 10
*/
#declare Finish = finish {
brilliance 2
phong 0.8
phong_size 100
metallic
ambient 0.5
}
object {
Part_dispshell
pigment { rgb <0.8, 0.8, 0.8> }
finish { Finish }
rotate <0, 0, 180>
translate <0, 0, 80>
}
object {
Part_dispbase
pigment { rgb <0.25, 0, 0.75> }
finish { Finish }
rotate <0, 0, 180>
translate <0, 0, 70>
}
/* lcdpcb 60 <0.5, 0. 0.5> */
/* lcd 50 <1, 0, 0> */
object {
Part_lcdframe
pigment { rgb <0.75, 0, 0.25> }
finish { Finish }
rotate <180, 0, 0>
translate <0, 0, 40>
}
/* screen 30 <1, 0, 0> */
object {
Part_baseframe
pigment { rgb <0.5, 0.5, 0> }
finish { Finish }
translate <0, 0, 20>
}
object {
Part_kbd
pigment { rgb <0, 1, 0> }
finish { Finish }
translate <0, 0, 10>
}
/* pcb 0 <0, 0.75, 0.25> */
object {
Part_bottom
pigment { rgb <0, 0.5, 0.5> }
finish { Finish }
translate <0, 0, -10>
}
/* battery -20 <0, 0.25, 0.75> */
object {
Part_batcvr
pigment { rgb <0, 0, 1> }
finish { Finish }
rotate <0, 180, 0>
translate <0, 0, -30>
}