glPolygonOffset

Help
2005-11-25
2013-04-17
  • Chris DeSalvo

    Chris DeSalvo - 2005-11-25

    Is glPolygonOffset supported in Vincent?

     
    • Hans-Martin Will

      Yes, why? There is a sample in the redbook examples.

       
    • Chris DeSalvo

      Chris DeSalvo - 2005-12-02

      I'm trying to draw lines over a surface.  This works perfectly on the PC in OpenGL for me.
      glPolygonOffset(1.0f, 1.0f);

      But when I use these values in Vincent, it's not producing the same result.

      Does Vincent use these values in glPolygonOffset differently then in OpenGL?

       
      • Hans-Martin Will

        No, but the rasterization of lines and polygons is not necessarily creating the same depth values (because the interpolation rules are different), so there is really no guarantee that (1.0, 1.0) does what you expect. By how much do you have to bump up the values?

        - HM

         

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks