#256 draw3DBox + drawMeshBufferNormals optimation

open
video (62)
5
2013-05-16
2012-12-24
zerochen
No

hi,

i forgot to add this patch. it reduced the draw calls for dx and opengl to one.
the opengl implementation may be optimized if you replace glDrawArray() with glDrawElements().

regards
zerochen

Discussion

  • zerochen

    zerochen - 2013-01-16
    • summary: 3dbox draw optimation --> draw3DBox + drawMeshBufferNormals optimation
     
  • zerochen

    zerochen - 2013-01-16

    i also add a optimation for drawMeshBufferNormals
    before:
    normalCount draw calls
    after:
    1 draw call

     
  • zerochen

    zerochen - 2013-01-16
     
  • zerochen

    zerochen - 2013-02-05
    • assigned_to: nobody --> hybrid
     
  • Christian Stehno

    The changes to CNullDriver are not working, since software drivers don't support all primitive types so far.

     
  • zerochen

    zerochen - 2013-03-08

    oh yes you are right.
    well so can you add the opengl and dx part of it plz?
    thx

     
  • curaga

    curaga - 2013-05-16

    The GL part looks good to me.

     

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

Sign up for the SourceForge newsletter:





No, thanks