// Calculating the variable 'Hor' in advance is OK // but in 'runtime' it results in strange horizontal lines... // example by Sander Stols #include "stones1.inc" global_settings { assumed_gamma 2.2 } #version unofficial MegaPov 0.5; #declare Res = 4096; //#declare Hor = 21.333; // NO horizontal lines here #declare Hor = Res/1536*7; // horizontal lines here! #declare X = 7739; #declare Y = 1126; camera { //orthographic location right -1920*x up 1440*z look_at orthographic scale <1,1,-1> } light_source{ <12707,500000,11678> color 1 shadowless} prism {linear_sweep linear_spline 0, 1, 75, <8309,-416>, //1 <8309,-167>, <8765,-167>, <8765, 104>, <9082, 104>, //5 <9076, 157>, <9093, 157>, <9093, 180>, <9076, 180>, <9035, 377>, //10 <9035, 415>, <8675, 415>, <8675,1355>, <9158,1355>, <9158,1413>, //15 <9149,1413>, <9149,1609>, <9167,1609>, <9167,1677>, <8924,1677>, //20 <8924,1665>, <8639,1665>, <8639,1691>, <8440,1691>, <8440,1653>, //25 <8101,1648>, <8101,1633>, <7954,1633>, <7954,1607>, <7940,1607>, //30 <7940,1586>, <7954,1586>, <7954,1554>, <7940,1554>, <7940,1510>, //35 <7978,1510>, <8010,1378>, <8106,1126>, <8010, 851>, <7739, 740>, //40 <7468, 851>, <7372,1126>, <7468,1378>, <7500,1510>, <7538,1510>, //45 <7538,1554>, <7521,1554>, <7521,1586>, <7538,1586>, <7538,1607>, //50 <7521,1607>, <7521,1633>, <7389,1633>, <7389,1639>, <7046,1653>, //55 <7040,1691>, <6821,1691>, <6821,1668>, <6581,1668>, <6581,1674>, //60 <6341,1683>, <6332,1615>, <6361,1615>, <6361,1355>, <6815,1355>, //65 <6815, 415>, <6399, 415>, <6320, 157>, <6294, 157>, <6294, 104>, //70 <6715, 104>, <6715,-167>, <7155,-167>, <7155,-416>, <8309,-416> //75 texture{T_Grnt12 scale 200} scale <1,1500,1> translate<-50,0,25> }