Sunday, February 9, 2020

physics - How did EA DICE create destructible environments in Battlefield Bad Company 2 and Battlefield 3?




How did the folks at EA DICE create destructible environments in Battlefield Bad Company 2 and Battlefield 3?


Did they just assemble the buildings out of predefined sub-regions, that break apart when there is an explosion or something similar? I can't think of anything else.



Answer



To put it simply yes that what they do. But the go an extra length to cover up the straight edges using destruction mask. After removing the part of the geometry, they add detailed mesh around the destroyed section to make it look believable.


Here is how it works,


enter image description here


When destroying a part of this house, we begin by removing a piece of the geometry


When destroying a part of this house, they begin by removing a piece of the geometry


enter image description here Then added detail meshes around the destroyed section.



enter image description here


And the final step is to add the destruction mask.


They also use particle effects and mesh debris for more dramatic look.


(All the reference is taken from those 2 publications I mentioned in the comment)


No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...