CauldronDevelopmentLLC / CAMotics

Open-Source Simulation & Computer Aided Machining - A 3-axis CNC GCode simulator
Other
602 stars 140 forks source link

3D rendering with OpenGL ES 2.0 #285

Closed jcoffland closed 11 months ago

jcoffland commented 5 years ago

This would make CAMotics more compatible with systems that do not have proper OpenGL drivers. For example, Qt5 on Windows has ANGLE which automatically translates OpenGL ES 2.0 to DirectX. OpenGL ES 2.0 would also make it easier to use textures.

See examples of Phong shading using ES 2.0:

renato-grottesi commented 2 years ago

You can even make some procedural wood textures to allow people to try different colors :-) https://godotshaders.com/shader/procedural-grain-wood-shader/ And probably some screen space ambient occlusion would help a lot to add some depth to the rendering of the carvings, considering that there can be a lot of deep cuts. https://learnopengl.com/Advanced-Lighting/SSAO

jcoffland commented 2 years ago

Good idea.