Author Topic: Object size and performance  (Read 1683 times)

Offline david24

  • byte
  • *
  • Posts: 8
    • View Profile
Object size and performance
« on: January 08, 2013, 07:38:55 pm »
Hi,
wanted to ask, to what level is the size of an object is affiliated with the performance?
exp: 100 objects (rectangles) each object has: 8 vertices,  size: 1x2 gives me 25 fps

if i will reduce all of the objects sizes will it increase the fps ?
also, does it matter if i change the object vertices to make it smaller or scale it in loading via Loader?
(because scaling via Loader it has no fps change)
« Last Edit: January 08, 2013, 08:02:25 pm by david24 »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Object size and performance
« Reply #1 on: January 08, 2013, 08:33:20 pm »
The size (in terms of scale, not vertex count) of an object has no influence on the performance by itself. However, rendering an object requires fillrate and the larger the objects are, the more fillrate they will consume...if they are visible. If they aren't visible, it doesn't matter. Most mobile gpus (expect for nVidia Tegra ones) are deferred renderers, i.e. the impact on fillrate won't be that huge.

Offline david24

  • byte
  • *
  • Posts: 8
    • View Profile
Re: Object size and performance
« Reply #2 on: January 08, 2013, 11:04:25 pm »
Thanks.  :D