Hello All,
Is it possible to extract the mesh definition of a TCylinder or any other advanced geometry to be able to apply csg_operation to it?
For example, is there a way to do the following (simplified for concept)
Hi, John for extrating Mesh for TGLFreeForm from Basic Object you can use TGLFeedBack.
Or The best solution is to construct directly Mesh Object.
I'll update GLScene for Lazarus when Lazarus 1.8 will out. It will include news demos on how to construct FreeFormMesh object like cube, sphere, cylinder, and a a new class TGLRevolutionFreeForm from (Peter aka Diceped)
Hello All,
Is it possible to extract the mesh definition of a TCylinder or any other advanced geometry to be able to apply csg_operation to it?
For example, is there a way to do the following (simplified for concept)
FreeForm1.mesh = dosomething(Tcylinder1)
Freeform2.mesh = dosomething(TrevolutionSolid1)
CSG_operation(freeform1.mesh, freeform2.mesh, substract, ...)
thanks
john
Hi, John for extrating Mesh for TGLFreeForm from Basic Object you can use TGLFeedBack.
Or The best solution is to construct directly Mesh Object.
I'll update GLScene for Lazarus when Lazarus 1.8 will out. It will include news demos on how to construct FreeFormMesh object like cube, sphere, cylinder, and a a new class TGLRevolutionFreeForm from (Peter aka Diceped)
In waiting, search on this forum you'll find an unit named 'GLMeshObjectHelper" at https://sourceforge.net/p/glscene/discussion/93606/thread/37184757/
You can also take look at the demos in Branch/Examples/SceneObjects/FreeForm and Samples/Delphi/Meshes/FeedBack demo
Cheers
Last edit: Jerome.D (BeanzMaster) 2017-09-09
Hello Jerome,
thanks for the reply.
I'll give it a try.
john