Technique : Le sang coûte très cher au CPU

JudgeHype | 17/06/2009 à 08h49 - 73

Bashiok a posté un message de la part de Julian Love, lead tech artist sur Diablo III, à propos des taches de sang au sol qui, comme je vous l'ai expliqué ici, coûtent assez cher en ressources CPU.

C'est assez technique, mais il faut surtout retenir que chaque tache coûte globalement aussi cher qu'un personnage ou un cadavre. Cela explique pourquoi Blizzard ne peut vraiment pas laisser toutes les traces de vos combats dans le jeu.

Every independent thing that we show in the game has to be put into a special package that we call a "draw call," which is then delivered to the 3D card to be rendered on screen. It's not too different from preparing xmas gifts in that everything you want your relatives to receive must be packaged up in some way and then driven across the country in order to arrive there on time. Your CPU does this packaging and delivery and it takes a lot of bandwidth, so it ends up being one of the most crucial expenses to manage. Now, the truly horrible thing is that from a draw call cost perspective, each individual splattering of blood on the floor is every bit as expensive as a character or a dead body: they both cost one draw call. Beyond that, the differences tend to be somewhat trivial.

So, that's a lot of words just to say that blood splats can be every bit as expensive as, and in some ways, more expensive than dead bodies. It's counter intuitive, but this is the way it actually works.


73 commentaires - [Poster un commentaire]


Chargement des commentaires...

Poster un commentaire

Vous devez vous identifier pour poster un commentaire.
Nombre de visites sur l'accueil depuis la création du site Diablo III : 75.043.425 visites.
© Copyright 1998-2024 JudgeHype SRL. Reproduction totale ou partielle interdite sans l'autorisation de l'auteur. Politique de confidentialité.