ValentinKraft / UE4_GPUPointCloudRenderer

A GPU-powered Point Cloud Renderer for Unreal.
http://www.valentinkraft.de/portfolio/point-cloud-renderer-for-unreal/
Other
204 stars 53 forks source link

Splats are triangular no matter the falloff value #3

Closed DarioMazzanti closed 5 years ago

DarioMazzanti commented 5 years ago

Thanks for the plugin! Everything seems to work fine for me, but I cannot seem to make the splats round: they are always triangular.

I tried changing the falloff value, but I only seem to be able to get binary results:

I also tried masked as well as transparent blend modes, getting the same result. I looked into the material, and the part related to opacity does exactly what you describe in your thesis ( well, of course! :) ) Is there some setting I need to look into, or something I am forgetting? I am working on master_4.19 branch.

splats_triangular

Thanks!

ValentinKraft commented 5 years ago

hey dario,

I would recommend to use the master branch (for UE4.21 and not UE4.19) because the older versions still might be a bit buggy ;)

let me know if that helps.

DarioMazzanti commented 5 years ago

Hey! Unfortunately my team needs to stick with UE4.19, at least for some time, since we have many plugins which would require us some effort updating.

Anyway, I slightly modified the shader and now I can see the splats as circles :) I am using the original positioning as input for computing the round shape, instead of the UVs. I am not sure that is 100% correct - it seems to work properly though: workaround

Thanks again!