point-clouds

three.js point clouds, BufferGeometry and incorrect transparency

假如想象 提交于 2019-12-02 03:45:13
The problem: I have a point cloud with quite a lot of data points (around one million). When I apply transparency to the rendered points, the transparency somehow does not show what is behind the rendered points As you can see in the example of the marked point, it does not show what it should, it is as if there is a problem with the buffering. I use three.js to create a point cloud using the following "setup": The renderer: this.renderer = new THREE.WebGLRenderer({ canvas: this.canvas, antialias: true }); The material: this.pointMaterial = new THREE.ShaderMaterial( { uniforms: { time: { type:

PCL create a pcd cloud

瘦欲@ 提交于 2019-11-30 16:57:17
This is what I have so far and I want to save pcd file from it I know I have to do something like this but not exactly sure pcl::PointCloud::PointPointXYZRGBA> cloud; pcl::io:;savePCDFileASCII("test.pcd",cloud); what do i have to add in my current code that i will have test.pcd Thanks #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/io/openni_grabber.h> #include <pcl/visualization/cloud_viewer.h> #include <pcl/common/time.h> class SimpleOpenNIProcessor { public: SimpleOpenNIProcessor () : viewer ("PCL OpenNI Viewer") {} void cloud_cb_ (const pcl::PointCloud<pcl:

Point-Cloud of Body Using Kinect SDK

孤人 提交于 2019-11-30 13:05:42
问题 I am making a program with the SDK, where when users are detected, The program draws a skeleton for them to follow. I recently saw a game advertised on my Xbox, Nike+ Kinect and saw how it displays a copy of the character doing something else like: http://www.swaggerseek.com/wp-content/uploads/2012/06/fcb69__xboxkinect1.jpg Or http://www.swaggerseek.com/wp-content/uploads/2012/06/fcb69__xboxkinect.jpg Can I create a point-cloud representation of the only the person detected (not any of the

Point-Cloud of Body Using Kinect SDK

不打扰是莪最后的温柔 提交于 2019-11-30 05:27:48
I am making a program with the SDK, where when users are detected, The program draws a skeleton for them to follow. I recently saw a game advertised on my Xbox, Nike+ Kinect and saw how it displays a copy of the character doing something else like: http://www.swaggerseek.com/wp-content/uploads/2012/06/fcb69__xboxkinect1.jpg Or http://www.swaggerseek.com/wp-content/uploads/2012/06/fcb69__xboxkinect.jpg Can I create a point-cloud representation of the only the person detected (not any of the background)? Thanks in advance! EDIT Using this site , I can create point clouds, but still can't crop

Plane fitting in a 3d point cloud

时光毁灭记忆、已成空白 提交于 2019-11-29 09:32:15
问题 I am trying to find planes in a 3d point cloud, using the regression formula Z= aX + bY +C I implemented least squares and ransac solutions, but the 3 parameters equation limits the plane fitting to 2.5D- the formula can not be applied on planes parallel to the Z-axis. My question is how can I generalize the plane fitting to full 3d ? I want to add the fourth parameter in order to get the full equation a X +b Y +c*Z + d how can I avoid the trivial (0,0,0,0) solution? Thanks! The Code I'm

three.js - Adjusting opacity of individual particles

丶灬走出姿态 提交于 2019-11-27 01:09:55
I am trying to vary the opacity of particles as a function of their distance from a plane. This issue describes my problem, and the answer a year ago was essentially "you can't" . Opacity is apparently a parameter of a material, not an element, and hence individual particle opacity is not possible. Has anything changed, is there any way I could achieve this? If individual particle colouring is possible, I imagine this isn't out of reach. Cheers ParticleSystem has been renamed to PointCloud and then to Points . Yes, you can create a Point Cloud and vary the alpha value of each particle's color

three.js - Adjusting opacity of individual particles

不打扰是莪最后的温柔 提交于 2019-11-26 12:26:46
问题 I am trying to vary the opacity of particles as a function of their distance from a plane. This issue describes my problem, and the answer a year ago was essentially \"you can\'t\" . Opacity is apparently a parameter of a material, not an element, and hence individual particle opacity is not possible. Has anything changed, is there any way I could achieve this? If individual particle colouring is possible, I imagine this isn\'t out of reach. Cheers 回答1: ParticleSystem has been renamed to