123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>The Vault GUI</title>
- <link rel="stylesheet" href="{{ static_url("style.css") }}">
- <link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
- <!--[if lt IE 9]>
- <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- </head>
- <body>
- <div id="kit-logo"><img src="http://katrin.kit.edu/static/kit_logo.svg" height=100></div>
- <div id="competence-logo"><img src="http://katrin.kit.edu/static/CompetenceE-Logo.png" height=100></div>
- <div id="ipe-logo"><img src="http://katrin.kit.edu/static/IPE-Logo.png" height=100></div>
- <div id="container"></div>
- <!--<div id="slider"></div>-->
- <div id="slider-tooltip"></div>
- <div id="obj-tooltip">Module: </div>
- <div id="val-tooltip">Power: </div>
- <!--<div id="stat-tooltip">Status: </div>-->
- <div class="window-item window-unitem" id="message">
- <div class="bar-header">
- <div class="bar-title noselect">Message Log</div>
-
- <div class="bar-dropdown noselect">^</div>
- <div class="bar-close noselect">×</div>
- </div>
- <div class="bar-message">
- <div class="bar-wrapper" style="height:200px; overflow-y:scroll;">
- </div>
- </div>
- </div>
-
- <div class="window-item window-unitem" id="settings">
- <div class="bar-header">
- <div class="bar-title noselect">Settings</div>
-
- <div class="bar-dropdown noselect">^</div>
- <div class="bar-close noselect">×</div>
- </div>
- <div class="bar-settings">
- <div class="bar-wrapper">
- <div class="bar-setup">
-
- <span class="bl bar-hl">Select modes</span>
- <span class="br bar-info">
- <input type="radio" name="moduleMode" value="0" checked>On/Off<br>
- <input type="radio" name="moduleMode" value="1">Gradient
- </span>
- </div>
-
- <div class="bar-setup">
-
- <span class="bl bar-hl">Show module number</span>
- <span class="br bar-info">
- <input type="checkbox" id="mylabel">
- </span>
- </div>
- <div class="bar-setup">
- <span class="bl bar-hl">Show module type</span>
- <span class="br bar-info">
- <input type="checkbox" id="myType">
- </span>
- </div>
- <div class="bar-setup">
- <span class="bl bar-hl"></span>
- <span class="br bar-info">
- <input type="radio" name="moduleType" value="A">A<br>
- <input type="radio" name="moduleType" value="B">B<br>
- <input type="radio" name="moduleType" value="C">C<br>
- <input type="radio" name="moduleType" value="D">D
- </span>
-
- </div>
- </div>
- </div>
- </div>
-
- <div class="window-item" id="orientation">
- <div class="bar-header">
- <div class="bar-title noselect">Orientation</div>
-
- <div class="bar-dropdown noselect">^</div>
- <div class="bar-close noselect">×</div>
- </div>
- <div class="bar-orientation">
- <canvas class="bar-wrapper" id="compass" width="200" height="180"></canvas>
- </div>
- </div>
-
-
- <div id="window-tab">
- <div id="offMessage" class="noselect bar-pil">Message Log</div>
- <div id="offSettings" class="noselect bar-pil">Settings</div>
- <div id="offOrientation" class="noselect bar-pil">Orientation</div>
- <!--<div id="offSettings" class="noselect bar-pil">Settings</div>-->
- </div>
-
- <div class="window-cp" id="control-panel">
- <div class="bar-header">
- <div id="toggleGUI" class="bar-button noselect">Show/Hide GUI</div>
- <div id="showTabs" class="bar-button noselect">Windows</div>
- <!--<div id="runSimulation" class="bar-button noselect">Run</div>-->
- <!---
- <div id="testTrigger" class="bar-button noselect">Test Trigger</div>
- -->
- </div>
- </div>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
- <script src="{{ static_url("scripts.js") }}"></script>
- <script src="{{ static_url("three.min.js") }}"></script>
- <script src="{{ static_url("Lut.js") }}"></script>
- <script src="{{ static_url("OrbitControls.js") }}"></script>
- <script>
- // Global variable
- var img = null,
- needle = null,
- ctx = null;
- function clearCanvas() {
- // clear canvas
- ctx.clearRect(0, 0, 200, 200);
- }
- function draw(degrees) {
- //console.log("Draw degree");
- //console.log(degrees);
- clearCanvas();
- // Draw the compass onto the canvas
- ctx.drawImage(img, 0, 0);
- // Save the current drawing state
- ctx.save();
- // Now move across and down half the
- ctx.translate(100, 100);
- // Rotate around this point
- ctx.rotate(degrees * (Math.PI / 180));
- // Draw the image back and up
- ctx.drawImage(needle, -100, -100);
- // Restore the previous drawing state
- ctx.restore();
- // Increment the angle of the needle by 5 degrees
- //degrees += 5;
- }
- function imgLoaded() {
- // Image loaded event complete. Start the timer
- draw(myvalue);
- //setInterval(draw, 100);
- }
- function init() {
- // Grab the compass element
- var canvas = document.getElementById('compass');
- // Canvas supported?
- if (canvas.getContext('2d')) {
- ctx = canvas.getContext('2d');
- // Load the needle image
- needle = new Image();
- needle.src = 'http://katrin.kit.edu/static/needle_01.svg';
- // Load the compass image
- img = new Image();
- img.src = 'http://katrin.kit.edu/static/compass_01.svg';
- img.onload = imgLoaded;
- } else {
- alert("Canvas not supported!");
- }
- }
- var myvalue = 0;
- init();
-
-
- </script>
- <!--
- <script src="https://dl.dropboxusercontent.com/u/3587259/Code/Threejs/CSS3DRenderer.js"></script>
- -->
- <script>
- var camera, scene, renderer;
- var container;
- var mycontrol;
- var enableControls = true;
- var enableRotate = false;
- var data = [];
- var labelFlag;
- var raycaster = new THREE.Raycaster();
- var mouse = new THREE.Vector2();
- $("#mylabel").change(function() {
- if(this.checked) {
- labelFlag = true;
- } else {
- labelFlag = false;
- }
- });
-
- function onMouseMove( event ) {
- // calculate mouse position in normalized device coordinates
- // (-1 to +1) for both components
- mouse.x = ( event.clientX / window.innerWidth ) * 2 - 1;
- mouse.y = - ( event.clientY / window.innerHeight ) * 2 + 1;
- }
- init();
- animate();
- window.addEventListener( 'mousemove', onMouseMove, false );
- function createLabel(name) {
- var text2 = document.createElement('div');
- text2.style.position = 'absolute';
- //text2.style.zIndex = 1; // if you still don't see the label, try uncommenting this
- text2.style.fontSize = "12px";
- text2.style.width = 100;
- text2.style.height = 100;
- text2.style.padding = "2px";
- text2.style.backgroundColor = '#303030';
- text2.style.color = '#fff';
- text2.innerHTML = name;
- //text2.style.top = 200 + 'px';
- //text2.style.left = 200 + 'px';
- text2.id = "text"+name;
- document.body.appendChild(text2);
- }
-
- function init() {
- setMessage("3D", "Initialization.");
- scene = new THREE.Scene();
-
- camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 1, 10000);
- camera.position.set(0, 45, 100);
- camera.lookAt(scene.position);
- container = document.getElementById( 'container' );
- document.body.appendChild( container );
- renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });
- //renderer = new THREE.CSS3DRenderer();
- renderer.setSize(window.innerWidth, window.innerHeight);
- renderer.setClearColor( 0xffffff, 0);
- container.appendChild(renderer.domElement);
- mycontrol = new THREE.OrbitControls( camera );
- var size = 40, step = 1;
-
- var geometry = new THREE.Geometry();
- var material = new THREE.LineBasicMaterial({color: 0xe3e3e3, linewidth: 1, fog:true});
- for ( var i = - size; i <= size; i += step ) {
- geometry.vertices.push(new THREE.Vector3( -size, -0.04, i ));
- geometry.vertices.push(new THREE.Vector3( size, -0.04, i ));
-
- geometry.vertices.push(new THREE.Vector3( i, -0.04, -size ));
- geometry.vertices.push(new THREE.Vector3( i, -0.04, size ));
- }
- var line = new THREE.LineSegments( geometry, material );
- scene.add(line);
-
- setMessage("3D", "Added grid plane.");
- /*
- var geometry = new THREE.BoxGeometry( 1, 1, 1 );
- var material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
- var cube = new THREE.Mesh( geometry, material );
- */
-
- var light = new THREE.DirectionalLight( 0xffffff );
- light.position.set( 0, 1, 1 ).normalize();
- scene.add(light);
- setMessage("3D", "Added directional light.");
-
- pv001 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv001.position.set(-18, 0.5, 29);
- pv001.rotateY( Math.PI / 3 );
- pv001.rotateX( Math.PI / 12);
- pv001.name = "2A_15_60e_001_02";
- scene.add(pv001);
- setMessage("3D", "Loaded PV001.");
- createLabel("001");
- pv002 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv002.position.set(-14, 0.5, 30);
- pv002.rotateY( Math.PI / 3 );
- pv002.rotateX( Math.PI / 12);
- pv002.name = "5A_15_60e_002_02";
- scene.add(pv002);
- setMessage("3D", "Loaded PV002.");
- createLabel("002");
- pv003 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv003.position.set(9.5, 0.5, 2);
- pv003.rotateY( Math.PI / 3 );
- pv003.rotateX( Math.PI / 6);
- pv003.name = "6A_30_60e_003_02";
- scene.add(pv003);
- setMessage("3D", "Loaded PV003.");
- createLabel("003");
- pv004 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv004.position.set(6, 0.5, 1);
- pv004.rotateY( Math.PI / 3 );
- pv004.rotateX( Math.PI / 6);
- pv004.name = "1A_30_60e_004_02";
- scene.add(pv004);
- setMessage("3D", "Loaded PV004.");
- createLabel("004");
- pv005 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv005.position.set(-8, 0.5, -3);
- pv005.rotateY( Math.PI / 3 );
- pv005.rotateX( Math.PI / 4);
- pv005.name = "6A_45_60e_005_02";
- scene.add(pv005);
- setMessage("3D", "Loaded PV005.");
- createLabel("005");
- pv006 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv006.position.set(-4.5, 0.5, -2);
- pv006.rotateY( Math.PI / 3 );
- pv006.rotateX( Math.PI / 4);
- pv006.name = "1A_45_60e_006_02";
- scene.add(pv006);
- setMessage("3D", "Loaded PV006.");
- createLabel("006");
- pv007 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv007.position.set(-5, 0.5, -16);
- pv007.rotateY( Math.PI / 3 );
- pv007.rotateX( Math.PI / 3);
- pv007.name = "6C_60_60e_007_02";
- scene.add(pv007);
- setMessage("3D", "Loaded PV007.");
- createLabel("007");
- pv008 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv008.position.set(-7, 0.5, -9);
- pv008.rotateY( Math.PI / 3 );
- pv008.rotateX( Math.PI / 3);
- pv008.name = "1C_60_60e_008_02";
- scene.add(pv008);
- setMessage("3D", "Loaded PV008.");
- createLabel("008");
- pv009 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv009.position.set(13, 0.5, 3);
- pv009.rotateY( Math.PI / 4 );
- pv009.rotateX( Math.PI / 12);
- pv009.name = "2A_15_45e_009_02";
- scene.add(pv009);
- setMessage("3D", "Loaded PV009.");
- createLabel("009");
- pv010 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv010.position.set(18, 0.5, 4);
- pv010.rotateY( Math.PI / 4 );
- pv010.rotateX( Math.PI / 12);
- pv010.name = "1A_15_45e_010_02";
- scene.add(pv010);
- setMessage("3D", "Loaded PV010.");
- createLabel("010");
- pv011 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv011.position.set(3.5, 0.5, -0.5);
- pv011.rotateY( Math.PI / 4 );
- pv011.rotateX( Math.PI / 12);
- pv011.name = "4A_15_45e_011_02";
- scene.add(pv011);
- setMessage("3D", "Loaded PV011.");
- createLabel("011");
- pv012 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv012.position.set(17, 0.5, -1);
- pv012.rotateY( Math.PI / 4 );
- pv012.rotateX( Math.PI / 6);
- pv012.name = "6A_30_45e_012_02";
- scene.add(pv012);
- setMessage("3D", "Loaded PV012.");
- createLabel("012");
- pv013 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv013.position.set(-2, 0.5, -1);
- pv013.rotateY( Math.PI / 4 );
- pv013.rotateX( Math.PI / 6);
- pv013.name = "2A_30_45e_013_02";
- scene.add(pv013);
- setMessage("3D", "Loaded PV013.");
- createLabel("013");
- pv014 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv014.position.set(9, 0.5, -3);
- pv014.rotateY( Math.PI / 4 );
- pv014.rotateX( Math.PI / 4);
- pv014.name = "2A_45_45e_014_02";
- scene.add(pv014);
- setMessage("3D", "Loaded PV014.");
- createLabel("014");
- pv015 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv015.position.set(12.5, 0.5, -2);
- pv015.rotateY( Math.PI / 4 );
- pv015.rotateX( Math.PI / 4);
- pv015.name = "4A_45_45e_015_02";
- scene.add(pv015);
- setMessage("3D", "Loaded PV015.");
- createLabel("015");
- pv016 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv016.position.set(-1, 0.5, -22);
- pv016.rotateY( Math.PI / 4 );
- pv016.rotateX( Math.PI / 3);
- pv016.name = "6A_60_45e_016_02";
- scene.add(pv016);
- setMessage("3D", "Loaded PV016.");
- createLabel("016");
- pv017 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv017.position.set(-2, 0.5, -26);
- pv017.rotateY( Math.PI / 4 );
- pv017.rotateX( Math.PI / 3);
- pv017.name = "2A_60_45e_017_02";
- scene.add(pv017);
- setMessage("3D", "Loaded PV017.");
- createLabel("017");
- pv018 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv018.position.set(-8.5, 0.5, 23);
- pv018.rotateY( Math.PI / 6 );
- pv018.rotateX( Math.PI / 12);
- pv018.name = "3A_15_30e_018_02";
- scene.add(pv018);
- setMessage("3D", "Loaded PV018.");
- createLabel("018");
- pv019 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv019.position.set(-10, 0.5, 26.5);
- pv019.rotateY( Math.PI / 6 );
- pv019.rotateX( Math.PI / 12);
- pv019.name = "1A_15_30e_019_02";
- scene.add(pv019);
- setMessage("3D", "Loaded PV019.");
- createLabel("019");
- pv020 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv020.position.set(6, 0.5, 14);
- pv020.rotateY( Math.PI / 6 );
- pv020.rotateX( Math.PI / 12);
- pv020.name = "1B_15_30e_020_02";
- scene.add(pv020);
- setMessage("3D", "Loaded PV020.");
- createLabel("020");
- pv021 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv021.position.set(12, 0.5, 19);
- pv021.rotateY( Math.PI / 6 );
- pv021.rotateX( Math.PI / 12);
- pv021.name = "1D_15_30e_021_02";
- scene.add(pv021);
- setMessage("3D", "Loaded PV021.");
- createLabel("021");
- pv022 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv022.position.set(6, 0.5, 17);
- pv022.rotateY( Math.PI / 6 );
- pv022.rotateX( Math.PI / 12);
- pv022.name = "1C_15_30e_022_02";
- scene.add(pv022);
- setMessage("3D", "Loaded PV022.");
- createLabel("022");
- pv023 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv023.position.set(9, 0.5, 18);
- pv023.rotateY( Math.PI / 6 );
- pv023.rotateX( Math.PI / 12);
- pv023.name = "5A_15_30e_023_02";
- scene.add(pv023);
- setMessage("3D", "Loaded PV023.");
- createLabel("023");
- pv024 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv024.position.set(-16, 0.5, 24);
- pv024.rotateY( Math.PI / 6 );
- pv024.rotateX( Math.PI / 6);
- pv024.name = "6D_30_30e_024_02";
- scene.add(pv024);
- setMessage("3D", "Loaded PV024.");
- createLabel("024");
- pv025 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv025.position.set(-15, 0.5, 26);
- pv025.rotateY( Math.PI / 6 );
- pv025.rotateX( Math.PI / 6);
- pv025.name = "3D_30_30e_025_02";
- scene.add(pv025);
- setMessage("3D", "Loaded PV025.");
- createLabel("025");
- pv026 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv026.position.set(1.5, 0.5, -7.5);
- pv026.rotateY( Math.PI / 6 );
- pv026.rotateX( Math.PI / 4);
- pv026.name = "6A_45_30e_026_02";
- scene.add(pv026);
- setMessage("3D", "Loaded PV026.");
- createLabel("026");
- pv027 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv027.position.set(-3, 0.5, -8.5);
- pv027.rotateY( Math.PI / 6 );
- pv027.rotateX( Math.PI / 4);
- pv027.name = "3A_45_30e_027_02";
- scene.add(pv027);
- setMessage("3D", "Loaded PV027.");
- createLabel("027");
- pv028 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv028.position.set(3, 0.5, -4.5);
- pv028.rotateY( Math.PI / 6 );
- pv028.rotateX( Math.PI / 4);
- pv028.name = "1A_45_30e_028_02";
- scene.add(pv028);
- setMessage("3D", "Loaded PV028.");
- createLabel("028");
- pv029 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv029.position.set(3, 0.5, -25);
- pv029.rotateY( Math.PI / 6 );
- pv029.rotateX( Math.PI / 3);
- pv029.name = "6A_60_30e_029_02";
- scene.add(pv029);
- setMessage("3D", "Loaded PV029.");
- createLabel("029");
- pv030 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv030.position.set(1, 0.5, -13);
- pv030.rotateY( Math.PI / 6 );
- pv030.rotateX( Math.PI / 3);
- pv030.name = "3A_60_30e_030_02";
- scene.add(pv030);
- setMessage("3D", "Loaded PV030.");
- createLabel("030");
- pv031 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv031.position.set(0, 0.5, -16);
- pv031.rotateY( Math.PI / 6 );
- pv031.rotateX( Math.PI / 3);
- pv031.name = "1A_60_30e_031_02";
- scene.add(pv031);
- setMessage("3D", "Loaded PV031.");
- createLabel("031");
- pv032 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv032.position.set(7, 0.5, 10.5);
- pv032.rotateY( Math.PI / 12 );
- pv032.rotateX( Math.PI / 12);
- pv032.name = "3A_15_15e_032_02";
- scene.add(pv032);
- setMessage("3D", "Loaded PV032.");
- createLabel("032");
- pv033 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv033.position.set(-10, 0.5, 29.5);
- pv033.rotateY( Math.PI / 12 );
- pv033.rotateX( Math.PI / 12);
- pv033.name = "1B_15_15e_033_02";
- scene.add(pv033);
- setMessage("3D", "Loaded PV033.");
- createLabel("033");
-
- pv034 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv034.position.set(-11, 0.5, 31.5);
- pv034.rotateY( Math.PI / 12 );
- pv034.rotateX( Math.PI / 12);
- pv034.name = "4B_15_15e_034_02";
- scene.add(pv034);
- setMessage("3D", "Loaded PV034.");
- createLabel("034");
- pv035 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv035.position.set(-13, 0.5, 19);
- pv035.rotateY( Math.PI / 12 );
- pv035.rotateX( Math.PI / 6);
- pv035.name = "3A_30_15e_035_02";
- scene.add(pv035);
- setMessage("3D", "Loaded PV035.");
- createLabel("035");
- pv036 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv036.position.set(-13, 0.5, 21);
- pv036.rotateY( Math.PI / 12 );
- pv036.rotateX( Math.PI / 6);
- pv036.name = "1A_30_15e_036_02";
- scene.add(pv036);
- setMessage("3D", "Loaded PV036.");
- createLabel("036");
- pv037 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv037.position.set(-7, 0.5, 20);
- pv037.rotateY( Math.PI / 12 );
- pv037.rotateX( Math.PI / 6);
- pv037.name = "5A_30_15e_037_02";
- scene.add(pv037);
- setMessage("3D", "Loaded PV037.");
- createLabel("037");
- pv038 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv038.position.set(8, 0.5, -14);
- pv038.rotateY( Math.PI / 12 );
- pv038.rotateX( Math.PI / 4);
- pv038.name = "3A_45_15e_038_02";
- scene.add(pv038);
- setMessage("3D", "Loaded PV038.");
- createLabel("038");
- pv039 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv039.position.set(8, 0.5, -10);
- pv039.rotateY( Math.PI / 12 );
- pv039.rotateX( Math.PI / 4);
- pv039.name = "1A_45_15e_039_02";
- scene.add(pv039);
- setMessage("3D", "Loaded PV039.");
- createLabel("039");
- pv040 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv040.position.set(9, 0.5, -6.5);
- pv040.rotateY( Math.PI / 12 );
- pv040.rotateX( Math.PI / 4);
- pv040.name = "4A_45_15e_040_02";
- scene.add(pv040);
- setMessage("3D", "Loaded PV040.");
- createLabel("040");
- pv041 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv041.position.set(4, 0.5, -20.5);
- pv041.rotateY( Math.PI / 12 );
- pv041.rotateX( Math.PI / 3);
- pv041.name = "6A_60_15e_041_02";
- scene.add(pv041);
- setMessage("3D", "Loaded PV041.");
- createLabel("041");
- pv042 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv042.position.set(9, 0.5, -22);
- pv042.rotateY( Math.PI / 12 );
- pv042.rotateX( Math.PI / 3);
- pv042.name = "3A_60_15e_042_02";
- scene.add(pv042);
- setMessage("3D", "Loaded PV042.");
- createLabel("042");
- pv043 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv043.position.set(8, 0.5, -17.5);
- pv043.rotateY( Math.PI / 12 );
- pv043.rotateX( Math.PI / 3);
- pv043.name = "1A_60_15e_043_02";
- scene.add(pv043);
- setMessage("3D", "Loaded PV043.");
- createLabel("043");
- pv044 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv044.position.set(2, 0.5, 33);
- pv044.rotateY( Math.PI );
- pv044.rotateX( 11 * Math.PI / 12);
- pv044.name = "3B_15_00s_044_02";
- scene.add(pv044);
- setMessage("3D", "Loaded PV044.");
- createLabel("044");
- pv045 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv045.position.set(5, 0.5, 34.5);
- pv045.rotateY( Math.PI );
- pv045.rotateX( 11 * Math.PI / 12);
- pv045.name = "4B_15_00s_045_02";
- scene.add(pv045);
- setMessage("3D", "Loaded PV045.");
- createLabel("045");
- pv046 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv046.position.set(-1, 0.5, 35);
- pv046.rotateY( Math.PI );
- pv046.rotateX( 89 * Math.PI / 90);
- pv046.name = "6A_02_00s_046_02";
- scene.add(pv046);
- setMessage("3D", "Loaded PV046.");
- createLabel("046");
- pv047 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv047.position.set(3, 0.5, 36);
- pv047.rotateY( Math.PI );
- pv047.rotateX( 89 * Math.PI / 90);
- pv047.name = "2A_02_00s_047_02";
- scene.add(pv047);
- setMessage("3D", "Loaded PV047.");
- createLabel("047");
- pv048 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv048.position.set(6, 0.5, 37);
- pv048.rotateY( Math.PI );
- pv048.rotateX( 89 * Math.PI / 90);
- pv048.name = "1A_02_00s_048_02";
- scene.add(pv048);
- setMessage("3D", "Loaded PV048.");
- createLabel("048");
- pv049 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv049.position.set(-11, 0.5, 14);
- pv049.rotateY( Math.PI );
- pv049.rotateX( 5 * Math.PI / 6);
- pv049.name = "3C_30_00s_049_02";
- scene.add(pv049);
- setMessage("3D", "Loaded PV049.");
- createLabel("049");
- pv050 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv050.position.set(-10.5, 0.5, 11);
- pv050.rotateY( Math.PI );
- pv050.rotateX( 5 * Math.PI / 6);
- pv050.name = "1A_30_00s_050_02";
- scene.add(pv050);
- setMessage("3D", "Loaded PV050.");
- createLabel("050");
- pv051 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv051.position.set(8, 0.5, 7.5);
- pv051.rotateY( Math.PI );
- pv051.rotateX( 5 * Math.PI / 6);
- pv051.name = "1B_30_00s_051_02";
- scene.add(pv051);
- setMessage("3D", "Loaded PV051.");
- createLabel("051");
- pv052 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv052.position.set(-10, 0.5, 8);
- pv052.rotateY( Math.PI );
- pv052.rotateX( 5 * Math.PI / 6);
- pv052.name = "1D_30_00s_052_02";
- scene.add(pv052);
- setMessage("3D", "Loaded PV052.");
- createLabel("052");
- pv053 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv053.position.set(3, 0.5, 25);
- pv053.rotateY( Math.PI );
- pv053.rotateX( 5 * Math.PI / 6);
- pv053.name = "1C_30_00s_053_02";
- scene.add(pv053);
- setMessage("3D", "Loaded PV053.");
- createLabel("053");
- pv054 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv054.position.set(2.5, 0.5, 28);
- pv054.rotateY( Math.PI );
- pv054.rotateX( 5 * Math.PI / 6);
- pv054.name = "4D_30_00s_054_02";
- scene.add(pv054);
- setMessage("3D", "Loaded PV054.");
- createLabel("054");
- pv055 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv055.position.set(15, 0.5, -7);
- pv055.rotateY( Math.PI );
- pv055.rotateX( 3 * Math.PI / 4);
- pv055.name = "3A_45_00s_055_02";
- scene.add(pv055);
- setMessage("3D", "Loaded PV055.");
- createLabel("055");
- pv056 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv056.position.set(15, 0.5, -11);
- pv056.rotateY( Math.PI );
- pv056.rotateX( 3 * Math.PI / 4);
- pv056.name = "4A_45_00s_056_02";
- scene.add(pv056);
- setMessage("3D", "Loaded PV056.");
- createLabel("056");
- pv057 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv057.position.set(9, 0.5, -27.5);
- pv057.rotateY( Math.PI );
- pv057.rotateX( 2 * Math.PI / 3);
- pv057.name = "6A_60_00s_057_02";
- scene.add(pv057);
- setMessage("3D", "Loaded PV057.");
- createLabel("057");
- pv058 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv058.position.set(0, 0.5, -30);
- pv058.rotateY( Math.PI );
- pv058.rotateX( 2 * Math.PI / 3);
- pv058.name = "3A_60_00s_058_02";
- scene.add(pv058);
- setMessage("3D", "Loaded PV058.");
- createLabel("058");
- pv059 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv059.position.set(8, 0.5, 25.5);
- pv059.rotateY( 11 * Math.PI / 12 );
- pv059.rotateX( 11 * Math.PI / 12);
- pv059.name = "3B_15_15w_059_02";
- scene.add(pv059);
- setMessage("3D", "Loaded PV059.");
- createLabel("059");
- pv060 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv060.position.set(2.5, 0.5, 31);
- pv060.rotateY( 11 * Math.PI / 12 );
- pv060.rotateX( 11 * Math.PI / 12);
- pv060.name = "1B_15_15w_060_02";
- scene.add(pv060);
- setMessage("3D", "Loaded PV060.");
- createLabel("060");
- pv061 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv061.position.set(9.5, 0.5, 35.5);
- pv061.rotateY( 11 * Math.PI / 12 );
- pv061.rotateX( 11 * Math.PI / 12);
- pv061.name = "4B_15_15w_061_02";
- scene.add(pv061);
- setMessage("3D", "Loaded PV061.");
- createLabel("061");
- pv062 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv062.position.set(8, 0.5, 22.15);
- pv062.rotateY( 11 * Math.PI / 12 );
- pv062.rotateX( 5 * Math.PI / 6);
- pv062.name = "3A_30_15w_062_02";
- scene.add(pv062);
- setMessage("3D", "Loaded PV062.");
- createLabel("062");
- pv063 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv063.position.set(12.5, 0.5, 23.25);
- pv063.rotateY( 11 * Math.PI / 12 );
- pv063.rotateX( 5 * Math.PI / 6);
- pv063.name = "1A_30_15w_063_02";
- scene.add(pv063);
- setMessage("3D", "Loaded PV063.");
- createLabel("063");
- pv064 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv064.position.set(3.5, 0.5, 21);
- pv064.rotateY( 11 * Math.PI / 12 );
- pv064.rotateX( 5 * Math.PI / 6);
- pv064.name = "5A_30_15w_064_02";
- scene.add(pv064);
- setMessage("3D", "Loaded PV064.");
- createLabel("064");
- pv065 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv065.position.set(16, 0.5, -19);
- pv065.rotateY( 11 * Math.PI / 12 );
- pv065.rotateX( 3 * Math.PI / 4);
- pv065.name = "3A_45_15w_065_02";
- scene.add(pv065);
- setMessage("3D", "Loaded PV065.");
- createLabel("065");
- pv066 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv066.position.set(17, 0.5, -22);
- pv066.rotateY( 11 * Math.PI / 12 );
- pv066.rotateX( 3 * Math.PI / 4);
- pv066.name = "1A_45_15w_066_02";
- scene.add(pv066);
- setMessage("3D", "Loaded PV066.");
- createLabel("066");
- pv067 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv067.position.set(15, 0.5, -15);
- pv067.rotateY( 11 * Math.PI / 12 );
- pv067.rotateX( 3 * Math.PI / 4);
- pv067.name = "4A_45_15w_067_02";
- scene.add(pv067);
- setMessage("3D", "Loaded PV067.");
- createLabel("067");
- pv068 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv068.position.set(15, 0.5, -27);
- pv068.rotateY( 11 * Math.PI / 12 );
- pv068.rotateX( 2 * Math.PI / 3);
- pv068.name = "6A_60_15w_068_02";
- scene.add(pv068);
- setMessage("3D", "Loaded PV068.");
- createLabel("068");
- pv069 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv069.position.set(20, 0.5, -25.75);
- pv069.rotateY( 11 * Math.PI / 12 );
- pv069.rotateX( 2 * Math.PI / 3);
- pv069.name = "3A_60_15w_069_02";
- scene.add(pv069);
- setMessage("3D", "Loaded PV069.");
- createLabel("069");
- pv070 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv070.position.set(25, 0.5, -24.5);
- pv070.rotateY( 11 * Math.PI / 12 );
- pv070.rotateX( 2 * Math.PI / 3);
- pv070.name = "1A_60_15w_070_02";
- scene.add(pv070);
- setMessage("3D", "Loaded PV070.");
- createLabel("070");
- pv071 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv071.position.set(17, 0.5, 25);
- pv071.rotateY( 11 * Math.PI / 6 );
- pv071.rotateX( Math.PI / 12);
- pv071.name = "3A_15_30w_071_02";
- scene.add(pv071);
- setMessage("3D", "Loaded PV071.");
- createLabel("071");
- pv072 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv072.position.set(6.75, 0.5, 32.5);
- pv072.rotateY( 11 * Math.PI / 6 );
- pv072.rotateX( Math.PI / 12);
- pv072.name = "1A_15_30w_072_02";
- scene.add(pv072);
- setMessage("3D", "Loaded PV072.");
- createLabel("072");
- pv073 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv073.position.set(10.5, 0.5, 38.25);
- pv073.rotateY( 11 * Math.PI / 6 );
- pv073.rotateX( Math.PI / 12);
- pv073.name = "1B_15_30w_073_02";
- scene.add(pv073);
- setMessage("3D", "Loaded PV073.");
- createLabel("073");
- pv074 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv074.position.set(12.5, 0.5, 27.5);
- pv074.rotateY( 11 * Math.PI / 6 );
- pv074.rotateX( Math.PI / 12);
- pv074.name = "1D_15_30w_074_02";
- scene.add(pv074);
- setMessage("3D", "Loaded PV074.");
- createLabel("074");
- pv075 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv075.position.set(7.5, 0.5, 29.5);
- pv075.rotateY( 11 * Math.PI / 6 );
- pv075.rotateX( Math.PI / 12);
- pv075.name = "1C_15_30w_075_02";
- scene.add(pv075);
- createLabel("075");
- pv076 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv076.position.set(11, 0.5, 33.5);
- pv076.rotateY( 11 * Math.PI / 6 );
- pv076.rotateX( Math.PI / 12);
- pv076.name = "5D_15_30w_076_02";
- scene.add(pv076);
- setMessage("3D", "Loaded PV076.");
- createLabel("076");
- pv077 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv077.position.set(13, 0.5, 12);
- pv077.rotateY( 11 * Math.PI / 6 );
- pv077.rotateX( Math.PI / 6);
- pv077.name = "6D_30_30w_077_02";
- scene.add(pv077);
- setMessage("3D", "Loaded PV077.");
- createLabel("077");
- pv078 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv078.position.set(12, 0.5, 15);
- pv078.rotateY( 11 * Math.PI / 6 );
- pv078.rotateX( Math.PI / 6);
- pv078.name = "3D_30_30w_078_02";
- scene.add(pv078);
- setMessage("3D", "Loaded PV078.");
- createLabel("078");
- pv079 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv079.position.set(14, 0.5, 9);
- pv079.rotateY( 11 * Math.PI / 6 );
- pv079.rotateX( Math.PI / 6);
- pv079.name = "1D_30_30w_079_02";
- scene.add(pv079);
- setMessage("3D", "Loaded PV079.");
- createLabel("079");
- pv080 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv080.position.set(20, 0.5, -4);
- pv080.rotateY( 11 * Math.PI / 6 );
- pv080.rotateX( Math.PI / 4);
- pv080.name = "3A_45_30w_080_02";
- scene.add(pv080);
- setMessage("3D", "Loaded PV080.");
- createLabel("080");
- pv081 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv081.position.set(21, 0.5, -7);
- pv081.rotateY( 11 * Math.PI / 6 );
- pv081.rotateX( Math.PI / 4);
- pv081.name = "1A_45_30w_081_02";
- scene.add(pv081);
- setMessage("3D", "Loaded PV081.");
- createLabel("081");
- pv082 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv082.position.set(21.5, 0.5, -11);
- pv082.rotateY( 11 * Math.PI / 6 );
- pv082.rotateX( Math.PI / 4);
- pv082.name = "5A_45_30w_082_02";
- scene.add(pv082);
- setMessage("3D", "Loaded PV082.");
- createLabel("082");
- pv083 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv083.position.set(24, 0.5, -21);
- pv083.rotateY( 11 * Math.PI / 6 );
- pv083.rotateX( Math.PI / 3);
- pv083.name = "6A_60_30w_083_02";
- scene.add(pv083);
- setMessage("3D", "Loaded PV083.");
- createLabel("083");
- pv084 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv084.position.set(23, 0.5, -18);
- pv084.rotateY( 11 * Math.PI / 6 );
- pv084.rotateX( Math.PI / 3);
- pv084.name = "3A_60_30w_084_02";
- scene.add(pv084);
- setMessage("3D", "Loaded PV084.");
- createLabel("084");
- pv085 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv085.position.set(23, 0.5, -14);
- pv085.rotateY( 11 * Math.PI / 6 );
- pv085.rotateX( Math.PI / 3);
- pv085.name = "1A_60_30w_085_02";
- scene.add(pv085);
- setMessage("3D", "Loaded PV085.");
- createLabel("085");
- pv086 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv086.position.set(12, 0.5, 30.5);
- pv086.rotateY( 7 * Math.PI / 4 );
- pv086.rotateX( Math.PI / 12);
- pv086.name = "2A_15_45w_086_02";
- scene.add(pv086);
- setMessage("3D", "Loaded PV086.");
- createLabel("086");
- pv087 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv087.position.set(16, 0.5, 30.5);
- pv087.rotateY( 7 * Math.PI / 4 );
- pv087.rotateX( Math.PI / 12);
- pv087.name = "1A_15_45w_087_02";
- scene.add(pv087);
- setMessage("3D", "Loaded PV087.");
- createLabel("087");
- pv088 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv088.position.set(17, 0.5, 27.5);
- pv088.rotateY( 7 * Math.PI / 4 );
- pv088.rotateX( Math.PI / 12);
- pv088.name = "4A_15_45w_088_02";
- scene.add(pv088);
- setMessage("3D", "Loaded PV088.");
- createLabel("088");
- pv089 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv089.position.set(20, 0.5, 11);
- pv089.rotateY( 7 * Math.PI / 4 );
- pv089.rotateX( Math.PI / 6);
- pv089.name = "6A_30_45w_089_02";
- scene.add(pv089);
- setMessage("3D", "Loaded PV089.");
- createLabel("089");
- pv090 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv090.position.set(19, 0.5, 14);
- pv090.rotateY( 7 * Math.PI / 4 );
- pv090.rotateX( Math.PI / 6);
- pv090.name = "2A_30_45w_090_02";
- scene.add(pv090);
- setMessage("3D", "Loaded PV090.");
- createLabel("090");
- pv091 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv091.position.set(29, 0.5, -14);
- pv091.rotateY( 7 * Math.PI / 4 );
- pv091.rotateX( Math.PI / 4);
- pv091.name = "2C_45_45w_091_02";
- scene.add(pv091);
- setMessage("3D", "Loaded PV091.");
- createLabel("091");
- pv092 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv092.position.set(23, 0.5, 7);
- pv092.rotateY( 7 * Math.PI / 4 );
- pv092.rotateX( Math.PI / 4);
- pv092.name = "4C_45_45w_092_02";
- scene.add(pv092);
- setMessage("3D", "Loaded PV092.");
- createLabel("092");
- pv093 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv093.position.set(30, 0.5, -18);
- pv093.rotateY( 7 * Math.PI / 4 );
- pv093.rotateX( Math.PI / 3);
- pv093.name = "6A_60_45w_093_02";
- scene.add(pv093);
- setMessage("3D", "Loaded PV093.");
- createLabel("093");
- pv094 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv094.position.set(30, 0.5, -22);
- pv094.rotateY( 7 * Math.PI / 4 );
- pv094.rotateX( Math.PI / 3);
- pv094.name = "2A_60_45w_094_02";
- scene.add(pv094);
- setMessage("3D", "Loaded PV094.");
- createLabel("094");
- pv095 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv095.position.set(15, 0.5, 34);
- pv095.rotateY( 5 * Math.PI / 3);
- pv095.rotateX( Math.PI / 12);
- pv095.name = "6A_15_60w_095_02";
- scene.add(pv095);
- setMessage("3D", "Loaded PV095.");
- createLabel("095");
- pv096 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv096.position.set(14, 0.5, 37);
- pv096.rotateY( 5 * Math.PI / 3);
- pv096.rotateX( Math.PI / 12);
- pv096.name = "2A_15_60w_096_02";
- scene.add(pv096);
- setMessage("3D", "Loaded PV096.");
- createLabel("096");
- pv097 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv097.position.set(16, 0.5, 20);
- pv097.rotateY( 5 * Math.PI / 3);
- pv097.rotateX( Math.PI / 6);
- pv097.name = "6A_30_60w_097_02";
- scene.add(pv097);
- setMessage("3D", "Loaded PV097.");
- createLabel("097");
- pv098 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv098.position.set(17, 0.5, 17);
- pv098.rotateY( 5 * Math.PI / 3);
- pv098.rotateX( Math.PI / 6);
- pv098.name = "1A_30_60w_098_02";
- scene.add(pv098);
- setMessage("3D", "Loaded PV098.");
- createLabel("098");
- pv099 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv099.position.set(25, 0.5, -1);
- pv099.rotateY( 5 * Math.PI / 3);
- pv099.rotateX( Math.PI / 4);
- pv099.name = "6A_45_60w_099_02";
- scene.add(pv099);
- setMessage("3D", "Loaded PV099.");
- createLabel("099");
- pv100 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv100.position.set(22, 0.5, 2);
- pv100.rotateY( 5 * Math.PI / 3);
- pv100.rotateX( Math.PI / 4);
- pv100.name = "1A_45_60w_100_02";
- scene.add(pv100);
- setMessage("3D", "Loaded PV100.");
- createLabel("100");
- pv101 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv101.position.set(28, 0.5, -10);
- pv101.rotateY( 5 * Math.PI / 3);
- pv101.rotateX( Math.PI / 3);
- pv101.name = "2C_60_60w_101_02";
- scene.add(pv101);
- setMessage("3D", "Loaded PV101.");
- createLabel("101");
- pv102 = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv102.position.set(26, 0.5, -6);
- pv102.rotateY( 5 * Math.PI / 3);
- pv102.rotateX( Math.PI / 3);
- pv102.name = "1C_60_60w_102_02";
- scene.add(pv102);
- setMessage("3D", "Loaded PV102.");
- createLabel("102");
- /* --------------------------------------------------- */
- pv001a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv001a.position.set(-18.418, 0.6, 28.758);
- pv001a.rotateY( Math.PI / 3 );
- pv001a.rotateX( Math.PI / 12);
- pv001a.name = "2A_15_60e_001_01";
- scene.add(pv001a);
- pv002a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv002a.position.set(-14.418, 0.6, 29.758);
- pv002a.rotateY( Math.PI / 3 );
- pv002a.rotateX( Math.PI / 12);
- pv002a.name = "5A_15_60e_002_01";
- scene.add(pv002a);
- pv003a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv003.position.set(9.5, 0.5, 2);
- pv003a.position.set(9.125, 0.7, 1.783);
- pv003a.rotateY( Math.PI / 3 );
- pv003a.rotateX( Math.PI / 6);
- pv003a.name = "6A_30_60e_003_01";
- scene.add(pv003a);
- pv004a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv004.position.set(6, 0.5, 1);
- pv004a.position.set(5.625, 0.7, 0.783);
- pv004a.rotateY( Math.PI / 3 );
- pv004a.rotateX( Math.PI / 6);
- pv004a.name = "1A_30_60e_004_01";
- scene.add(pv004a);
- pv005a = new THREE.Mesh(
- new THREE.CubeGeometry(4, 0.1, 0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv005a.position.set(-8, 0.5, -3);
- pv005a.position.set(-8.375, 0.8, -3.216);
- pv005a.rotateY( Math.PI / 3 );
- pv005a.rotateX( Math.PI / 4);
- pv005a.name = "6A_45_60e_005_01";
- scene.add(pv005a);
- pv006a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv006a.position.set(-4.5, 0.5, -2);
- pv006a.position.set(-4.806, 0.8, -2.177);
- pv006a.rotateY( Math.PI / 3 );
- pv006a.rotateX( Math.PI / 4);
- pv006a.name = "1A_45_60e_006_01";
- scene.add(pv006a);
- pv007a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv007a.position.set(-5, 0.5, -16);
- pv007a.position.set(-5.216, 0.9, -16.125);
- pv007a.rotateY( Math.PI / 3 );
- pv007a.rotateX( Math.PI / 3);
- pv007a.name = "6C_60_60e_007_01";
- scene.add(pv007a);
- pv008a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv008a.position.set(-7, 0.5, -9);
- pv008a.position.set(-7.216, 0.9, -9.125);
- pv008a.rotateY( Math.PI / 3 );
- pv008a.rotateX( Math.PI / 3);
- pv008a.name = "1C_60_60e_008_01";
- scene.add(pv008a);
- pv009a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv009a.position.set(13, 0.5, 3);
- pv009a.position.set(12.658, 0.6, 2.658);
- pv009a.rotateY( Math.PI / 4 );
- pv009a.rotateX( Math.PI / 12);
- pv009a.name = "2A_15_45e_009_01";
- scene.add(pv009a);
- pv010a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv010a.position.set(17.658, 0.6, 3.658);
- pv010a.rotateY( Math.PI / 4 );
- pv010a.rotateX( Math.PI / 12);
- pv010a.name = "1A_15_45e_010_01";
- scene.add(pv010a);
- pv011a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv011a.position.set(3.5, 0.5, -0.5);
- pv011a.position.set(3.158, 0.6, -0.841);
- pv011a.rotateY( Math.PI / 4 );
- pv011a.rotateX( Math.PI / 12);
- pv011a.name = "4A_15_45e_011_01";
- scene.add(pv011a);
- pv012a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv012a.position.set(17, 0.5, -1);
- pv012a.position.set(16.693, 0.7, -1.306);
- pv012a.rotateY( Math.PI / 4 );
- pv012a.rotateX( Math.PI / 6);
- pv012a.name = "6A_30_45e_012_01";
- scene.add(pv012a);
- pv013a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv013a.position.set(-2, 0.5, -1);
- pv013a.position.set(-2.306, 0.7, -1.306);
- pv013a.rotateY( Math.PI / 4 );
- pv013a.rotateX( Math.PI / 6);
- pv013a.name = "2A_30_45e_013_01";
- scene.add(pv013a);
- pv014a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv014a.position.set(9, 0.5, -3);
- pv014a.position.set(8.75, 0.8, -3.25);
- pv014a.rotateY( Math.PI / 4 );
- pv014a.rotateX( Math.PI / 4);
- pv014a.name = "2A_45_45e_014_01";
- scene.add(pv014a);
- pv015a = new THREE.Mesh(
- new THREE.CubeGeometry(4, 0.1,0.5),
- new THREE.MeshPhongMaterial({
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv015a.position.set(12.5, 0.5, -2);
- pv015a.position.set(12.25, 0.8, -2.25);
- pv015a.rotateY( Math.PI / 4 );
- pv015a.rotateX( Math.PI / 4);
- pv015a.name = "4A_45_45e_015_01";
- scene.add(pv015a);
-
- pv016a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv016a.position.set(-1, 0.5, -22);
- pv016a.position.set(-1.176, 0.9, -22.176);
- pv016a.rotateY( Math.PI / 4 );
- pv016a.rotateX( Math.PI / 3);
- pv016a.name = "6A_60_45e_016_01";
- scene.add(pv016a);
- pv017a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv017a.position.set(-2.176, 0.9, -26.176);
- pv017a.rotateY( Math.PI / 4 );
- pv017a.rotateX( Math.PI / 3);
- pv017a.name = "2A_60_45e_017_01";
- scene.add(pv017a);
- pv018a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv018a.position.set(-8.5, 0.5, 23);
- pv018a.position.set(-8.741, 0.6, 22.581);
- pv018a.rotateY( Math.PI / 6 );
- pv018a.rotateX( Math.PI / 12);
- pv018a.name = "3A_15_30e_018_01";
- scene.add(pv018a);
- pv019a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv019a.position.set(-10, 0.5, 26.5);
- pv019a.position.set(-10.241, 0.6, 26.082);
- pv019a.rotateY( Math.PI / 6 );
- pv019a.rotateX( Math.PI / 12);
- pv019a.name = "1A_15_30e_019_01";
- scene.add(pv019a);
- pv020a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv020a.position.set(6, 0.5, 14);
- pv020a.position.set(5.758, 0.6, 13.582);
- pv020a.rotateY( Math.PI / 6 );
- pv020a.rotateX( Math.PI / 12);
- pv020a.name = "1B_15_30e_020_01";
- scene.add(pv020a);
- pv021a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv021a.position.set(12, 0.5, 19);
- pv021a.position.set(11.785, 0.6, 18.582);
- pv021a.rotateY( Math.PI / 6 );
- pv021a.rotateX( Math.PI / 12);
- pv021a.name = "1D_15_30e_021_01";
- scene.add(pv021a);
- pv022a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv022a.position.set(6, 0.5, 17);
- pv022a.position.set(5.758, 0.6, 16.582);
- pv022a.rotateY( Math.PI / 6 );
- pv022a.rotateX( Math.PI / 12);
- pv022a.name = "1C_15_30e_022_01";
- scene.add(pv022a);
- pv023a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv023a.position.set(9, 0.5, 18);
- pv023a.position.set(8.758, 0.6, 17.582);
- pv023a.rotateY( Math.PI / 6 );
- pv023a.rotateX( Math.PI / 12);
- pv023a.name = "5A_15_30e_023_01";
- scene.add(pv023a);
- pv024a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv024a.position.set(-16, 0.5, 24);
- pv024a.position.set(-16.216, 0.7, 23.625);
- pv024a.rotateY( Math.PI / 6 );
- pv024a.rotateX( Math.PI / 6);
- pv024a.name = "6D_30_30e_024_01";
- scene.add(pv024a);
- pv025a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv025a.position.set(-15, 0.5, 26);
- pv025a.position.set(-15.216, 0.7, 25.625);
- pv025a.rotateY( Math.PI / 6 );
- pv025a.rotateX( Math.PI / 6);
- pv025a.name = "3D_30_30e_025_01";
- scene.add(pv025a);
- pv026a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv026a.position.set(1.5, 0.5, -7.5);
- pv026a.position.set(1.323, 0.8, -7.806);
- pv026a.rotateY( Math.PI / 6 );
- pv026a.rotateX( Math.PI / 4);
- pv026a.name = "6A_45_30e_026_01";
- scene.add(pv026a);
-
- pv027a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv027a.position.set(-3, 0.5, -8.5);
- pv027a.position.set(-3.177, 0.8, -8.806);
- pv027a.rotateY( Math.PI / 6 );
- pv027a.rotateX( Math.PI / 4);
- pv027a.name = "3A_45_30e_027_01";
- scene.add(pv027a);
- pv028a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv028a.position.set(3, 0.5, -4.5);
- pv028a.position.set(2.823, 0.8, -4.806);
- pv028a.rotateY( Math.PI / 6 );
- pv028a.rotateX( Math.PI / 4);
- pv028a.name = "1A_45_30e_028_01";
- scene.add(pv028a);
- pv029a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv029a.position.set(3, 0.5, -25);
- pv029a.position.set(2.875, 0.9, -25.216);
- pv029a.rotateY( Math.PI / 6 );
- pv029a.rotateX( Math.PI / 3);
- pv029a.name = "6A_60_30e_029_01";
- scene.add(pv029a);
- pv030a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv030a.position.set(1, 0.5, -13);
- pv030a.position.set(0.875, 0.9, -13.216);
- pv030a.rotateY( Math.PI / 6 );
- pv030a.rotateX( Math.PI / 3);
- pv030a.name = "3A_60_30e_030_01";
- scene.add(pv030a);
- pv031a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv031a.position.set(0, 0.5, -16);
- pv031a.position.set(-0.125, 0.9, -16.216);
- pv031a.rotateY( Math.PI / 6 );
- pv031a.rotateX( Math.PI / 3);
- pv031a.name = "1A_60_30e_031_01";
- scene.add(pv031a);
- pv032a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv032a.position.set(7, 0.5, 10.5);
- pv032a.position.set(6.875, 0.6, 10.033);
- pv032a.rotateY( Math.PI / 12 );
- pv032a.rotateX( Math.PI / 12);
- pv032a.name = "3A_15_15e_032_01";
- scene.add(pv032a);
- pv033a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv033a.position.set(-10, 0.5, 29.5);
- pv033a.position.set(-10.125, 0.6, 29.033);
- pv033a.rotateY( Math.PI / 12 );
- pv033a.rotateX( Math.PI / 12);
- pv033a.name = "1B_15_15e_033_01";
- scene.add(pv033a);
-
- pv034a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv034a.position.set(-11, 0.5, 31.5);
- pv034a.position.set(-11.125, 0.6, 31.033);
- pv034a.rotateY( Math.PI / 12 );
- pv034a.rotateX( Math.PI / 12);
- pv034a.name = "4B_15_15e_034_01";
- scene.add(pv034a);
- pv035a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- //pv035a.position.set(-13, 0.5, 19);
- pv035a.position.set(-13.112, 0.7, 18.582);
- pv035a.rotateY( Math.PI / 12 );
- pv035a.rotateX( Math.PI / 6);
- pv035a.name = "3A_30_15e_035_01";
- scene.add(pv035a);
- pv036a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv036a.position.set(-13.112, 0.7, 20.582);
- pv036a.rotateY( Math.PI / 12 );
- pv036a.rotateX( Math.PI / 6);
- pv036a.name = "1A_30_15e_036_01";
- scene.add(pv036a);
- pv037a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv037a.position.set(-7.112, 0.7, 19.582);
- pv037a.rotateY( Math.PI / 12 );
- pv037a.rotateX( Math.PI / 6);
- pv037a.name = "5A_30_15e_037_01";
- scene.add(pv037a);
- pv038a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv038a.position.set(7.908, 0.8, -14.342);
- pv038a.rotateY( Math.PI / 12 );
- pv038a.rotateX( Math.PI / 4);
- pv038a.name = "3A_45_15e_038_01";
- scene.add(pv038a);
- pv039a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv039a.position.set(7.908, 0.8, -10.342);
- pv039a.rotateY( Math.PI / 12 );
- pv039a.rotateX( Math.PI / 4);
- pv039a.name = "1A_45_15e_039_01";
- scene.add(pv039a);
- pv040a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv040a.position.set(8.908, 0.8, -6.842);
- pv040a.rotateY( Math.PI / 12 );
- pv040a.rotateX( Math.PI / 4);
- pv040a.name = "4A_45_15e_040_01";
- scene.add(pv040a);
- pv041a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv041a.position.set(3.935, 0.9, -20.741);
- pv041a.rotateY( Math.PI / 12 );
- pv041a.rotateX( Math.PI / 3);
- pv041a.name = "6A_60_15e_041_01";
- scene.add(pv041a);
- pv042a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv042a.position.set(8.935, 0.9, -22.241);
- pv042a.rotateY( Math.PI / 12 );
- pv042a.rotateX( Math.PI / 3);
- pv042a.name = "3A_60_15e_042_01";
- scene.add(pv042a);
- pv043a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv043a.position.set(7.935, 0.9, -17.741);
- pv043a.rotateY( Math.PI / 12 );
- pv043a.rotateX( Math.PI / 3);
- pv043a.name = "1A_60_15e_043_01";
- scene.add(pv043a);
- pv044a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv044a.position.set(2.000, 0.6, 32.517);
- pv044a.rotateY( Math.PI );
- pv044a.rotateX( 11 * Math.PI / 12);
- pv044a.name = "3B_15_00s_044_01";
- scene.add(pv044a);
- pv045a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv045a.position.set(5.000, 0.6, 34.017);
- pv045a.rotateY( Math.PI );
- pv045a.rotateX( 11 * Math.PI / 12);
- pv045a.name = "4B_15_00s_045_01";
- scene.add(pv045a);
- pv046a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv046a.position.set(-1.000, 0.5, 34.500);
- pv046a.rotateY( Math.PI );
- pv046a.rotateX( 89 * Math.PI / 90);
- pv046a.name = "6A_02_00s_046_01";
- scene.add(pv046a);
- pv047a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv047a.position.set(3.000, 0.5, 35.500);
- pv047a.rotateY( Math.PI );
- pv047a.rotateX( 89 * Math.PI / 90);
- pv047a.name = "2A_02_00s_047_01";
- scene.add(pv047a);
- pv048a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv048a.position.set(6.000, 0.5, 36.500);
- pv048a.rotateY( Math.PI );
- pv048a.rotateX( 89 * Math.PI / 90);
- pv048a.name = "1A_02_00s_048_01";
- scene.add(pv048a);
- pv049a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv049a.position.set(-11.000, 0.7, 13.567);
- pv049a.rotateY( Math.PI );
- pv049a.rotateX( 5 * Math.PI / 6);
- pv049a.name = "3C_30_00s_049_01";
- scene.add(pv049a);
- pv050a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv050a.position.set(-10.500, 0.7, 10.567);
- pv050a.rotateY( Math.PI );
- pv050a.rotateX( 5 * Math.PI / 6);
- pv050a.name = "1A_30_00s_050_01";
- scene.add(pv050a);
- pv051a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv051a.position.set(8.000, 0.7, 7.067);
- pv051a.rotateY( Math.PI );
- pv051a.rotateX( 5 * Math.PI / 6);
- pv051a.name = "1B_30_00s_051_01";
- scene.add(pv051a);
- pv052a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv052a.position.set(-10.000, 0.7, 7.567);
- pv052a.rotateY( Math.PI );
- pv052a.rotateX( 5 * Math.PI / 6);
- pv052a.name = "1D_30_00s_052_01";
- scene.add(pv052a);
- pv053a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv053a.position.set(3.000, 0.7, 24.567);
- pv053a.rotateY( Math.PI );
- pv053a.rotateX( 5 * Math.PI / 6);
- pv053a.name = "1C_30_00s_053_01";
- scene.add(pv053a);
- pv054a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv054a.position.set(2.500, 0.7, 27.567);
- pv054a.rotateY( Math.PI );
- pv054a.rotateX( 5 * Math.PI / 6);
- pv054a.name = "4D_30_00s_054_01";
- scene.add(pv054a);
- pv055a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv055a.position.set(15.000, 0.8, -7.354);
- pv055a.rotateY( Math.PI );
- pv055a.rotateX( 3 * Math.PI / 4);
- pv055a.name = "3A_45_00s_055_01";
- scene.add(pv055a);
- pv056a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv056a.position.set(15.000, 0.8, -11.354);
- pv056a.rotateY( Math.PI );
- pv056a.rotateX( 3 * Math.PI / 4);
- pv056a.name = "4A_45_00s_056_01";
- scene.add(pv056a);
- pv057a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv057a.position.set(9.000, 0.9, -27.750);
- pv057a.rotateY( Math.PI );
- pv057a.rotateX( 2 * Math.PI / 3);
- pv057a.name = "6A_60_00s_057_01";
- scene.add(pv057a);
- pv058a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv058a.position.set(0.000, 0.9, -30.250);
- pv058a.rotateY( Math.PI );
- pv058a.rotateX( 2 * Math.PI / 3);
- pv058a.name = "3A_60_00s_058_01";
- scene.add(pv058a);
- pv059a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv059a.position.set(8.125, 0.6, 25.033);
- pv059a.rotateY( 11 * Math.PI / 12 );
- pv059a.rotateX( 11 * Math.PI / 12);
- pv059a.name = "3B_15_15w_059_01";
- scene.add(pv059a);
- pv060a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv060a.position.set(2.625, 0.6, 30.533);
- pv060a.rotateY( 11 * Math.PI / 12 );
- pv060a.rotateX( 11 * Math.PI / 12);
- pv060a.name = "1B_15_15w_060_01";
- scene.add(pv060a);
- pv061a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv061a.position.set(9.625, 0.6, 35.033);
- pv061a.rotateY( 11 * Math.PI / 12 );
- pv061a.rotateX( 11 * Math.PI / 12);
- pv061a.name = "4B_15_15w_061_01";
- scene.add(pv061a);
- pv062a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv062a.position.set(8.112, 0.7, 21.732);
- pv062a.rotateY( 11 * Math.PI / 12 );
- pv062a.rotateX( 5 * Math.PI / 6);
- pv062a.name = "3A_30_15w_062_01";
- scene.add(pv062a);
- pv063a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv063a.position.set(12.612, 0.7, 22.832);
- pv063a.rotateY( 11 * Math.PI / 12 );
- pv063a.rotateX( 5 * Math.PI / 6);
- pv063a.name = "1A_30_15w_063_01";
- scene.add(pv063a);
- pv064a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv064a.position.set(3.612, 0.7, 20.582);
- pv064a.rotateY( 11 * Math.PI / 12 );
- pv064a.rotateX( 5 * Math.PI / 6);
- pv064a.name = "5A_30_15w_064_01";
- scene.add(pv064a);
- pv065a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv065a.position.set(16.092, 0.8, -19.342);
- pv065a.rotateY( 11 * Math.PI / 12 );
- pv065a.rotateX( 3 * Math.PI / 4);
- pv065a.name = "3A_45_15w_065_01";
- scene.add(pv065a);
- pv066a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv066a.position.set(17.092, 0.8, -22.342);
- pv066a.rotateY( 11 * Math.PI / 12 );
- pv066a.rotateX( 3 * Math.PI / 4);
- pv066a.name = "1A_45_15w_066_01";
- scene.add(pv066a);
- pv067a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv067a.position.set(15.092, 0.8, -15.342);
- pv067a.rotateY( 11 * Math.PI / 12 );
- pv067a.rotateX( 3 * Math.PI / 4);
- pv067a.name = "4A_45_15w_067_01";
- scene.add(pv067a);
- pv068a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv068a.position.set(15.065, 0.9, -27.241);
- pv068a.rotateY( 11 * Math.PI / 12 );
- pv068a.rotateX( 2 * Math.PI / 3);
- pv068a.name = "6A_60_15w_068_01";
- scene.add(pv068a);
- pv069a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv069a.position.set(20.065, 0.9, -25.991);
- pv069a.rotateY( 11 * Math.PI / 12 );
- pv069a.rotateX( 2 * Math.PI / 3);
- pv069a.name = "3A_60_15w_069_01";
- scene.add(pv069a);
- pv070a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv070a.position.set(25.065, 0.9, -24.741);
- pv070a.rotateY( 11 * Math.PI / 12 );
- pv070a.rotateX( 2 * Math.PI / 3);
- pv070a.name = "1A_60_15w_070_01";
- scene.add(pv070a);
- pv071a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv071a.position.set(17.241, 0.6, 24.582);
- pv071a.rotateY( 11 * Math.PI / 6 );
- pv071a.rotateX( Math.PI / 12);
- pv071a.name = "3A_15_30w_071_01";
- scene.add(pv071a);
- pv072a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv072a.position.set(6.991, 0.6, 32.082);
- pv072a.rotateY( 11 * Math.PI / 6 );
- pv072a.rotateX( Math.PI / 12);
- pv072a.name = "1A_15_30w_072_01";
- scene.add(pv072a);
- pv073a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv073a.position.set(10.741, 0.6, 37.832);
- pv073a.rotateY( 11 * Math.PI / 6 );
- pv073a.rotateX( Math.PI / 12);
- pv073a.name = "1B_15_30w_073_01";
- scene.add(pv073a);
- pv074a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv074a.position.set(12.741, 0.6, 27.082);
- pv074a.rotateY( 11 * Math.PI / 6 );
- pv074a.rotateX( Math.PI / 12);
- pv074a.name = "1D_15_30w_074_01";
- scene.add(pv074a);
- pv075a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv075a.position.set(7.741, 0.6, 29.082);
- pv075a.rotateY( 11 * Math.PI / 6 );
- pv075a.rotateX( Math.PI / 12);
- pv075a.name = "1C_15_30w_075_01";
- scene.add(pv075a);
- pv076a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv076a.position.set(11.241, 0.6, 33.082);
- pv076a.rotateY( 11 * Math.PI / 6 );
- pv076a.rotateX( Math.PI / 12);
- pv076a.name = "5D_15_30w_076_01";
- scene.add(pv076a);
- pv077a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv077a.position.set(13.217, 0.7, 11.625);
- pv077a.rotateY( 11 * Math.PI / 6 );
- pv077a.rotateX( Math.PI / 6);
- pv077a.name = "6D_30_30w_077_01";
- scene.add(pv077a);
- pv078a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv078a.position.set(12.217, 0.7, 14.625);
- pv078a.rotateY( 11 * Math.PI / 6 );
- pv078a.rotateX( Math.PI / 6);
- pv078a.name = "3D_30_30w_078_01";
- scene.add(pv078a);
- pv079a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv079a.position.set(14.217, 0.7, 8.625);
- pv079a.rotateY( 11 * Math.PI / 6 );
- pv079a.rotateX( Math.PI / 6);
- pv079a.name = "1D_30_30w_079_01";
- scene.add(pv079a);
- pv080a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv080a.position.set(20.177, 0.8, -4.306);
- pv080a.rotateY( 11 * Math.PI / 6 );
- pv080a.rotateX( Math.PI / 4);
- pv080a.name = "3A_45_30w_080_01";
- scene.add(pv080a);
- pv081a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv081a.position.set(21.177, 0.8, -7.306);
- pv081a.rotateY( 11 * Math.PI / 6 );
- pv081a.rotateX( Math.PI / 4);
- pv081a.name = "1A_45_30w_081_01";
- scene.add(pv081a);
- pv082a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv082a.position.set(21.677, 0.8, -11.306);
- pv082a.rotateY( 11 * Math.PI / 6 );
- pv082a.rotateX( Math.PI / 4);
- pv082a.name = "5A_45_30w_082_01";
- scene.add(pv082a);
- pv083a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv083a.position.set(24.125, 0.9, -21.217);
- pv083a.rotateY( 11 * Math.PI / 6 );
- pv083a.rotateX( Math.PI / 3);
- pv083a.name = "6A_60_30w_083_01";
- scene.add(pv083a);
- pv084a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv084a.position.set(23.125, 0.9, -18.217);
- pv084a.rotateY( 11 * Math.PI / 6 );
- pv084a.rotateX( Math.PI / 3);
- pv084a.name = "3A_60_30w_084_01";
- scene.add(pv084a);
- pv085a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv085a.position.set(23.125, 0.9, -14.217);
- pv085a.rotateY( 11 * Math.PI / 6 );
- pv085a.rotateX( Math.PI / 3);
- pv085a.name = "1A_60_30w_085_01";
- scene.add(pv085a);
- pv086a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv086a.position.set(12.342, 0.6, 30.158);
- pv086a.rotateY( 7 * Math.PI / 4 );
- pv086a.rotateX( Math.PI / 12);
- pv086a.name = "2A_15_45w_086_01";
- scene.add(pv086a);
- pv087a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv087a.position.set(16.342, 0.6, 30.158);
- pv087a.rotateY( 7 * Math.PI / 4 );
- pv087a.rotateX( Math.PI / 12);
- pv087a.name = "1A_15_45w_087_01";
- scene.add(pv087a);
- pv088a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv088a.position.set(17.342, 0.6, 27.158);
- pv088a.rotateY( 7 * Math.PI / 4 );
- pv088a.rotateX( Math.PI / 12);
- pv088a.name = "4A_15_45w_088_01";
- scene.add(pv088a);
- pv089a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv089a.position.set(20.306, 0.7, 10.694);
- pv089a.rotateY( 7 * Math.PI / 4 );
- pv089a.rotateX( Math.PI / 6);
- pv089a.name = "6A_30_45w_089_01";
- scene.add(pv089a);
- pv090a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv090a.position.set(19.306, 0.7, 13.694);
- pv090a.rotateY( 7 * Math.PI / 4 );
- pv090a.rotateX( Math.PI / 6);
- pv090a.name = "2A_30_45w_090_01";
- scene.add(pv090a);
- pv091a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv091a.position.set(29.250, 0.8, -14.250);
- pv091a.rotateY( 7 * Math.PI / 4 );
- pv091a.rotateX( Math.PI / 4);
- pv091a.name = "2C_45_45w_091_01";
- scene.add(pv091a);
- pv092a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv092a.position.set(23.250, 0.8, 6.750);
- pv092a.rotateY( 7 * Math.PI / 4 );
- pv092a.rotateX( Math.PI / 4);
- pv092a.name = "4C_45_45w_092_01";
- scene.add(pv092a);
- pv093a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv093a.position.set(30.177, 0.9, -18.177);
- pv093a.rotateY( 7 * Math.PI / 4 );
- pv093a.rotateX( Math.PI / 3);
- pv093a.name = "6A_60_45w_093_01";
- scene.add(pv093a);
- pv094a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv094a.position.set(30.177, 0.9, -22.177);
- pv094a.rotateY( 7 * Math.PI / 4 );
- pv094a.rotateX( Math.PI / 3);
- pv094a.name = "2A_60_45w_094_01";
- scene.add(pv094a);
- pv095a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv095a.position.set(15.418, 0.6, 33.759);
- pv095a.rotateY( 5 * Math.PI / 3);
- pv095a.rotateX( Math.PI / 12);
- pv095a.name = "6A_15_60w_095_01";
- scene.add(pv095a);
- pv096a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv096a.position.set(14.418, 0.6, 36.759);
- pv096a.rotateY( 5 * Math.PI / 3);
- pv096a.rotateX( Math.PI / 12);
- pv096a.name = "2A_15_60w_096_01";
- scene.add(pv096a);
- pv097a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv097a.position.set(16.375, 0.7, 19.783);
- pv097a.rotateY( 5 * Math.PI / 3);
- pv097a.rotateX( Math.PI / 6);
- pv097a.name = "6A_30_60w_097_01";
- scene.add(pv097a);
- pv098a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv098a.position.set(17.375, 0.7, 16.783);
- pv098a.rotateY( 5 * Math.PI / 3);
- pv098a.rotateX( Math.PI / 6);
- pv098a.name = "1A_30_60w_098_01";
- scene.add(pv098a);
- pv099a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv099a.position.set(25.306, 0.8, -1.177);
- pv099a.rotateY( 5 * Math.PI / 3);
- pv099a.rotateX( Math.PI / 4);
- pv099a.name = "6A_45_60w_099_01";
- scene.add(pv099a);
- pv100a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv100a.position.set(22.306, 0.8, 1.823);
- pv100a.rotateY( 5 * Math.PI / 3);
- pv100a.rotateX( Math.PI / 4);
- pv100a.name = "1A_45_60w_100_01";
- scene.add(pv100a);
- pv101a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv101a.position.set(28.217, 0.9, -10.125);
- pv101a.rotateY( 5 * Math.PI / 3);
- pv101a.rotateX( Math.PI / 3);
- pv101a.name = "2C_60_60w_101_01";
- scene.add(pv101a);
- pv102a = new THREE.Mesh(
- new THREE.CubeGeometry( 4, 0.1,0.5),
- new THREE.MeshPhongMaterial( {
- color: 0xD3D3D3,
- specular: 0x050505,
- shininess: 100
- })
- );
- pv102a.position.set(26.216, 0.9, -6.125);
- pv102a.rotateY( 5 * Math.PI / 3);
- pv102a.rotateX( Math.PI / 3);
- pv102a.name = "1C_60_60w_102_01";
- scene.add(pv102a);
- //scene.fog = new THREE.FogExp2( 0x000000, 0.0128 );
- //renderer.setClearColor( scene.fog.color, 1 );
- lut = new THREE.Lut( 'rainbow', 512 );
- lut.setMax( 2000 );
- lut.setMin( 0 );
- legend = lut.setLegendOn();
- legend.name = "legend";
- createLabel("legend_title");
- createLabel("legend_low");
- createLabel("legend_mid");
- createLabel("legend_high");
- $("#textlegend_title").css("fontSize", "16px");
- $("#textlegend_title").text("Power (kW/kWp)");
- $("#textlegend_mid").css("fontSize", "16px");
- $("#textlegend_mid").css("color", "black");
- $("#textlegend_mid").css("background-color", "transparent");
- $("#textlegend_mid").text("0.5");
- $("#textlegend_low").css("fontSize", "16px");
- $("#textlegend_low").css("color", "black");
- $("#textlegend_low").css("background-color", "transparent");
- $("#textlegend_low").text("0.0");
-
- $("#textlegend_high").css("fontSize", "16px");
- $("#textlegend_high").css("color", "black");
- $("#textlegend_high").css("background-color", "transparent");
- $("#textlegend_high").text("1.0");
- scene.add ( legend );
- render();
- }
-
- function animate() {
- requestAnimationFrame(animate);
- if (enableControls){
- mycontrol.enabled = true;
- } else {
- mycontrol.enabled = false;
- }
- if (enableRotate) {
- mycontrol.rotate = true;
- } else {
- mycontrol.rotate = false;
- }
-
- mycontrol.update();
- render();
- }
- var vector;
- var legend;
- var width, height;
- var widthHalf, heightHalf;
- var pos_title, pos_high, pos_low, pos_mid;
- function render() {
- //console.log(camera.position);
- // if camera.position.y more than 90 then show module number
- scene.traverse( function( node ) {
- if (node.name != "") {
- //console.log(node.name);
- if (node.name == "legend") {
- legend = scene.getObjectByName( "legend" );
- width = window.innerWidth;
- height = window.innerHeight;
- widthHalf = width / 2.0;
- heightHalf = height / 2.0;
- pos_title = legend.position.clone();
-
- pos_title.y = pos_title.y + 9;
- pos_title.x = pos_title.x - 1;
- pos_title.project(camera);
- pos_title.x = ( pos_title.x * widthHalf ) + widthHalf;
- pos_title.y = - ( pos_title.y * heightHalf ) + heightHalf;
- $("#textlegend_title").show();
- $("#textlegend_title").css("top", (pos_title.y) + 'px');
- $("#textlegend_title").css("left", (pos_title.x) + 'px');
-
- pos_mid = legend.position.clone();
- pos_mid.y = pos_mid.y + 0;
- pos_mid.x = pos_mid.x + 2;
- pos_mid.project(camera);
- pos_mid.x = ( pos_mid.x * widthHalf ) + widthHalf;
- pos_mid.y = - ( pos_mid.y * heightHalf ) + heightHalf;
- $("#textlegend_mid").show();
- $("#textlegend_mid").css("top", (pos_mid.y) + 'px');
- $("#textlegend_mid").css("left", (pos_mid.x) + 'px');
-
- pos_low = legend.position.clone();
- pos_low.y = pos_low.y - 5;
- pos_low.x = pos_low.x + 2;
- pos_low.project(camera);
- pos_low.x = ( pos_low.x * widthHalf ) + widthHalf;
- pos_low.y = - ( pos_low.y * heightHalf ) + heightHalf;
- $("#textlegend_low").show();
- $("#textlegend_low").css("top", (pos_low.y) + 'px');
- $("#textlegend_low").css("left", (pos_low.x) + 'px');
-
- pos_high = legend.position.clone();
- pos_high.y = pos_high.y + 6;
- pos_high.x = pos_high.x + 2;
- pos_high.project(camera);
- pos_high.x = ( pos_high.x * widthHalf ) + widthHalf;
- pos_high.y = - ( pos_high.y * heightHalf ) + heightHalf;
- $("#textlegend_high").show();
- $("#textlegend_high").css("top", (pos_high.y) + 'px');
- $("#textlegend_high").css("left", (pos_high.x) + 'px');
- }
- var _id = node.name;
- _id = _id.split("_")[3];
- //console.log(_id2[3]);
-
- _id = "#text" + _id;
- if (camera.position.y > 0 && labelFlag == true) {
- //console.log(scene.children);
-
- var obj1 = scene.getObjectByName( node.name );
- var width = window.innerWidth, height = window.innerHeight;
- var widthHalf = width / 2, heightHalf = height / 2;
- var pos = obj1.position.clone();
- pos.project(camera);
- pos.x = ( pos.x * widthHalf ) + widthHalf;
- pos.y = - ( pos.y * heightHalf ) + heightHalf;
- $(_id).show();
- $(_id).css("top", pos.y + 'px');
- $(_id).css("left", (pos.x-10) + 'px');
- //console.log(pos);
- } else {
- $(_id).hide();
- }
- }
- });
- var mode = $('input[type=radio][name=moduleMode]:checked').val();
- if (mode == "0") {
- $("#textlegend_title").hide();
- $("#textlegend_high").hide();
- $("#textlegend_mid").hide();
- $("#textlegend_low").hide();
- legend_object = scene.getObjectByName( "legend" );
- if (legend_object) {
- scene.remove(legend_object);
- }
-
- } else if (mode == "1") {
- $("#textlegend_title").show();
- $("#textlegend_high").show();
- $("#textlegend_mid").show();
- $("#textlegend_low").show();
- legend_object = scene.getObjectByName( "legend", true );
- if (!legend_object) {
- lut = new THREE.Lut( 'rainbow', 512 );
- lut.setMax( 2000 );
- lut.setMin( 0 );
- legend = lut.setLegendOn();
- legend.name = "legend";
- scene.add(legend);
- }
- }
-
- // update the picking ray with the camera and mouse position
- raycaster.setFromCamera( mouse, camera );
- // calculate objects intersecting the picking ray
- var intersects = raycaster.intersectObjects( scene.children );
- //console.log("Check intersection");
- //console.log(intersects);
- for ( var i = 0; i < intersects.length; i++ ) {
- if (intersects[ i ].object.name != "" && intersects[ i ].object.name != "legend") {
- $("#obj-tooltip").text("Array: " + intersects[ i ].object.name);
- $("#val-tooltip").text("Power: " + parseFloat(data[ intersects[ i ].object.name ]).toFixed(3) + " kW");
- }
- }
-
- renderer.render(scene, camera);
-
- vector = camera.getWorldDirection();
- theta = Math.atan2(vector.x,vector.z);
- theta = theta + 3.142; // add/minux pi to inverse
- var degree = theta * (180/3.142);
- //console.log(degree);
- draw(degree);
- }
-
- $("#message").mousedown(function() {
- enableControls = false;
- setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
- //render();
- });
-
- $("#orientation").mousedown(function() {
- enableControls = false;
- setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
- //render();
- });
-
- $("#settings").mousedown(function() {
- enableControls = false;
- setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
- //render();
- });
-
- $("#slider").mousedown(function() {
- enableControls = false;
- setMessage("GUI", "De-select main scene. Click on main scene to re-select.");
- //render();
- });
-
- $("#container").mousedown(function() {
- enableControls = true;
- enableRotate = true;
- animate();
- setMessage("GUI", "Selected main scene.");
- });
-
- $("#container").mouseup(function() {
- enableRotate = false;
- //animate();
- setMessage("GUI", "Selected main scene.");
- });
- </script>
- <script>
- jQuery(window).load(function () {
- var typeFlag = false;
- var typeValue = "A";
-
-
- $('input[type=radio][name=moduleType]').change(function() {
- typeValue = this.value;
- for (var prop in data) {
- value = data[prop];
- if (prop != "time") {
- current_type = prop.split("_")[0][1];
- current_array = parseInt(prop.split("_")[3]) - 1;
- if (current_type != typeValue) {
- colour = "0xaaaaaa";
- } else {
- // Type D need to half them
- if (current_type == "D") {
- pNorm = value / ( parseFloat(powerPeak[current_array]));
- } else {
- pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- }
- //pNorm = value / parseFloat(powerPeak[current_array]);
- if (pNorm > 1.0) {
- pNorm = 1.0;
- }
- if (pNorm < 0.0) {
- pNorm = 0.0;
- }
- colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
- //pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- //if (pNorm > 0.5) {
- // pNorm = 0.5;
- //}
- //if (pNorm < 0.0) {
- // pNorm = 0.0;
- //}
- colour = "0x" + colour.substring(1);
- }
- object = scene.getObjectByName( prop, true );
- if (object) {
- object.material.color.setHex( colour );
- }
- }
- }
- });
- $('input[type=radio][name=moduleMode]').change(function() {
- //var myVar = setInterval(myTimer, 10000);
- //clearInterval(myVar);
- modeValue = this.value;
- //console.log(modeValue);
- for (var prop in data) {
- value = data[prop];
- if (prop != "time") {
- if (modeValue == "0") {
- //console.log("setting mode 0")
- if (value <= 0) {
- colour = "0xff0000";
- } else {
- //colour = "0x242b72";
- colour = "0x00ff00";
- }
- //console.log("setting mode 0", colour);
- } else if (modeValue == "1") {
-
- //console.log("inside mode 1");
- current_type = prop.split("_")[0][1];
- current_array = parseInt(prop.split("_")[3]) - 1;
- if (typeof current_type != "undefined") {
-
- // Type D need to half them
- if (current_type == "D") {
- pNorm = value / ( parseFloat(powerPeak[current_array]));
- } else {
- pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- }
- //pNorm = value / parseFloat(powerPeak[current_array]);
- if (pNorm > 1.0) {
- pNorm = 1.0;
- }
- if (pNorm < 0.0) {
- pNorm = 0.0;
- }
- colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
- colour = "0x" + colour.substring(1);
- if (typeFlag == true && current_type != typeValue) {
- colour = "0xaaaaaa";
- }
- }
- }
- object = scene.getObjectByName( prop, true );
- //object.material.color.setHex( colour );
- if (object) {
- //console.log("SETTING COLOUR");
- object.material.color.setHex( colour );
- }
- //animate();
- }
- }
- });
-
- $("#myType").change(function() {
- if(this.checked) {
- typeFlag = true;
- var radios = $('input:radio[name=moduleType]');
- if(radios.is(':checked') === false) {
- radios.filter('[value=A]').prop('checked', true);
- }
- typeValue = "A";
- for (var prop in data) {
- value = data[prop];
- if (prop != "time") {
- current_type = prop.split("_")[0][1];
- current_array = parseInt(prop.split("_")[3]) - 1;
- if (current_type != typeValue) {
- colour = "0xaaaaaa";
- } else {
- // Type D need to half them
- if (current_type == "D") {
- pNorm = value / ( parseFloat(powerPeak[current_array]));
- } else {
- pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- }
- //pNorm = value / parseFloat(powerPeak[current_array]);
- if (pNorm > 1.0) {
- pNorm = 1.0;
- }
- if (pNorm < 0.0) {
- pNorm = 0.0;
- }
- colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
- colour = "0x" + colour.substring(1);
- }
- object = scene.getObjectByName( prop, true );
- if (object) {
- object.material.color.setHex( colour );
- }
- }
- }
- //updateColour("A");
- } else {
- typeFlag = false;
- var radios = $('input:radio[name=moduleType]');
- if(radios.is(':checked') === true) {
- radios.filter('[value=A]').prop('checked', false);
- radios.filter('[value=B]').prop('checked', false);
- radios.filter('[value=C]').prop('checked', false);
- radios.filter('[value=D]').prop('checked', false);
- }
- for (var prop in data) {
- value = data[prop];
- if (prop != "time") {
- current_type = prop.split("_")[0][1];
- current_array = parseInt(prop.split("_")[3]) - 1;
- if (current_type == "D") {
- pNorm = value / ( parseFloat(powerPeak[current_array]));
- } else {
- pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- }
- //pNorm = value / parseFloat(powerPeak[current_array]);
- if (pNorm > 1.0) {
- pNorm = 1.0;
- }
- if (pNorm < 0.0) {
- pNorm = 0.0;
- }
- colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
- colour = "0x" + colour.substring(1);
- object = scene.getObjectByName( prop, true );
- if (object) {
- object.material.color.setHex( colour );
- }
- }
- }
- }
- });
- myTimer();
- var myVar = setInterval(myTimer, 1000);
- //clearInterval(refreshIntervalId);
- var powerPeak = [
- 10.00,
- 8.64,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 9.50,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 8.64,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 10.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 10.00,
- 10.00,
- 8.64,
- 10.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 10.00,
- 10.00,
- 8.64,
- 10.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 8.64,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 8.64,
- 9.69,
- 10.00,
- 10.00,
- 10.00,
- 10.00,
- 9.00,
- 9.69,
- 10.00,
- 10.00,
- 9.50,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 9.69,
- 10.00,
- 10.00,
- 10.00
- ];
- var mycm = {
- jet: ['#000080',
- '#00008d',
- '#00009f',
- '#0000ad',
- '#0000bf',
- '#0000d1',
- '#0000df',
- '#0000f1',
- '#0000ff',
- '#0000ff',
- '#0010ff',
- '#001cff',
- '#002cff',
- '#0038ff',
- '#0048ff',
- '#0058ff',
- '#0064ff',
- '#0074ff',
- '#0080ff',
- '#0090ff',
- '#00a0ff',
- '#00acff',
- '#00bcff',
- '#00c8ff',
- '#00d8ff',
- '#02e8f4',
- '#0cf4eb',
- '#19ffde',
- '#23ffd4',
- '#30ffc7',
- '#3cffba',
- '#46ffb1',
- '#53ffa4',
- '#5dff9a',
- '#6aff8d',
- '#77ff80',
- '#80ff77',
- '#8dff6a',
- '#9aff5d',
- '#a4ff53',
- '#b1ff46',
- '#baff3c',
- '#c7ff30',
- '#d4ff23',
- '#deff19',
- '#ebff0c',
- '#f4f802',
- '#ffea00',
- '#ffdb00',
- '#ffd000',
- '#ffc100',
- '#ffb600',
- '#ffa700',
- '#ff9800',
- '#ff8d00',
- '#ff7e00',
- '#ff7300',
- '#ff6400',
- '#ff5500',
- '#ff4a00',
- '#ff3b00',
- '#ff3000',
- '#ff2200',
- '#ff1300',
- '#f10800',
- '#df0000',
- '#d10000',
- '#bf0000',
- '#ad0000',
- '#9f0000',
- '#8d0000',
- '#800000']
- }
- var min_pac = 0;
- var max_pac = 10.0;
- function myTimer() {
- var dataToSend = {};
- var object;
- var colour;
- var value;
-
- $.ajax({
- url: '/getdata/',
- type: 'GET',
- data: dataToSend,
- success: function (response) {
- //var objresponse = JSON.parse(response);
- console.log(response);
- data = response;
- var obj = response;
- for (var prop in obj) {
- value = obj[prop];
- if (prop == "time") {
- $("#slider-tooltip").text(value);
- } else {
- var mode = $('input[type=radio][name=moduleMode]:checked').val();
- current_type = prop.split("_")[0][1];
- current_array = parseInt(prop.split("_")[3]) - 1;
- if (mode == "0") {
- legend_object = scene.getObjectByName( "legend", true );
- if (legend_object) {
- scene.remove(legend_object);
- }
- //animate();
- if (value <= 0) {
- colour = "0xff0000";
- } else {
- //colour = "0x242b72";
- colour = "0x00ff00";
- }
- } else if (mode == "1") {
- legend_object = scene.getObjectByName( "legend", true );
- if (!legend_object) {
- lut = new THREE.Lut( 'rainbow', 512 );
- lut.setMax( 2000 );
- lut.setMin( 0 );
- legend = lut.setLegendOn();
- legend.name = "legend";
- scene.add(legend);
- }
- // Type D need to half them
- if (current_type == "D") {
- pNorm = value / ( parseFloat(powerPeak[current_array]));
- } else {
- pNorm = value / ( 0.5 * parseFloat(powerPeak[current_array]));
- }
- //pNorm = value / parseFloat(powerPeak[current_array]);
- if (pNorm > 1.0) {
- pNorm = 1.0;
- }
- if (pNorm < 0.0) {
- pNorm = 0.0;
- }
- colour = mycm["jet"][parseInt(Math.floor( (pNorm / 1.0) * 71.0 ))];
- colour = "0x" + colour.substring(1);
- if (typeFlag == true && current_type != typeValue) {
- colour = "0xaaaaaa";
- }
-
- }
- object = scene.getObjectByName( prop, true );
- if (object) {
- object.material.color.setHex( colour );
- }
- }
- }
- },
- error: function () {
- console.log("Error.")
- }
- });
- }
- });
- </script>
- </body>
- </html>
|