From bc775ad0de48855519947b33b01cc491306da1c2 Mon Sep 17 00:00:00 2001 From: Ahmet Cecen Date: Fri, 13 May 2016 15:21:34 -0400 Subject: [PATCH] Fix Projector --- _includes/DataProjector.js | 6 +++++- _posts/2016-05-11-AM-Sim-CLD-PC.markdown | 6 +++--- img/particle.png | Bin 0 -> 396 bytes projectors/CLDPCSimAM.json | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 img/particle.png diff --git a/_includes/DataProjector.js b/_includes/DataProjector.js index aefe7ac..3f633cc 100644 --- a/_includes/DataProjector.js +++ b/_includes/DataProjector.js @@ -865,11 +865,15 @@ Projector = (function(_super) { this.particles = new Array(); for (p = _j = 0; 0 <= clusters ? _j < clusters : _j > clusters; p = 0 <= clusters ? ++_j : --_j) { material = new THREE.ParticleBasicMaterial({ - size: 6.0, + size: 15.0, sizeAttenuation: false, vertexColors: true +// map: THREE.ImageUtils.loadTexture("{{ '/img/particle.png' | prepend: site.baseurl }}"), +// blending: THREE.NormalBlending, +// transparent: true }); this.particles[p] = new THREE.ParticleSystem(this.points[p], material); + this.particles[p].sortParticles = true; this.box.add(this.particles[p]); } return this.notify(Projector.EVENT_DATA_LOADED); diff --git a/_posts/2016-05-11-AM-Sim-CLD-PC.markdown b/_posts/2016-05-11-AM-Sim-CLD-PC.markdown index f0caec5..e2d6666 100644 --- a/_posts/2016-05-11-AM-Sim-CLD-PC.markdown +++ b/_posts/2016-05-11-AM-Sim-CLD-PC.markdown @@ -1,9 +1,9 @@ --- layout: projector -title: New Projector +title: 3D PCA Projection of AM and Sim Data author: Ahmet Cecen -tags: projector visualization template -subtitle: Some Short Description of Projector +tags: projector visualization +subtitle: First 3 PCs of CLD dataset: /projectors/CLDPCSimAM.json --- diff --git a/img/particle.png b/img/particle.png new file mode 100644 index 0000000000000000000000000000000000000000..a8f9c8e77da14264af5acf5441be4949a10a67d7 GIT binary patch literal 396 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%G}c0*}aI1_r*vAk26?e?&q9iy!t)x7$D3zfgF*C13FE6!3!9>qM z&+Jc6@_nG1zn(6RAr}5?Cp+>r83?%UY?#>LW_C=X`5}wm&SviLcQFMF`VUhr7`ea2 z9151$mK^UX+?AZPKt+G@|MX=ux0wh{T(IJqOh_@`DoggOS2`ZIa#rPaWLaH%9r5jV zZ_3TEPc~Zxd+pbiu25U@@|0eXi1p69eL>UIr7!+?a@_VqDueKalASV7e%g44#x7m= z-fYpwli8E24jtS!qvhGQT950Y$MSMq9#3ALcY}RiK|xqff9J2Gac$dsGip9v3A8^V zd?0s|?75y?qsaXd@*6kWRlYj5{k`rp4l6|#`@{A5mY&m=-Fg4@$b<#|7e2o3eNnA= o#WJ@E+ih5{&S}o_b6>>2K+1cb)EX5BU_dZ