Hi
I want to use the GLCanvas to draw up to 20 million points. I see from the "BENCH" example that I can draw 20 million points in less than one second which is really great for point cloud visualization (in top view mode).
I now need to draw a polygon made with the mouse (ie joining different mouse clicked points) to allow users to select an area of interest defined by this dense point cloud, but I can't get these lines to draw without redrawing the whole 20 million points.
I have tried declaring more than one glcanvas, defining another gldirectopengl object, but I can't succeed.
Can anyone suggest an approach? I need to create a polygon made of lines created by mouse positions superimposed on the rendering of the 20 million points (which i cannot afford to keep redrawing everytime a mouse line is created).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have tried to implement the GLGizmoEx. The problem is the same, everything is redrawn on the refresh. This is very nice with 3 objects as in the sample, but does not work with 20 million+ points...
Hi
I want to use the GLCanvas to draw up to 20 million points. I see from the "BENCH" example that I can draw 20 million points in less than one second which is really great for point cloud visualization (in top view mode).
I now need to draw a polygon made with the mouse (ie joining different mouse clicked points) to allow users to select an area of interest defined by this dense point cloud, but I can't get these lines to draw without redrawing the whole 20 million points.
I have tried declaring more than one glcanvas, defining another gldirectopengl object, but I can't succeed.
Can anyone suggest an approach? I need to create a polygon made of lines created by mouse positions superimposed on the rendering of the 20 million points (which i cannot afford to keep redrawing everytime a mouse line is created).
Hi, Pehraps instead you'll should try GLGizmoEx for selecting
Take a look at the demo in samples/interface/GizmoEx
Cheers
Hi
I have tried to implement the GLGizmoEx. The problem is the same, everything is redrawn on the refresh. This is very nice with 3 objects as in the sample, but does not work with 20 million+ points...
So, I am back to the beginning...
From: Jerome.D (BeanzMaster) delauneyjerome@users.sourceforge.net
Sent: Thursday, 20 June 2019 18:28
To: [glscene:discussion] 93606@discussion.glscene.p.re.sourceforge.net
Subject: [glscene:discussion] GLScene GLDirectOpenGl
Hi, Pehraps instead you'll should try GLGizmoEx for selecting
Take a look at the demo in samples/interface/GizmoEx
Cheers
GLScene GLDirectOpenGlhttps://sourceforge.net/p/glscene/discussion/93606/thread/2600420ee8/?limit=25#feee
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/glscene/discussion/93606/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/