I'm using GetPickedObject without issues with: v2025.3 (SHA-1 70d1ef46696949214c615048358a3ad4916d3266 of 19 Sep 2025), but I use it ONLY with TGLFreeForm objects (actually they are filled with STL files). Check the video ( https://youtu.be/ASK4yTvK_hE ) where with CTLR + SHIFT and LEFT mouse button I can select a TGLFreeForm, draw a red container box, and select it in list of geometries (STL files).
In the past I've used the function and it worked for me to catch a TGLFreeForm: procedure TGLSceneFrame.GLSceneViewerMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); var PickedObject: TGLBaseSceneObject; begin // checks if ctrl + shift + left mouse and control key pressed if Shift = [ssCtrl, ssShift, ssLeft] then begin PickedObject := GLSceneViewer.Buffer.GetPickedObject(X, Y); if PickedObject is TGLFreeForm then begin // my code end; end; end;
Thank you Pavel, I'm not so used to collaborate with teams and git, so I've missed this feature. I will add other adds/changes and I will describe here what they do. Silverio
Thank you Pavel, I'm not so used to collaborate with teams and git, so I've missed this feature. I will add other adds/changes and I will describe here what they do.
In the first commit ( https://github.com/shineworld/GLXEngine/commit/c9d92b97b76f4567b92da8f99f6c3df9432b39fa ) I modified two things: 1] With the new compiler, TList and Inherited, it changed the type for Index from Integer to NativeInt, so I created the TListSize type so as to accommodate the two versions and avoid any incompatibility. 2] Each object in the scene has the ability to display axes, as infinite dashed lines. In my case I often need to display even a single axis, to be able to change...
In the first commit ( https://github.com/shineworld/GLXEngine/commit/c9d92b97b76f4567b92da8f99f6c3df9432b39fa ) I modified two things: 1] With the new compiler, TList and Inherited, it changed the type for Index from Integer to NativeInt, so I created the TListSize type so as to accommodate the two versions and avoid any incompatibility. 2] Each object in the scene has the ability to display axes, as infinite dashed lines. In my case I often need to display even a single axis, to be able to change...
Hi everyone, I have been using GLXEngine for a while now and would like to share some, albeit small, changes I have made to better align the library's functionality with my needs. I'll leave it to the project managers to decide if there is any interest in including them in the original package. Not knowing how to proceed, I have fork the library in github and will include the changes as commits. Many features are not built into the library itself but as additional units. I always leave all decisions...
Windows can set desired GPU for every program.