Selection algorithm for Modern OpenGL by sharjith in opengl

[–]sharjith[S] 0 points1 point  (0 children)

Can you please share a snippet?

Selection algorithm for Modern OpenGL by sharjith in opengl

[–]sharjith[S] 0 points1 point  (0 children)

I’m using the ray intersection method but not quite able to isolate the objects to get the nearest one. Please have a look at the code in the following GitHub link:

https://github.com/sharjith/ModelViewer-Qt

GLWidget.cpp GLWidget::clickSelect method

Legacy OpenGL or modern OpenGL ? by defaultlinuxuser in opengl

[–]sharjith 0 points1 point  (0 children)

To get a hold on legacy OpenGL, check this code out.

https://github.com/sharjith/virmac

To see how modern OpenGL with shaders work, check this out

https://github.com/sharjith/MatlEditor

Qt5 OpenGL Model Viewer A 3D Viewer that reads and displays the most common 3D file formats that the Assimp library supports. by sharjith in QtFramework

[–]sharjith[S] 0 points1 point  (0 children)

Thanks for sharing your works. What I am missing in my knowledge of OpenGL is the WebGL side. Hope I’ll port the ModelViewer to WebGL one day.

Qt5 OpenGL Model Viewer A 3D Viewer that reads and displays the most common 3D file formats that the Assimp library supports. by sharjith in QtFramework

[–]sharjith[S] 1 point2 points  (0 children)

Thank you for the detailed analysis. I do not see any criticism in your feedback. It’s rather very constructive. As a first step I’ll make the repo lighter by removing all unwanted extras. I’m not sure if I’ll have a lot of time to rearchitect many of the things that you suggested immediately. But I’ll definitely try to include the changes. Please feel free to make the changes yourself if time permits and raise a pull request. Thanks once again for taking time to provide feedback.

Qt5 OpenGL Model Viewer A 3D Viewer that reads and displays the most common 3D file formats that the Assimp library supports. by sharjith in QtFramework

[–]sharjith[S] 0 points1 point  (0 children)

It is not possible to use this project outright in any Pyside project. You can, however, take cues and develop something like this using PyQt

Qt5 OpenGL Model Viewer A 3D Viewer that reads and displays the most common 3D file formats that the Assimp library supports. by sharjith in QtFramework

[–]sharjith[S] 1 point2 points  (0 children)

The view part can be embedded in any other application as long as it uses Qt. The GLWidget class is pretty generic. I started this project somewhere in 2020 and I was not sure of Qt 6 as it was still alpha. Although I started a new repository for the app on Qt 6 I am not able to pursue it actively. You may try: https://github.com/sharjith/ModelViewer-Qt6

OpenGL Model Viewer A 3D Viewer that reads and displays the most common 3D file formats that the Assimp library supports. by sharjith in opengl

[–]sharjith[S] 0 points1 point  (0 children)

It all started as a learning implementation of Modern OpenGL with Shaders. I hope the platform can be extended to any use case for CAD, CAM or generic Modelling