Rendering PointClouds
petrasvestartas opened this issue · 2 comments
petrasvestartas commented
Hi,
Is it possible to render large point-clouds?
E.G. 1000 000 points.
gboisse commented
Hey, you certainly can.
One way to do this is have a buffer of float4
's storing all your points positions, then load that position in a vertex shader and output a camera-aligned quad for the pixel shader to draw.
You'll probably want to enable some alpha blending using gfxDrawStateSetBlendMode()
if you want those to be transparent.
For more details, I'd recommend you look into some basic particles tutorials, which I am sure you can find around the net 🙂
gboisse commented
Closing due to inactivity.