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

Author Topic: [Solved] scene graph with batched vertices, is this possible?  (Read 1365 times)

0 Members and 1 Guest are viewing this topic.

Rob92

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
I am batching sprites whi use same texture together in 1 draw call.
The sfml forum suggested that i do scene graph by using the transform component in renderstates.
However, i now use different sprites with same renderstates since theyre batched.

Do I need to create more draw calls or compute matrices of local and world seperatly?
« Last Edit: March 03, 2016, 12:27:11 am by Rob92 »

Rob92

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Re: scene graph with batched vertices, is this possible?
« Reply #1 on: March 03, 2016, 12:26:59 am »
I found a solution.

 

anything