mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-21 21:45:55 +02:00
Corrected aspect ratio, added lateral views, and improved Makefile.
- sfy/Makefile (sben): make a small image, for quick previews - sfy/Makefile (ben): changed size from 1280x900 to 1600x800 - sfy/Makefile (upload): convert ben.png to ben.jpg and upload to http://downloads.qi-hardware.com/people/werner/ben-scans/ben-bottom.jpg - sfy/ben.pov: adjusted camera position and aspect ratio - sfy/ben.pov: added lateral views
This commit is contained in:
parent
03e6a54333
commit
43b3694d7a
14
sfy/Makefile
14
sfy/Makefile
@ -7,7 +7,7 @@ FACE_B=$(DIR)/ben-$(NAME)-$(BOTTOM)-100um.txt.bz2
|
||||
|
||||
.SUFFIXES: .sfy .inc
|
||||
|
||||
.PHONY: new run pov ben clean
|
||||
.PHONY: new run pov sben ben clean
|
||||
|
||||
new:
|
||||
./solidify $(NAME).sfy $(FACE_A) $(FACE_B) $(D)
|
||||
@ -21,9 +21,15 @@ run: $(NAME).sfy
|
||||
pov: $(NAME).pov $(NAME).inc
|
||||
povray +A -P -W1280 -H900 $(NAME).pov
|
||||
|
||||
ben: ben.pov $(PARTS:%=%.inc)
|
||||
povray +A +P -W1280 -H900 ben.pov
|
||||
# povray +A +P -W640 -H480 ben.pov
|
||||
sben: ben.pov $(PARTS:%=%.inc)
|
||||
povray -A +P -W640 -H320 ben.pov
|
||||
|
||||
ben ben.png: ben.pov $(PARTS:%=%.inc)
|
||||
povray +A +P -W1600 -H800 ben.pov
|
||||
|
||||
upload: ben
|
||||
convert ben.png ben.jpg
|
||||
qippl ben.jpg ben-scans
|
||||
|
||||
$(NAME).pov: template.pov
|
||||
sed 's/NAME/$(NAME)/' template.pov >$@ || { rm -f $@; exit 1; }
|
||||
|
23
sfy/ben.pov
23
sfy/ben.pov
@ -19,10 +19,11 @@
|
||||
*/
|
||||
|
||||
camera {
|
||||
location <30, -150, 90>
|
||||
location <30, -920, 300>
|
||||
look_at <0, 20, 20>
|
||||
sky z
|
||||
right -4/3*x
|
||||
right -2/1*x
|
||||
angle 18
|
||||
}
|
||||
|
||||
background { color White }
|
||||
@ -33,7 +34,7 @@ light_source {
|
||||
}
|
||||
|
||||
light_source {
|
||||
<100, -500, 50>
|
||||
<0, -100, 30>
|
||||
color White
|
||||
}
|
||||
|
||||
@ -53,6 +54,7 @@ light_source {
|
||||
ambient 0.5
|
||||
}
|
||||
|
||||
#declare All = union {
|
||||
object {
|
||||
Part_dispshell
|
||||
pigment { rgb <0.8, 0.8, 0.8> }
|
||||
@ -114,3 +116,18 @@ object {
|
||||
rotate <0, 180, 0>
|
||||
translate <0, 0, -30>
|
||||
}
|
||||
}
|
||||
|
||||
object { All }
|
||||
|
||||
object {
|
||||
All
|
||||
rotate <0, 0, 90>
|
||||
translate <-110, 50, 0>
|
||||
}
|
||||
|
||||
object {
|
||||
All
|
||||
rotate <0, 0, -90>
|
||||
translate <110, 50, 0>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user