We compile this project without qt in linux and there is no compiler or linker error.When we try to run we got this error.
OpenGL error 'invalid enumerant' at after RenderBin::draw(..) OpenGL error 'invalid enumerant' at after RenderBin::draw(..) OpenGL error 'invalid enumerant' at after RenderBin::draw(..)
... OpenGL error 'invalid enumerant' at after RenderBin::draw(..)
Windows pops up but there is no shape in the scene.
Hi, your idea is great! Howerve, I found that gl_Positions are used for interpolation before normalized by gl_Position.w, which is a non-linear behavior. I suppose they should be normalized by w and then interpolated to get bezier points.
Thanks for your sharing!