POV-Ray : Newsgroups : povray.general : Lens Design: CSG Intersection vs Lathe Object : Re: Lens Design: CSG Intersection vs Lathe Object Server Time
29 Jul 2024 22:30:58 EDT (-0400)
  Re: Lens Design: CSG Intersection vs Lathe Object  
From: AlexLens
Date: 14 Jun 2010 13:20:00
Message: <web.4c1663914fd62214444cd8050@news.povray.org>
> You only provide code for the intersection case. You forgot to provide
> that for the lathe.

> Alain

Thanks for the fast response!
These files take a long time to run so I will try and create a less
computationally intensive case that still illustrates this problem.

In the meantime, here is the lathe code, it's a bit long so I didn't initially
post it:

//--------------------------------BEGINNING OF POV-RAY CODE---------------------
#include "colors.inc"
#include "textures.inc"
#include "glass.inc"

global_settings
{
    photons
    {
        spacing .001
        autostop 0
        media 500
        max_trace_level 2
    }
}


camera
{
      angle 60
      location <20,1,2>
      look_at <0,1,0>


}

//--------------------------------PLANO-CONVEX LENS LATHE-----------------------
lathe
{
  quadratic_spline
   1000,
  <1.000,0.0000000000>,
<0.999,0.0005769655>,
<0.998,0.0011531620>,
<0.997,0.0017285902>,
<0.996,0.0023032509>,
<0.995,0.0028771448>,
<0.994,0.0034502728>,
<0.993,0.0040226356>,
<0.992,0.0045942339>,
<0.991,0.0051650685>,
<0.990,0.0057351401>,
<0.989,0.0063044496>,
<0.988,0.0068729975>,
<0.987,0.0074407848>,
<0.986,0.0080078121>,
<0.985,0.0085740802>,
<0.984,0.0091395898>,
<0.983,0.0097043417>,
<0.982,0.0102683366>,
<0.981,0.0108315752>,
<0.980,0.0113940582>,
<0.979,0.0119557865>,
<0.978,0.0125167606>,
<0.977,0.0130769814>,
<0.976,0.0136364496>,
<0.975,0.0141951659>,
<0.974,0.0147531311>,
<0.973,0.0153103457>,
<0.972,0.0158668106>,
<0.971,0.0164225265>,
<0.970,0.0169774941>,
<0.969,0.0175317141>,
<0.968,0.0180851871>,
<0.967,0.0186379140>,
<0.966,0.0191898955>,
<0.965,0.0197411321>,
<0.964,0.0202916247>,
<0.963,0.0208413739>,
<0.962,0.0213903805>,
<0.961,0.0219386451>,
<0.960,0.0224861684>,
<0.959,0.0230329511>,
<0.958,0.0235789940>,
<0.957,0.0241242976>,
<0.956,0.0246688627>,
<0.955,0.0252126900>,
<0.954,0.0257557802>,
<0.953,0.0262981339>,
<0.952,0.0268397518>,
<0.951,0.0273806347>,
<0.950,0.0279207831>,
<0.949,0.0284601978>,
<0.948,0.0289988794>,
<0.947,0.0295368286>,
<0.946,0.0300740461>,
<0.945,0.0306105326>,
<0.944,0.0311462886>,
<0.943,0.0316813149>,
<0.942,0.0322156122>,
<0.941,0.0327491811>,
<0.940,0.0332820222>,
<0.939,0.0338141363>,
<0.938,0.0343455239>,
<0.937,0.0348761858>,
<0.936,0.0354061226>,
<0.935,0.0359353349>,
<0.934,0.0364638234>,
<0.933,0.0369915888>,
<0.932,0.0375186316>,
<0.931,0.0380449526>,
<0.930,0.0385705523>,
<0.929,0.0390954315>,
<0.928,0.0396195907>,
<0.927,0.0401430306>,
<0.926,0.0406657518>,
<0.925,0.0411877551>,
<0.924,0.0417090409>,
<0.923,0.0422296100>,
<0.922,0.0427494629>,
<0.921,0.0432686003>,
<0.920,0.0437870229>,
<0.919,0.0443047312>,
<0.918,0.0448217258>,
<0.917,0.0453380075>,
<0.916,0.0458535768>,
<0.915,0.0463684343>,
<0.914,0.0468825807>,
<0.913,0.0473960166>,
<0.912,0.0479087425>,
<0.911,0.0484207592>,
<0.910,0.0489320671>,
<0.909,0.0494426670>,
<0.908,0.0499525594>,
<0.907,0.0504617450>,
<0.906,0.0509702243>,
<0.905,0.0514779979>,
<0.904,0.0519850665>,
<0.903,0.0524914307>,
<0.902,0.0529970909>,
<0.901,0.0535020480>,
<0.900,0.0540063024>,
<0.899,0.0545098547>,
<0.898,0.0550127056>,
<0.897,0.0555148556>,
<0.896,0.0560163053>,
<0.895,0.0565170553>,
<0.894,0.0570171062>,
<0.893,0.0575164586>,
<0.892,0.0580151130>,
<0.891,0.0585130701>,
<0.890,0.0590103304>,
<0.889,0.0595068945>,
<0.888,0.0600027631>,
<0.887,0.0604979365>,
<0.886,0.0609924156>,
<0.885,0.0614862007>,
<0.884,0.0619792925>,
<0.883,0.0624716916>,
<0.882,0.0629633985>,
<0.881,0.0634544138>,
<0.880,0.0639447381>,
<0.879,0.0644343719>,
<0.878,0.0649233158>,
<0.877,0.0654115703>,
<0.876,0.0658991361>,
<0.875,0.0663860137>,
<0.874,0.0668722036>,
<0.873,0.0673577064>,
<0.872,0.0678425226>,
<0.871,0.0683266529>,
<0.870,0.0688100977>,
<0.869,0.0692928576>,
<0.868,0.0697749332>,
<0.867,0.0702563250>,
<0.866,0.0707370335>,
<0.865,0.0712170594>,
<0.864,0.0716964031>,
<0.863,0.0721750652>,
<0.862,0.0726530463>,
<0.861,0.0731303468>,
<0.860,0.0736069673>,
<0.859,0.0740829084>,
<0.858,0.0745581706>,
<0.857,0.0750327544>,
<0.856,0.0755066604>,
<0.855,0.0759798891>,
<0.854,0.0764524410>,
<0.853,0.0769243166>,
<0.852,0.0773955166>,
<0.851,0.0778660413>,
<0.850,0.0783358915>,
<0.849,0.0788050674>,
<0.848,0.0792735698>,
<0.847,0.0797413991>,
<0.846,0.0802085558>,
<0.845,0.0806750404>,
<0.844,0.0811408536>,
<0.843,0.0816059957>,
<0.842,0.0820704673>,
<0.841,0.0825342690>,
<0.840,0.0829974012>,
<0.839,0.0834598644>,
<0.838,0.0839216592>,
<0.837,0.0843827860>,
<0.836,0.0848432455>,
<0.835,0.0853030380>,
<0.834,0.0857621641>,
<0.833,0.0862206243>,
<0.832,0.0866784191>,
<0.831,0.0871355490>,
<0.830,0.0875920145>,
<0.829,0.0880478161>,
<0.828,0.0885029543>,
<0.827,0.0889574296>,
<0.826,0.0894112425>,
<0.825,0.0898643935>,
<0.824,0.0903168831>,
<0.823,0.0907687117>,
<0.822,0.0912198800>,
<0.821,0.0916703882>,
<0.820,0.0921202370>,
<0.819,0.0925694269>,
<0.818,0.0930179583>,
<0.817,0.0934658316>,
<0.816,0.0939130475>,
<0.815,0.0943596063>,
<0.814,0.0948055086>,
<0.813,0.0952507548>,
<0.812,0.0956953455>,
<0.811,0.0961392810>,
<0.810,0.0965825619>,
<0.809,0.0970251887>,
<0.808,0.0974671617>,
<0.807,0.0979084816>,
<0.806,0.0983491487>,
<0.805,0.0987891636>,
<0.804,0.0992285267>,
<0.803,0.0996672384>,
<0.802,0.1001052993>,
<0.801,0.1005427098>,
<0.800,0.1009794704>,
<0.799,0.1014155815>,
<0.798,0.1018510437>,
<0.797,0.1022858573>,
<0.796,0.1027200228>,
<0.795,0.1031535407>,
<0.794,0.1035864115>,
<0.793,0.1040186356>,
<0.792,0.1044502134>,
<0.791,0.1048811454>,
<0.790,0.1053114322>,
<0.789,0.1057410740>,
<0.788,0.1061700714>,
<0.787,0.1065984249>,
<0.786,0.1070261348>,
<0.785,0.1074532017>,
<0.784,0.1078796259>,
<0.783,0.1083054080>,
<0.782,0.1087305483>,
<0.781,0.1091550473>,
<0.780,0.1095789055>,
<0.779,0.1100021233>,
<0.778,0.1104247011>,
<0.777,0.1108466394>,
<0.776,0.1112679386>,
<0.775,0.1116885992>,
<0.774,0.1121086215>,
<0.773,0.1125280061>,
<0.772,0.1129467534>,
<0.771,0.1133648638>,
<0.770,0.1137823377>,
<0.769,0.1141991755>,
<0.768,0.1146153777>,
<0.767,0.1150309448>,
<0.766,0.1154458771>,
<0.765,0.1158601751>,
<0.764,0.1162738392>,
<0.763,0.1166868699>,
<0.762,0.1170992675>,
<0.761,0.1175110324>,
<0.760,0.1179221652>,
<0.759,0.1183326662>,
<0.758,0.1187425358>,
<0.757,0.1191517745>,
<0.756,0.1195603827>,
<0.755,0.1199683608>,
<0.754,0.1203757092>,
<0.753,0.1207824283>,
<0.752,0.1211885186>,
<0.751,0.1215939804>,
<0.750,0.1219988142>,
<0.749,0.1224030204>,
<0.748,0.1228065993>,
<0.747,0.1232095515>,
<0.746,0.1236118773>,
<0.745,0.1240135771>,
<0.744,0.1244146513>,
<0.743,0.1248151004>,
<0.742,0.1252149246>,
<0.741,0.1256141245>,
<0.740,0.1260127005>,
<0.739,0.1264106529>,
<0.738,0.1268079821>,
<0.737,0.1272046886>,
<0.736,0.1276007727>,
<0.735,0.1279962348>,
<0.734,0.1283910754>,
<0.733,0.1287852948>,
<0.732,0.1291788935>,
<0.731,0.1295718717>,
<0.730,0.1299642300>,
<0.729,0.1303559686>,
<0.728,0.1307470881>,
<0.727,0.1311375887>,
<0.726,0.1315274709>,
<0.725,0.1319167351>,
<0.724,0.1323053816>,
<0.723,0.1326934108>,
<0.722,0.1330808232>,
<0.721,0.1334676190>,
<0.720,0.1338537988>,
<0.719,0.1342393628>,
<0.718,0.1346243115>,
<0.717,0.1350086452>,
<0.716,0.1353923643>,
<0.715,0.1357754691>,
<0.714,0.1361579602>,
<0.713,0.1365398378>,
<0.712,0.1369211023>,
<0.711,0.1373017541>,
<0.710,0.1376817936>,
<0.709,0.1380612212>,
<0.708,0.1384400371>,
<0.707,0.1388182418>,
<0.706,0.1391958357>,
<0.705,0.1395728191>,
<0.704,0.1399491924>,
<0.703,0.1403249560>,
<0.702,0.1407001102>,
<0.701,0.1410746554>,
<0.700,0.1414485920>,
<0.699,0.1418219202>,
<0.698,0.1421946406>,
<0.697,0.1425667534>,
<0.696,0.1429382591>,
<0.695,0.1433091579>,
<0.694,0.1436794502>,
<0.693,0.1440491365>,
<0.692,0.1444182170>,
<0.691,0.1447866921>,
<0.690,0.1451545621>,
<0.689,0.1455218275>,
<0.688,0.1458884886>,
<0.687,0.1462545457>,
<0.686,0.1466199991>,
<0.685,0.1469848494>,
<0.684,0.1473490967>,
<0.683,0.1477127414>,
<0.682,0.1480757839>,
<0.681,0.1484382246>,
<0.680,0.1488000637>,
<0.679,0.1491613017>,
<0.678,0.1495219388>,
<0.677,0.1498819755>,
<0.676,0.1502414120>,
<0.675,0.1506002488>,
<0.674,0.1509584861>,
<0.673,0.1513161243>,
<0.672,0.1516731637>,
<0.671,0.1520296047>,
<0.670,0.1523854477>,
<0.669,0.1527406928>,
<0.668,0.1530953406>,
<0.667,0.1534493913>,
<0.666,0.1538028453>,
<0.665,0.1541557029>,
<0.664,0.1545079644>,
<0.663,0.1548596302>,
<0.662,0.1552107005>,
<0.661,0.1555611759>,
<0.660,0.1559110565>,
<0.659,0.1562603426>,
<0.658,0.1566090348>,
<0.657,0.1569571331>,
<0.656,0.1573046381>,
<0.655,0.1576515499>,
<0.654,0.1579978691>,
<0.653,0.1583435957>,
<0.652,0.1586887303>,
<0.651,0.1590332731>,
<0.650,0.1593772244>,
<0.649,0.1597205845>,
<0.648,0.1600633539>,
<0.647,0.1604055327>,
<0.646,0.1607471214>,
<0.645,0.1610881202>,
<0.644,0.1614285295>,
<0.643,0.1617683496>,
<0.642,0.1621075807>,
<0.641,0.1624462233>,
<0.640,0.1627842776>,
<0.639,0.1631217439>,
<0.638,0.1634586226>,
<0.637,0.1637949140>,
<0.636,0.1641306184>,
<0.635,0.1644657360>,
<0.634,0.1648002672>,
<0.633,0.1651342124>,
<0.632,0.1654675718>,
<0.631,0.1658003457>,
<0.630,0.1661325345>,
<0.629,0.1664641384>,
<0.628,0.1667951577>,
<0.627,0.1671255929>,
<0.626,0.1674554441>,
<0.625,0.1677847116>,
<0.624,0.1681133959>,
<0.623,0.1684414971>,
<0.622,0.1687690156>,
<0.621,0.1690959516>,
<0.620,0.1694223056>,
<0.619,0.1697480777>,
<0.618,0.1700732683>,
<0.617,0.1703978777>,
<0.616,0.1707219061>,
<0.615,0.1710453540>,
<0.614,0.1713682214>,
<0.613,0.1716905089>,
<0.612,0.1720122166>,
<0.611,0.1723333449>,
<0.610,0.1726538940>,
<0.609,0.1729738642>,
<0.608,0.1732932558>,
<0.607,0.1736120692>,
<0.606,0.1739303046>,
<0.605,0.1742479623>,
<0.604,0.1745650426>,
<0.603,0.1748815457>,
<0.602,0.1751974720>,
<0.601,0.1755128218>,
<0.600,0.1758275953>,
<0.599,0.1761417928>,
<0.598,0.1764554146>,
<0.597,0.1767684610>,
<0.596,0.1770809323>,
<0.595,0.1773928287>,
<0.594,0.1777041505>,
<0.593,0.1780148981>,
<0.592,0.1783250717>,
<0.591,0.1786346715>,
<0.590,0.1789436979>,
<0.589,0.1792521511>,
<0.588,0.1795600315>,
<0.587,0.1798673392>,
<0.586,0.1801740746>,
<0.585,0.1804802379>,
<0.584,0.1807858295>,
<0.583,0.1810908495>,
<0.582,0.1813952983>,
<0.581,0.1816991761>,
<0.580,0.1820024832>,
<0.579,0.1823052199>,
<0.578,0.1826073865>,
<0.577,0.1829089831>,
<0.576,0.1832100102>,
<0.575,0.1835104679>,
<0.574,0.1838103565>,
<0.573,0.1841096763>,
<0.572,0.1844084276>,
<0.571,0.1847066106>,
<0.570,0.1850042255>,
<0.569,0.1853012728>,
<0.568,0.1855977525>,
<0.567,0.1858936650>,
<0.566,0.1861890106>,
<0.565,0.1864837895>,
<0.564,0.1867780019>,
<0.563,0.1870716481>,
<0.562,0.1873647285>,
<0.561,0.1876572432>,
<0.560,0.1879491924>,
<0.559,0.1882405766>,
<0.558,0.1885313958>,
<0.557,0.1888216505>,
<0.556,0.1891113407>,
<0.555,0.1894004669>,
<0.554,0.1896890291>,
<0.553,0.1899770278>,
<0.552,0.1902644631>,
<0.551,0.1905513354>,
<0.550,0.1908376447>,
<0.549,0.1911233915>,
<0.548,0.1914085759>,
<0.547,0.1916931983>,
<0.546,0.1919772588>,
<0.545,0.1922607576>,
<0.544,0.1925436952>,
<0.543,0.1928260716>,
<0.542,0.1931078872>,
<0.541,0.1933891422>,
<0.540,0.1936698368>,
<0.539,0.1939499712>,
<0.538,0.1942295459>,
<0.537,0.1945085608>,
<0.536,0.1947870164>,
<0.535,0.1950649129>,
<0.534,0.1953422504>,
<0.533,0.1956190293>,
<0.532,0.1958952498>,
<0.531,0.1961709120>,
<0.530,0.1964460164>,
<0.529,0.1967205630>,
<0.528,0.1969945522>,
<0.527,0.1972679841>,
<0.526,0.1975408591>,
<0.525,0.1978131773>,
<0.524,0.1980849390>,
<0.523,0.1983561443>,
<0.522,0.1986267937>,
<0.521,0.1988968872>,
<0.520,0.1991664252>,
<0.519,0.1994354078>,
<0.518,0.1997038352>,
<0.517,0.1999717078>,
<0.516,0.2002390258>,
<0.515,0.2005057893>,
<0.514,0.2007719986>,
<0.513,0.2010376539>,
<0.512,0.2013027555>,
<0.511,0.2015673036>,
<0.510,0.2018312985>,
<0.509,0.2020947402>,
<0.508,0.2023576291>,
<0.507,0.2026199655>,
<0.506,0.2028817494>,
<0.505,0.2031429812>,
<0.504,0.2034036610>,
<0.503,0.2036637892>,
<0.502,0.2039233658>,
<0.501,0.2041823912>,
<0.500,0.2044408655>,
<0.499,0.2046987890>,
<0.498,0.2049561620>,
<0.497,0.2052129845>,
<0.496,0.2054692568>,
<0.495,0.2057249793>,
<0.494,0.2059801519>,
<0.493,0.2062347751>,
<0.492,0.2064888490>,
<0.491,0.2067423738>,
<0.490,0.2069953497>,
<0.489,0.2072477770>,
<0.488,0.2074996558>,
<0.487,0.2077509864>,
<0.486,0.2080017690>,
<0.485,0.2082520039>,
<0.484,0.2085016911>,
<0.483,0.2087508309>,
<0.482,0.2089994236>,
<0.481,0.2092474694>,
<0.480,0.2094949684>,
<0.479,0.2097419208>,
<0.478,0.2099883269>,
<0.477,0.2102341870>,
<0.476,0.2104795011>,
<0.475,0.2107242695>,
<0.474,0.2109684924>,
<0.473,0.2112121700>,
<0.472,0.2114553025>,
<0.471,0.2116978902>,
<0.470,0.2119399331>,
<0.469,0.2121814316>,
<0.468,0.2124223859>,
<0.467,0.2126627960>,
<0.466,0.2129026623>,
<0.465,0.2131419849>,
<0.464,0.2133807641>,
<0.463,0.2136190000>,
<0.462,0.2138566928>,
<0.461,0.2140938428>,
<0.460,0.2143304500>,
<0.459,0.2145665149>,
<0.458,0.2148020374>,
<0.457,0.2150370179>,
<0.456,0.2152714565>,
<0.455,0.2155053534>,
<0.454,0.2157387088>,
<0.453,0.2159715229>,
<0.452,0.2162037959>,
<0.451,0.2164355280>,
<0.450,0.2166667194>,
<0.449,0.2168973703>,
<0.448,0.2171274808>,
<0.447,0.2173570512>,
<0.446,0.2175860817>,
<0.445,0.2178145724>,
<0.444,0.2180425235>,
<0.443,0.2182699353>,
<0.442,0.2184968078>,
<0.441,0.2187231414>,
<0.440,0.2189489362>,
<0.439,0.2191741923>,
<0.438,0.2193989099>,
<0.437,0.2196230894>,
<0.436,0.2198467307>,
<0.435,0.2200698342>,
<0.434,0.2202924000>,
<0.433,0.2205144282>,
<0.432,0.2207359191>,
<0.431,0.2209568729>,
<0.430,0.2211772897>,
<0.429,0.2213971697>,
<0.428,0.2216165131>,
<0.427,0.2218353201>,
<0.426,0.2220535909>,
<0.425,0.2222713256>,
<0.424,0.2224885243>,
<0.423,0.2227051874>,
<0.422,0.2229213150>,
<0.421,0.2231369072>,
<0.420,0.2233519642>,
<0.419,0.2235664863>,
<0.418,0.2237804735>,
<0.417,0.2239939261>,
<0.416,0.2242068442>,
<0.415,0.2244192280>,
<0.414,0.2246310777>,
<0.413,0.2248423934>,
<0.412,0.2250531754>,
<0.411,0.2252634237>,
<0.410,0.2254731386>,
<0.409,0.2256823203>,
<0.408,0.2258909689>,
<0.407,0.2260990845>,
<0.406,0.2263066675>,
<0.405,0.2265137178>,
<0.404,0.2267202357>,
<0.403,0.2269262214>,
<0.402,0.2271316750>,
<0.401,0.2273365967>,
<0.400,0.2275409867>,
<0.399,0.2277448450>,
<0.398,0.2279481720>,
<0.397,0.2281509678>,
<0.396,0.2283532324>,
<0.395,0.2285549662>,
<0.394,0.2287561692>,
<0.393,0.2289568416>,
<0.392,0.2291569836>,
<0.391,0.2293565953>,
<0.390,0.2295556769>,
<0.389,0.2297542286>,
<0.388,0.2299522505>,
<0.387,0.2301497428>,
<0.386,0.2303467057>,
<0.385,0.2305431392>,
<0.384,0.2307390436>,
<0.383,0.2309344191>,
<0.382,0.2311292657>,
<0.381,0.2313235836>,
<0.380,0.2315173731>,
<0.379,0.2317106342>,
<0.378,0.2319033670>,
<0.377,0.2320955719>,
<0.376,0.2322872489>,
<0.375,0.2324783981>,
<0.374,0.2326690198>,
<0.373,0.2328591140>,
<0.372,0.2330486810>,
<0.371,0.2332377209>,
<0.370,0.2334262338>,
<0.369,0.2336142198>,
<0.368,0.2338016793>,
<0.367,0.2339886122>,
<0.366,0.2341750187>,
<0.365,0.2343608991>,
<0.364,0.2345462533>,
<0.363,0.2347310817>,
<0.362,0.2349153843>,
<0.361,0.2350991613>,
<0.360,0.2352824128>,
<0.359,0.2354651390>,
<0.358,0.2356473400>,
<0.357,0.2358290160>,
<0.356,0.2360101671>,
<0.355,0.2361907935>,
<0.354,0.2363708952>,
<0.353,0.2365504725>,
<0.352,0.2367295255>,
<0.351,0.2369080544>,
<0.350,0.2370860592>,
<0.349,0.2372635401>,
<0.348,0.2374404973>,
<0.347,0.2376169309>,
<0.346,0.2377928410>,
<0.345,0.2379682279>,
<0.344,0.2381430915>,
<0.343,0.2383174321>,
<0.342,0.2384912498>,
<0.341,0.2386645448>,
<0.340,0.2388373171>,
<0.339,0.2390095670>,
<0.338,0.2391812944>,
<0.337,0.2393524997>,
<0.336,0.2395231829>,
<0.335,0.2396933442>,
<0.334,0.2398629837>,
<0.333,0.2400321014>,
<0.332,0.2402006977>,
<0.331,0.2403687725>,
<0.330,0.2405363261>,
<0.329,0.2407033586>,
<0.328,0.2408698700>,
<0.327,0.2410358606>,
<0.326,0.2412013304>,
<0.325,0.2413662796>,
<0.324,0.2415307084>,
<0.323,0.2416946167>,
<0.322,0.2418580049>,
<0.321,0.2420208730>,
<0.320,0.2421832211>,
<0.319,0.2423450494>,
<0.318,0.2425063580>,
<0.317,0.2426671470>,
<0.316,0.2428274165>,
<0.315,0.2429871667>,
<0.314,0.2431463978>,
<0.313,0.2433051097>,
<0.312,0.2434633027>,
<0.311,0.2436209769>,
<0.310,0.2437781324>,
<0.309,0.2439347693>,
<0.308,0.2440908878>,
<0.307,0.2442464879>,
<0.306,0.2444015698>,
<0.305,0.2445561336>,
<0.304,0.2447101795>,
<0.303,0.2448637075>,
<0.302,0.2450167178>,
<0.301,0.2451692105>,
<0.300,0.2453211858>,
<0.299,0.2454726436>,
<0.298,0.2456235842>,
<0.297,0.2457740077>,
<0.296,0.2459239142>,
<0.295,0.2460733038>,
<0.294,0.2462221766>,
<0.293,0.2463705328>,
<0.292,0.2465183724>,
<0.291,0.2466656956>,
<0.290,0.2468125025>,
<0.289,0.2469587932>,
<0.288,0.2471045678>,
<0.287,0.2472498265>,
<0.286,0.2473945693>,
<0.285,0.2475387964>,
<0.284,0.2476825078>,
<0.283,0.2478257037>,
<0.282,0.2479683843>,
<0.281,0.2481105495>,
<0.280,0.2482521995>,
<0.279,0.2483933345>,
<0.278,0.2485339546>,
<0.277,0.2486740597>,
<0.276,0.2488136502>,
<0.275,0.2489527260>,
<0.274,0.2490912873>,
<0.273,0.2492293342>,
<0.272,0.2493668667>,
<0.271,0.2495038851>,
<0.270,0.2496403894>,
<0.269,0.2497763797>,
<0.268,0.2499118561>,
<0.267,0.2500468187>,
<0.266,0.2501812676>,
<0.265,0.2503152030>,
<0.264,0.2504486250>,
<0.263,0.2505815335>,
<0.262,0.2507139289>,
<0.261,0.2508458110>,
<0.260,0.2509771801>,
<0.259,0.2511080363>,
<0.258,0.2512383796>,
<0.257,0.2513682102>,
<0.256,0.2514975281>,
<0.255,0.2516263335>,
<0.254,0.2517546264>,
<0.253,0.2518824070>,
<0.252,0.2520096754>,
<0.251,0.2521364316>,
<0.250,0.2522626757>,
<0.249,0.2523884079>,
<0.248,0.2525136283>,
<0.247,0.2526383369>,
<0.246,0.2527625338>,
<0.245,0.2528862191>,
<0.244,0.2530093930>,
<0.243,0.2531320555>,
<0.242,0.2532542068>,
<0.241,0.2533758468>,
<0.240,0.2534969758>,
<0.239,0.2536175938>,
<0.238,0.2537377008>,
<0.237,0.2538572971>,
<0.236,0.2539763826>,
<0.235,0.2540949575>,
<0.234,0.2542130218>,
<0.233,0.2543305758>,
<0.232,0.2544476193>,
<0.231,0.2545641526>,
<0.230,0.2546801757>,
<0.229,0.2547956888>,
<0.228,0.2549106918>,
<0.227,0.2550251849>,
<0.226,0.2551391683>,
<0.225,0.2552526418>,
<0.224,0.2553656058>,
<0.223,0.2554780601>,
<0.222,0.2555900051>,
<0.221,0.2557014406>,
<0.220,0.2558123668>,
<0.219,0.2559227838>,
<0.218,0.2560326917>,
<0.217,0.2561420905>,
<0.216,0.2562509804>,
<0.215,0.2563593614>,
<0.214,0.2564672336>,
<0.213,0.2565745971>,
<0.212,0.2566814519>,
<0.211,0.2567877983>,
<0.210,0.2568936361>,
<0.209,0.2569989656>,
<0.208,0.2571037867>,
<0.207,0.2572080997>,
<0.206,0.2573119045>,
<0.205,0.2574152012>,
<0.204,0.2575179899>,
<0.203,0.2576202708>,
<0.202,0.2577220438>,
<0.201,0.2578233091>,
<0.200,0.2579240666>,
<0.199,0.2580243166>,
<0.198,0.2581240591>,
<0.197,0.2582232942>,
<0.196,0.2583220218>,
<0.195,0.2584202422>,
<0.194,0.2585179554>,
<0.193,0.2586151614>,
<0.192,0.2587118604>,
<0.191,0.2588080523>,
<0.190,0.2589037374>,
<0.189,0.2589989156>,
<0.188,0.2590935870>,
<0.187,0.2591877517>,
<0.186,0.2592814098>,
<0.185,0.2593745614>,
<0.184,0.2594672064>,
<0.183,0.2595593450>,
<0.182,0.2596509773>,
<0.181,0.2597421034>,
<0.180,0.2598327232>,
<0.179,0.2599228368>,
<0.178,0.2600124444>,
<0.177,0.2601015460>,
<0.176,0.2601901417>,
<0.175,0.2602782315>,
<0.174,0.2603658155>,
<0.173,0.2604528938>,
<0.172,0.2605394664>,
<0.171,0.2606255334>,
<0.170,0.2607110949>,
<0.169,0.2607961509>,
<0.168,0.2608807015>,
<0.167,0.2609647468>,
<0.166,0.2610482868>,
<0.165,0.2611313216>,
<0.164,0.2612138512>,
<0.163,0.2612958758>,
<0.162,0.2613773953>,
<0.161,0.2614584099>,
<0.160,0.2615389195>,
<0.159,0.2616189244>,
<0.158,0.2616984244>,
<0.157,0.2617774197>,
<0.156,0.2618559104>,
<0.155,0.2619338965>,
<0.154,0.2620113780>,
<0.153,0.2620883551>,
<0.152,0.2621648277>,
<0.151,0.2622407960>,
<0.150,0.2623162599>,
<0.149,0.2623912197>,
<0.148,0.2624656752>,
<0.147,0.2625396266>,
<0.146,0.2626130739>,
<0.145,0.2626860172>,
<0.144,0.2627584565>,
<0.143,0.2628303919>,
<0.142,0.2629018234>,
<0.141,0.2629727512>,
<0.140,0.2630431752>,
<0.139,0.2631130955>,
<0.138,0.2631825121>,
<0.137,0.2632514252>,
<0.136,0.2633198347>,
<0.135,0.2633877407>,
<0.134,0.2634551433>,
<0.133,0.2635220425>,
<0.132,0.2635884384>,
<0.131,0.2636543310>,
<0.130,0.2637197203>,
<0.129,0.2637846065>,
<0.128,0.2638489895>,
<0.127,0.2639128695>,
<0.126,0.2639762464>,
<0.125,0.2640391203>,
<0.124,0.2641014912>,
<0.123,0.2641633593>,
<0.122,0.2642247245>,
<0.121,0.2642855869>,
<0.120,0.2643459466>,
<0.119,0.2644058035>,
<0.118,0.2644651578>,
<0.117,0.2645240095>,
<0.116,0.2645823585>,
<0.115,0.2646402051>,
<0.114,0.2646975491>,
<0.113,0.2647543907>,
<0.112,0.2648107299>,
<0.111,0.2648665668>,
<0.110,0.2649219013>,
<0.109,0.2649767336>,
<0.108,0.2650310636>,
<0.107,0.2650848914>,
<0.106,0.2651382170>,
<0.105,0.2651910406>,
<0.104,0.2652433621>,
<0.103,0.2652951815>,
<0.102,0.2653464989>,
<0.101,0.2653973144>,
<0.100,0.2654476280>,
<0.099,0.2654974397>,
<0.098,0.2655467495>,
<0.097,0.2655955575>,
<0.096,0.2656438638>,
<0.095,0.2656916683>,
<0.094,0.2657389712>,
<0.093,0.2657857723>,
<0.092,0.2658320719>,
<0.091,0.2658778698>,
<0.090,0.2659231662>,
<0.089,0.2659679611>,
<0.088,0.2660122545>,
<0.087,0.2660560464>,
<0.086,0.2660993369>,
<0.085,0.2661421261>,
<0.084,0.2661844138>,
<0.083,0.2662262003>,
<0.082,0.2662674854>,
<0.081,0.2663082693>,
<0.080,0.2663485519>,
<0.079,0.2663883334>,
<0.078,0.2664276136>,
<0.077,0.2664663928>,
<0.076,0.2665046708>,
<0.075,0.2665424477>,
<0.074,0.2665797236>,
<0.073,0.2666164984>,
<0.072,0.2666527723>,
<0.071,0.2666885451>,
<0.070,0.2667238170>,
<0.069,0.2667585880>,
<0.068,0.2667928582>,
<0.067,0.2668266274>,
<0.066,0.2668598958>,
<0.065,0.2668926634>,
<0.064,0.2669249302>,
<0.063,0.2669566962>,
<0.062,0.2669879614>,
<0.061,0.2670187260>,
<0.060,0.2670489898>,
<0.059,0.2670787530>,
<0.058,0.2671080155>,
<0.057,0.2671367774>,
<0.056,0.2671650387>,
<0.055,0.2671927994>,
<0.054,0.2672200595>,
<0.053,0.2672468191>,
<0.052,0.2672730781>,
<0.051,0.2672988367>,
<0.050,0.2673240947>,
<0.049,0.2673488523>,
<0.048,0.2673731095>,
<0.047,0.2673968662>,
<0.046,0.2674201225>,
<0.045,0.2674428783>,
<0.044,0.2674651339>,
<0.043,0.2674868890>,
<0.042,0.2675081438>,
<0.041,0.2675288983>,
<0.040,0.2675491524>,
<0.039,0.2675689063>,
<0.038,0.2675881598>,
<0.037,0.2676069131>,
<0.036,0.2676251662>,
<0.035,0.2676429190>,
<0.034,0.2676601715>,
<0.033,0.2676769239>,
<0.032,0.2676931760>,
<0.031,0.2677089280>,
<0.030,0.2677241798>,
<0.029,0.2677389314>,
<0.028,0.2677531828>,
<0.027,0.2677669341>,
<0.026,0.2677801853>,
<0.025,0.2677929363>,
<0.024,0.2678051872>,
<0.023,0.2678169381>,
<0.022,0.2678281888>,
<0.021,0.2678389394>,
<0.020,0.2678491899>,
<0.019,0.2678589404>,
<0.018,0.2678681908>,
<0.017,0.2678769411>,
<0.016,0.2678851914>,
<0.015,0.2678929416>,
<0.014,0.2679001918>,
<0.013,0.2679069420>,
<0.012,0.2679131921>,
<0.011,0.2679189422>,
<0.010,0.2679241923>,
<0.009,0.2679289423>,
<0.008,0.2679331924>,
<0.007,0.2679369424>,
<0.006,0.2679401924>,
<0.005,0.2679429424>,
<0.004,0.2679451924>,
<0.003,0.2679469424>,
<0.002,0.2679481924>,
<0.001,0.2679489424>

  texture
  {
    pigment {color Clear}
    finish
    {
        ambient 0

        diffuse 0
        specular 0
        roughness 0
        reflection 0

    }

  }
 interior
 {
    ior 1.5
    dispersion 1
    fade_power 0
    fade_distance 0
    fade_color <1,1,1>

 }
 photons
 {
    target
    reflection off
    refraction on
    collect off
 }
hollow
scale 1
sturm

rotate <-90,0,0>
translate <0,1,0>

}


//--------------------------------LIGHT BACK STOP-------------------------------
box
{
    <5,5,.05>,<-5,-5,-.05>
    pigment
    {
        color Black
    }
    finish
    {
    ambient 1
    phong 1
    phong_size .1
    }
    photons
    {
        reflection off
        collect on
    }
translate <0,1,-4.05>
}

//--------------------------------LASER LIGHT GRID------------------------------


#for(j,-.4,.4,.05)
#for(i, -.4,.4,.05)
light_source
{
    <j,1+i,100>
    rgb <1,1,1>
    cylinder
    parallel
    point_at <j,1+i,0>
    //radius 1
    tightness 0
    falloff .005
    photons
    {
        reflection off
        refraction on
    }
}

#end
#end

//--------------------------------SCATTERING MEDIA------------------------------
#declare transparent_with_media = material{
texture {pigment { White filter 1 }}
interior{
media {
method 3
intervals 1
samples 100, 1000
scattering {
1 , rgb 1*<0.1, 0.1, 0.1> // isotropic scattering
extinction 0.000001
}
}
}
}

box { <-100,-10,-100> <100,100,100>
material {transparent_with_media}
hollow
photons
{
    pass_through
}
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.