1light1_x =-100.0;
2light1_y =100.0;
3light1_z =100.0;
4light1_vol =50;
5light1_red =255;
6light1_green =255;
7light1_blue =255;
8light2_x =5.773502;
9light2_y =5.773502;
10light2_z =5.773502;
11light2_vol =70;
12light2_red =255;
13light2_green =255;
14light2_blue =255;
15light3_x =0.0;
16light3_y =-100.0;
17light3_z =100.0;
18light3_vol =30;
19light3_red =255;
20light3_green =255;
21light3_blue =255;
22light4_x =0.0;
23light4_y =0.0;
24light4_z =0.0;
25light4_vol =0;
26light4_red =0;
27light4_green =0;
28light4_blue =0;
29light5_x =0.0;
30light5_y =0.0;
31light5_z =0.0;
32light5_vol =0;
33light5_red =0;
34light5_green =0;
35light5_blue =0;
36light6_x =0.0;
37light6_y =0.0;
38light6_z =0.0;
39light6_vol =0;
40light6_red =0;
41light6_green =0;
42light6_blue =0;
43light7_x =0.0;
44light7_y =0.0;
45light7_z =0.0;
46light7_vol =0;
47light7_red =0;
48light7_green =0;
49light7_blue =0;
50light8_x =0.0;
51light8_y =0.0;
52light8_z =0.0;
53light8_vol =0;
54light8_red =0;
55light8_green =0;
56light8_blue =0;
57light9_x =0.0;
58light9_y =0.0;
59light9_z =0.0;
60light9_vol =0;
61light9_red =0;
62light9_green =0;
63light9_blue =0;
64root_finder = d_chain_bisection; epsilon = 0.00000001;
65illumination = ambient_light + diffuse_light + reflected_light + transmitted_light;
66ambient      = 40;
67diffuse      = 80;
68reflected    = 80;
69transmitted  = 20;
70smoothness   = 50;
71transparence = 0;
72thickness = 10;
73antialiasing = 6;
74background_red=86; background_green=73; background_blue=26;
75width=300; height=300;
76rot_x=0.0; rot_y=0.0; rot_z=0.0;
77scale_x=0.3556187766714083; scale_y=0.3556187766714083; scale_z=0.3556187766714083;
78poly xx=z-1+sqrt(2)*x; poly yy=z-1-sqrt(2)*x; poly zz=-(z+1+sqrt(2)*y); poly ww=-(z+1-sqrt(2)*y);
79double PI = 2*arcsin(1);
80// the parameters:
81double p1=1.0;
82p1=sin(PI*p1);
83
84
85// the equations:
86poly f1 = x^2+y^2-1*z^3-1*p1*z^2;
87surface = f1;surface_red = 255;surface_green = 102;surface_blue = 255;inside_red = 255;inside_green = 204;inside_blue = 255;transparence = 0;
88
89
90// the solitary points (shown as spheres):
91
92// the rotation:
93surface=rotate(surface,0.0,yAxis);surface=rotate(surface,0.0,xAxis);surface=rotate(surface,0.0,zAxis);
94surface=rotate(surface,1.0834624855290231,yAxis);surface=rotate(surface,-1.3835481931694011,xAxis);surface=rotate(surface,-1.108735034549833,zAxis);
95clip = 0;
96radius = 10.0;
97
98// the rotation:
99draw_surface;
100
101// the curves:
102
103// save the image:
104filename="/home/labs/mytools/surfex_0_89_07/examples/A2_A1_bg_oliv.jpg";
105color_file_format=jpg;
106save_color_image;
107
108