• Just looking around
    Posts: 19 from 2013/9/24
    Quote:

    Jupp3 wrote:
    Quote:

    Having the source can also help if you are looking for performance. For example, glVertex2f seem to just call glVertex4f internally.

    If you are looking for performance, your code shouldn't have any glVertex*() calls :-)

    But in any case, good work! Not expecting you to rewrite the whole gfx engine to OpenGL 1.1 standard (yes, that's when glDrawArrays(), glDrawElements() etc. were introduced, and nowadays people STILL use immediate mode in NEW programs...) - at least for the first release!

    Just curious, was it glVertex*() all over (like data loading / saving), or only in certain files?


    I picked glVertex more or less randomly just as an example (in retrospect, it was probably a bad example, but still :)
    The point was more that the more you know what is going on inside a closed black-box the better - especially in APIs that provide multiple ways of doing the same thing.
    Also, I am just very curious :)

    But absolutely, the bulk of the rendering in avp is already using glDrawElements (this was present in the linux port already).
  • »16.10.13 - 18:51
    Profile