0
$\begingroup$

I am working on a pure java implementation of OpenGL 1 called jGL.

I am missing glPolygonOffsetFill and am looking for an example implementation in java, c/c++ example of this GL function in order to integrate it in jGL.

Would anyone suggest a direction?

$\endgroup$
0
$\begingroup$

I found a workaround suggested at the bottom of this page : to deal with coplanar lines and polygons, one can apply a different glDepthRange to polygon face and polygon wireframe.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.