Yes. Thank you at first.
This is what I want, but how to implement this function , I do not know too. I found a PCL base library (points cloud library), only for VC++ , could not find a delphi version. Please help me to achieve this function, thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi sxbug have you more informations about the algorithm ? I'm suggest using T(GL)MeshObject
You can take a look in the GLMeshUtils.pas and GLMeshOptimizer.pas. Check also demo in examples branch SceneObjects/SuperEllipsoid
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I found a PCL open source library, then compile a DLL file(it only for C++) ,so I can call it with delphi, but because my point set is : a cross-section is composed of many points(7000+), but the distance between cross-sections is very far, leading to the failure to obtain better shape, do you have a good way?
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The PCL I used is a DLL file compiled by others. I also hope to integrate it into glscense. Thank you for your great work.
Reducing distance is a big problem. There are many points in each section. The positions of points in each section are random and there is no strict correspondence. So how to insert more sections reasonably has not found a good way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I found a unit ( fastGEO. http://fastgeo.partow.net) that can be used for convexHull. Can you help me implement this function in Glsence?
It's about build a mesh like a pipeline from a lot of cross-section points . Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Current FastGEO Release Version
The current version of the FastGEO computational geometry library has been set at version 5.0.1(stable). No new major release (aka version increment) will be made until the majority of the following capabilities are implemented within the FastGEO frame-work:
Rotating Caliper
Edge constrained Delaunay Triangulation Convex hull in 3D
Additional visualization infrastructure -Friday 7th Of January 2005
3D convex hulls was implemented?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I saw the source, they only have 4 'hull methods'. 3 are 2D and only 1 is 3D, but only show a Bounding Sphere of an array of points. All this methods are bounding something.
function RectangularHull(const Point: array of TPoint2D):TRectangle;
function RectangularHull(const Polygon:TPolygon2D):TRectangle;
function CircularHull(const Polygon:TPolygon2D):TCircle;
function SphereHull(const Polygon:array of TPoint3D):TSphere; <-only show a bounding sphere
Last edit: Jerson Seling 2019-07-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
FastGEO dont generate any 3d model. The SphereHull result, is a TSphere, you can represent it with a TGLSphere, only set the position and radius.
In a real ConvexHull generator, like this (write in JS) https://github.com/mauriciopoppe/quickhull3d a result set made of vertices and faces is returned. Using the T(GL)MeshObject you can show this in GLScene after translate the data.
Hi Sir:
There are many points in GLSence. Is there a simple way to construct a three-dimensional geometry based on these points?
Thanks
You want build some like this https://en.wikipedia.org/wiki/Convex_hull ?
Yes. Thank you at first.
This is what I want, but how to implement this function , I do not know too. I found a PCL base library (points cloud library), only for VC++ , could not find a delphi version. Please help me to achieve this function, thank you.
I dont know too :D Try some research, like this http://www.randygaul.net/2013/11/14/convex-hull-generation/
or this https://www.geometrictools.com/Samples/Geometrics.html#ConvexHull3D
Last edit: Jerson Seling 2019-01-16
Thank you very much!
Hi sxbug have you more informations about the algorithm ? I'm suggest using T(GL)MeshObject
You can take a look in the GLMeshUtils.pas and GLMeshOptimizer.pas. Check also demo in examples branch SceneObjects/SuperEllipsoid
Thanks. I am Tring......
Hi
I found a PCL open source library, then compile a DLL file(it only for C++) ,so I can call it with delphi, but because my point set is : a cross-section is composed of many points(7000+), but the distance between cross-sections is very far, leading to the failure to obtain better shape, do you have a good way?
Thank you
Hi sxBug
try to reduce the distance by a factor.
Have you the link for the PCL OpenSource, i'll check when i have more time et perhaps i'll can convert it to pascal and glscene.
Thanks
pcl1.7.1 https://github.com/PointCloudLibrary/pcl/archive/pcl-1.7.1.zip
Hi
I found a unit ( fastGEO. http://fastgeo.partow.net) that can be used for convexHull. Can you help me implement this function in Glsence?
It's about build a mesh like a pipeline from a lot of cross-section points . Thank you.
3D convex hulls was implemented?
I saw the source, they only have 4 'hull methods'. 3 are 2D and only 1 is 3D, but only show a Bounding Sphere of an array of points. All this methods are bounding something.
function RectangularHull(const Point: array of TPoint2D):TRectangle;
function RectangularHull(const Polygon:TPolygon2D):TRectangle;
function CircularHull(const Polygon:TPolygon2D):TCircle;
function SphereHull(const Polygon:array of TPoint3D):TSphere; <-only show a bounding sphere
Last edit: Jerson Seling 2019-07-09
Yes。But I could not find any software better. And Is there any way to show the model fastGEO made in GlSence?
FastGEO dont generate any 3d model. The SphereHull result, is a TSphere, you can represent it with a TGLSphere, only set the position and radius.
In a real ConvexHull generator, like this (write in JS) https://github.com/mauriciopoppe/quickhull3d a result set made of vertices and faces is returned. Using the T(GL)MeshObject you can show this in GLScene after translate the data.
The fastGeo author made a demo generating a 2D convez hull:
https://github.com/ArashPartow/fastgeo/tree/master/FastGEOConvexHull
But nothing in 3D. :(