Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualTasaq

Posted 17 October 2012 - 03:07 AM

How your model is built? If each leaf on your tree is separate ModelMesh, for 150k model it will create tons of batches. (you can simply check it by counting iterations of first foreach, the one with ModelMesh).
You can have 25k batches per second at 1ghz cpu, that leaves ~400 batches per frame to maintain 60 fps. It's wise to use less but large batches rather than small but many batches (it's because for each leaf you need to give gpu it's world matrix, texture etc).

#2Tasaq

Posted 17 October 2012 - 03:06 AM

How your model is built? If each leaf on your tree is separate ModelMesh, for 150k model it will create tons of batches. (you can simply check it by counting iterations of first foreach, the one with ModelMesh).
You can have 25k batches per second at 1ghz cpu, that leaves ~400 batches per frame to maintain 60 fps. It's wise to use less but large batches rather than small but many batches (it's because for each leaf you need to give cpu it's world matrix, texture etc).

#1Tasaq

Posted 17 October 2012 - 03:06 AM

How your model is built? If each leaf on your three is separate ModelMesh, for 150k model it will create tons of batches. (you can simply check it by counting iterations of first foreach, the one with ModelMesh).
You can have 25k batches per second at 1ghz cpu, that leaves ~400 batches per frame to maintain 60 fps. It's wise to use less but large batches rather than small but many batches (it's because for each leaf you need to give cpu it's world matrix, texture etc).

PARTNERS