javascript - Change square to circle in Three.js PointCloud? -
i'm loading .ply file using plyloader , rendering using pointcloud object in three.js.
var loader = new three.plyloader(); loader.addeventlistener('load', function (event) { var geometry = event.content; var material = new three.pointcloudmaterial({ vertexcolors: true, size: 0.01 }); var mesh = new three.pointcloud(geometry, material); scene.add(mesh); }); loader.load(file_url);
it's working okay, points rendered correctly. points rendered square. possible change them circle? if so, how?
i found this old thread shows picture of three.js sample. can see circles. that same sample today shows squares (after changed particlesystem pointcloud).
thank you
a solution associate circle images each point cloud.
could have on example :
http://threejs.org/examples/#webgl_particles_billboards
maybe in have solution.
Comments
Post a Comment