Hot answers tagged

1

There are lots way of optimization including LOD - hig and low poly object display according to camera Culling - show only camera frustam obects mesh combine - combine meshes World streamer (dividing scene into sub-scene then load/unload according to camera position) Maybe what you are talking about is the fourth option divide your scene into multiple ...


1

Check broad-phase collision detection. Example link That would reduce the collision detection cost. Then figure out WHAT causes your performance drop. Virtual method calls themselves are not that expensive - 1000 of them in a frame will definitely NOT cause a slideshow. Perhaps the message system is slow? The message creation copies data by value? etc etc. ...


1

It would appear your rendering logic is completely flawed. Take a look at this question and it's answers, you appear to be doing some of the same errors I previously did. Canvas - good rendering practices? About Projectiles Drawing one rectangle will literally never have any noticeable impact on your frames so there is obviously a flaw elsewhere, ...



Only top voted, non community-wiki answers of a minimum length are eligible