mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
improved sphere example
This commit is contained in:
parent
84e7cc73c9
commit
0c52c4d941
3 changed files with 7 additions and 5 deletions
|
@ -1,10 +1,11 @@
|
|||
SOURCE = ellipsoid
|
||||
DELAY = 80
|
||||
DENSITY = 300
|
||||
WIDTH = 500
|
||||
HEIGHT = 600
|
||||
WIDTH = 800
|
||||
|
||||
make:
|
||||
povray $(SOURCE).pov
|
||||
povray $(SOURCE).pov Width=$(WIDTH) HEIGHT=$(HEIGHT) +O$(SOURCE).png +Q9 +A
|
||||
make clean
|
||||
|
||||
clean:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "colors.inc"
|
||||
#include "stones.inc"
|
||||
#include "stones.inc" // needed for texture T_Stone1
|
||||
|
||||
camera {
|
||||
location <10, 10, 0>
|
||||
|
@ -13,8 +13,8 @@ plane {
|
|||
|
||||
sphere {
|
||||
<0, 0, 0>, 4 // center and radius
|
||||
pigment { color White }
|
||||
texture {T_Stone1}
|
||||
scale<1,1,1.4>
|
||||
pigment { color Green transmit 0.5 }
|
||||
finish {
|
||||
reflection 0.1
|
||||
phong 0.3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue