Warning, /frameworks/syntax-highlighting/autotests/input/highlight.pov is written in an unsupported language. File is not indexed.
0001 //BEGIN TEST 0002 // test scene for POV-Ray syntax highlighting 0003 0004 /* test comment */ 0005 0006 /* nested /* comments */ do not work */ 0007 0008 #version 3.5; 0009 //END 0010 global_settings { assumed_gamma 1.0 } 0011 0012 // ---------------------------------------- 0013 0014 camera { 0015 location <5.0, -12.0, 2.0> 0016 up z sky z 0017 look_at <0.0, 0.0, 0.5> 0018 angle 40 0019 } 0020 0021 sky_sphere { 0022 pigment { 0023 gradient z 0024 color_map { 0025 [0.0 rgb <0.6,0.7,1.0>] 0026 [0.2 rgb <0.2,0.3,0.9>] 0027 } 0028 } 0029 } 0030 0031 light_source { 0032 <3, 1, 2>*1000 0033 color rgb <2.2, 1.8, 1.5> 0034 } 0035 0036 // ---------------------------------------- 0037 0038 #declare TEST=0; 0039 0040 #ifdef (TEST) 0041 plane { 0042 z, 0 0043 texture { 0044 pigment { 0045 checker 0046 color rgb 1, color rgb 0 0047 } 0048 } 0049 } 0050 #end 0051 0052 #macro Sphere(Pos, Radius) 0053 sphere { 0054 <Pos.x, Pos.y, Radius*1.3>, Radius 0055 texture { 0056 pigment { color rgb 1 } 0057 finish{ 0058 diffuse 0.3 0059 ambient 0.0 0060 specular 0.6 0061 reflection 0.8 0062 } 0063 } 0064 } 0065 #end 0066 0067 #local Cnt=0; 0068 #local Seed=seed(0); 0069 0070 #while (Cnt<10000) 0071 Sphere( 0072 -100+<rand(Seed), rand(Seed)>*200, 0073 0.3+pow(rand(Seed),2)*0.7 0074 ) 0075 #local Cnt=Cnt+1; 0076 #end