Edited by Anddos, 02 July 2014 - 06:18 PM.
Trying to increase fps in games (D3D9)
Members - Reputation: 557
Posted 02 July 2014 - 06:17 PM
Crossbones+ - Reputation: 5697
Posted 02 July 2014 - 10:22 PM
- Does your code actually work? (i.e. does it remove the trees? Does every tree have exactly that primitive and vertex count)
- What kind of profiling have you done to determine that drawing trees is the bottleneck?
Crossbones+ - Reputation: 20151
Posted 03 July 2014 - 07:57 PM
Maybe the frame-rate is capped via v-sync.
why wouldnt this increase the fps on screen?
Maybe the trees really aren’t that difficult to draw and aren’t a bottleneck.
Before you “optimize” something, make sure it is actually consuming a worthwhile amount of time.
My Art: http://l-spiro.deviantart.com/gallery/4844241/Realism My Music: https://soundcloud.com/l-spiro
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums
Crossbones+ - Reputation: 9579
Posted 04 July 2014 - 05:05 AM
which is a waste of processing power imo.
This is the problem.
You're using opinion to decide what you think is or isn't a "waste". You should be basing decisons on actual verified and verifiable measurements instead.
It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.