I am currently working on a software that uses OCC and a custom
openGL-based viewer. Truth is, the more I use OCC, the more I want to use the OCC viewer, including the AIS interface.
However, the graphics of my software (and the sometimes huge chunks of code that come along),
were designed for OpenGL 1.x and its fixed-function pipeline.
Hence the following question : is it possible to use methods like gl_quads and gl_texture3D along with a GLSL-based viewer in OCC ?
Don't get me wrong, I am totally pro-shader.
Fact is, and I am sure you are all aware of it : migrating code is a time-consuming, costful and tiresome operation,
so I want to avoid a complete rewriting for now.
I believe that OpenGL makes it possible to perform multiple rendering pass with both shaders and fixed-pipeline functions.
I am also aware that it should be avoided. But the migration process would be faster, and I would feel relieved.
What do you think ?