Point Sprites #346
GuillaumeSchmid
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
It's one of the most asked questions, please see the discussion #310 and also #335 for an elaborate answer. But the conclusion is that you should just render your points the same way as in the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I am implementing a tiny demo, and I would like to be able to render Point Geometry.
Like a particle system using GL_POINT for rendering (with point sprites).
The coordinates of the point are re-evaluated at each frames, using some simulation.
The simple thing would be to store the geometry in a buffer and use a simple vertex shader handling point coordinates and GL_PointSize to render the buffer with a custom fragment shader.
I looked briefly how to achieve this, it is a bit different from the point cloud, where a 3D model is associated with each point.
It should be simple and much faster (I will have a lot of points).
Is there a way to achieve this with three-d (a simple way)?.
If not, I could probably add it, but could an expert provide some insight on how to implement this?
I would gladly contribute to the three-d code if I can come up with something that works.
Beta Was this translation helpful? Give feedback.
All reactions