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 to the project managers.
Each activity will have a separate post in this thread so it will be easier to identify them.
The library itself is already an incredible work. It gave me access to the OpenGL framework without really knowing how it works, and that for me is already a lot, so that I could focus my efforts only on the application side.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 the color used, the line pattern and its maximum size. So I added the TGLAxisInfo record and its handling to achieve this functionality “natively” in each scene object.
Shine world,
Yes, NativeInt must be used not only in GLS.Scene but in all other units also. Instead changes in your fork you could include your improvements and fixies in https://github.com/glscene/GLXEngine/pulls
I will add it later to the glxengine's trunk.
Pavel
Last edit: Pavel Vassiliev 2025-08-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Last edit: shine world 2025-08-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 to the project managers.
Each activity will have a separate post in this thread so it will be easier to identify them.
The library itself is already an incredible work. It gave me access to the OpenGL framework without really knowing how it works, and that for me is already a lot, so that I could focus my efforts only on the application side.
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 the color used, the line pattern and its maximum size. So I added the TGLAxisInfo record and its handling to achieve this functionality “natively” in each scene object.
Last edit: shine world 2025-08-07
Shine world,
Yes, NativeInt must be used not only in GLS.Scene but in all other units also. Instead changes in your fork you could include your improvements and fixies in https://github.com/glscene/GLXEngine/pulls
I will add it later to the glxengine's trunk.
Pavel
Last edit: Pavel Vassiliev 2025-08-07
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
Last edit: shine world 2025-08-07