keijiro / Pcx

Point cloud importer & renderer for Unity
The Unlicense
1.34k stars 194 forks source link

.ply file not generating particles in vfx graph #80

Open sushicab opened 2 years ago

sushicab commented 2 years ago

Hi Keijiro,

Im testing VFX Graph in the PcxEffect3 project file with my own .ply file. The .ply's container type was selected as Texture. Already connected position & color map to set position & color from the map but particles were not generating/ showing in the Inspector.

I'm suspecting the color&position map which my .ply file contained has some missing information. (the .ply was generated from .obj in meshlab by using Monrecarlo Sampling). The .ply could be presented & rendered perfectly when the container type was selected as 'Mesh' in Unity.

Would definitely be great to have your advice! Thank you very much in advance.

Screen Shot 2022-03-31 at 15 33 02
keijiro commented 2 years ago

Could you provide the ply file?

sushicab commented 2 years ago

Thanks for the quick response! sure! https://drive.google.com/file/d/165hPJ4mTBRps4kc0F7hjKRF8GoAhWYLb/view?usp=sharing

sushicab commented 2 years ago

Hi Keijiro,

sorry to bother you again, would you happen to have time to try the ply file? your feedback would be much appreciated!

keijiro commented 2 years ago

Unfortunately, no, I couldn't afford time for it.

chuan-chu commented 1 year ago

The header probally has problem. My PCL library cannot read it.

ply format binary_little_endian 1.0 comment VCGLIB generated element vertex 4361100 property float x property float y property float z property float nx property float ny property float nz property uchar red property uchar green property uchar blue property uchar alpha element face 0 property list uchar int vertex_indices property uchar red property uchar green property uchar blue property uchar alpha end_header