Adjust precision

Help
mirtch
2006-06-19
2013-04-17
  • mirtch

    mirtch - 2006-06-19

    Hello Hans-Martin,

    (in connection with the previous thread) how can the precision of the fixed point arithmetic be adjusted? Seems that there are more changes needed than MACRO EGL_PRECISION. Or is it not intended to do so?

    Thanks!
    michael

     
    • Hans-Martin Will

      That's correct. It's a constant, but too many other details depend on this number to make it actually ajustable.

      Probably the best thing to do in your case would be to convert the computations up to the perspective projection to proper floating point (and using the Intel compiler, because it has a very good FP library).

      In the case of maps, you are dealing with large sets of geometry anyway, so the performance decrease would not matter to you.

      - HM

      PS: This is for a commercial product, right? Or are you repackaging google maps in your spare time? ;-)

       

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks