-
Notifications
You must be signed in to change notification settings - Fork 0
/
1foto.pov
51 lines (44 loc) · 1.8 KB
/
1foto.pov
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#include "colors.inc"
sky_sphere {pigment {rgb <0.9,0.9,0.9>}}
light_source {<45,30,40> White*2.5}
camera {
perspective
location <80,40,50>//<45,30,40>
look_at <0,0,0>
angle 50
}
#fopen file "./Data/00001.dat" read
#read (file,Var1)
#declare GROSOR = 0.1;
#declare REGION= Var1;
union{
box {<-REGION,-REGION,-REGION>,<REGION,REGION,REGION>
pigment
{rgbf<0.9,0.9,1,1.01>}
finish {reflection {0.03}}
hollow
}
cylinder{<REGION,-REGION,-REGION>, <REGION,REGION,-REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<REGION,REGION,-REGION>, <-REGION,REGION,-REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<-REGION,-REGION,-REGION>, <REGION,-REGION,-REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<-REGION,-REGION,-REGION>, <-REGION,REGION,-REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<REGION,-REGION,-REGION>, <REGION,-REGION,REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<REGION,REGION,-REGION>, <REGION,REGION,REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<REGION,-REGION,REGION>, <REGION,REGION,REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<REGION,REGION,REGION>, <-REGION,REGION,REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<-REGION,-REGION,-REGION>, <-REGION,-REGION,REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<-REGION,-REGION,REGION>, <-REGION,REGION,REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<-REGION,-REGION,REGION>, <REGION,-REGION,REGION>,GROSOR pigment {rgb<1,1,0.1>}}
cylinder{<-REGION,REGION,-REGION>, <-REGION,REGION,REGION>,GROSOR pigment {rgb<1,1,0.1>}}
}
#while (defined(file))
#read (file,Var1)
#read (file,Var2)
#read (file,Var3)
sphere {<Var1,Var3,Var2>,0.5
pigment {rgb</*Var8*/0.25,/*Var9*/0.729,/*Var10*/1>}
finish {phong .2 reflection {.0}}
}
//cylinder{<Var1,Var2,Var3>, <Var4,Var5,Var6>,0.15 pigment {rgbf<0.8,0,0,0.4>}}
#end
#fclose file