Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: New strategy for the internal rendering code in SFML 2  (Read 10599 times)

0 Members and 2 Guests are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
New strategy for the internal rendering code in SFML 2
« Reply #15 on: January 25, 2010, 03:07:54 pm »
If you want to test vertex arrays, you can easily modify the sf::Renderer class. It has Begin(), End(), and ProcessVertex()  functions that you can adapt -- the code is pretty straight-forward :)
Laurent Gomila - SFML developer

Dravere

  • Newbie
  • *
  • Posts: 37
    • View Profile
New strategy for the internal rendering code in SFML 2
« Reply #16 on: January 28, 2010, 11:55:58 pm »
With a very simple particle system I get around 8 FPS more compared against SFML 2 batching. I don't remember how much better the SFML 2 batching was against SFML 1.5, but it was better. So the current SFML 2 system is the best.

Will this now mean, that you will introduce a sf::Batch class? Or isn't this an option anymore?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
New strategy for the internal rendering code in SFML 2
« Reply #17 on: January 29, 2010, 12:15:44 am »
Quote
Will this now mean, that you will introduce a sf::Batch class? Or isn't this an option anymore?

I hope that this kind of class won't be necessary. But I still don't know, so I'll wait for more feedback.
Laurent Gomila - SFML developer