|
@@ -111,7 +111,7 @@
|
|
// vertices from real points
|
|
// vertices from real points
|
|
|
|
|
|
var pgeo = points.clone();
|
|
var pgeo = points.clone();
|
|
- var particles = new THREE.ParticleSystem( pgeo, new THREE.ParticleBasicMaterial( { color: color, size: 2, opacity: 0.75 } ) );
|
|
|
|
|
|
+ var particles = new THREE.ParticleSystem( pgeo, new THREE.ParticleSystemMaterial( { color: color, size: 2, opacity: 0.75 } ) );
|
|
particles.position.set( x, y, z + 75 );
|
|
particles.position.set( x, y, z + 75 );
|
|
particles.rotation.set( rx, ry, rz );
|
|
particles.rotation.set( rx, ry, rz );
|
|
particles.scale.set( s, s, s );
|
|
particles.scale.set( s, s, s );
|
|
@@ -128,7 +128,7 @@
|
|
// equidistance sampled points
|
|
// equidistance sampled points
|
|
|
|
|
|
var pgeo = spacedPoints.clone();
|
|
var pgeo = spacedPoints.clone();
|
|
- var particles2 = new THREE.ParticleSystem( pgeo, new THREE.ParticleBasicMaterial( { color: color, size: 2, opacity: 0.5 } ) );
|
|
|
|
|
|
+ var particles2 = new THREE.ParticleSystem( pgeo, new THREE.ParticleSystemMaterial( { color: color, size: 2, opacity: 0.5 } ) );
|
|
particles2.position.set( x, y, z + 125 );
|
|
particles2.position.set( x, y, z + 125 );
|
|
particles2.rotation.set( rx, ry, rz );
|
|
particles2.rotation.set( rx, ry, rz );
|
|
particles2.scale.set( s, s, s );
|
|
particles2.scale.set( s, s, s );
|