12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097 |
- <!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:5%></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 array number</span>
- <span class="br bar-info">
- <input type="checkbox" id="mylabel">
- </span>
- </div>
- <div class="bar-setup">
- <span class="bl bar-hl">Show inverter 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_title").css("color", "black");
- $("#textlegend_title").css("background-color", "transparent");
- $("#textlegend_title").css("font-family", "Source Code Pro");
- //font-family: 'Source Code Pro';
- $("#textlegend_mid").css("fontSize", "14px");
- $("#textlegend_mid").css("color", "black");
- $("#textlegend_mid").css("background-color", "transparent");
- $("#textlegend_mid").text("0.5");
- $("#textlegend_mid").css("font-family", "Source Code Pro");
- $("#textlegend_low").css("fontSize", "14px");
- $("#textlegend_low").css("color", "black");
- $("#textlegend_low").css("background-color", "transparent");
- $("#textlegend_low").text("0.0");
- $("#textlegend_low").css("font-family", "Source Code Pro");
-
- $("#textlegend_high").css("fontSize", "14px");
- $("#textlegend_high").css("color", "black");
- $("#textlegend_high").css("background-color", "transparent");
- $("#textlegend_high").text("1.0");
- $("#textlegend_high").css("font-family", "Source Code Pro");
- 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>
|