[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

damage modeling/texturing

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 2

File: 1457062088612.png (47KB, 600x438px) Image search: [Google]
1457062088612.png
47KB, 600x438px
Whats the best way to prepare a human model for damage modeling/texturing in a game?

Are there any resources that can point me in the right direction?
>>
>>518478
bump
>>
>damage
what does it mean?
>>
>>518540
Blood, scratches, bruises, missing limbs, pieces of clothing/armor being broken off, etc.
>>
>>518478
No special planing, most commonly you'll use mesh substitution at run-time to replace your undamaged skin with another one where your damage is present.

Example, PlayerA is running down a hallway when hit by 150mm tank shell that splits PlayerA into 2 parts.
In the next frame PlayerA's skin stop rendering, instead 2 new skinned meshes are spawned at the location of PlayerA, PlayerA_upperBody and PlayerA_lowerBody.
A script orients all the limbs to match those PlayerA had previous to the impact event and all bones inherit the same velocities the old skin had for ragdoll purposes.

These two new gore meshes now continues on, spawning particle blood etc from attatched particle systems.
>>
>>518545
So you simply model your skin like you would for any game that didn't have any graphical gore of this nature, then you take your finished mesh and start cutting it up and modifying it as needed to include the damaged region.
>>
>>518478
Here's "rendering wounds in Left 4 Dead 2", a paper on the subject:
http://www.valvesoftware.com/publications/2010/gdc2010_vlachos_l4d2wounds.pdf
>>
File: 1438347999118.gif (995KB, 257x194px) Image search: [Google]
1438347999118.gif
995KB, 257x194px
>>518545
>>518546
>>518547
This is some good stuff, thanks alot
>>
>>518544
>broken off
>missing limbs
hard as fuck to do if you don't have an existing tool inside your game engine that can do it for you.
Check out Valve's publications, they wrote one on how they did L4D2's zombie damage system.
http://www.valvesoftware.com/company/publications.html

In face, check out all of their publications, lots of interesting stuff.
>>
>>518579
>>518547
well fuck, I can't read.
>>
>>518544
Lots of questions, lots of solutions.
>Blood scratches, bruises,
This is typically decal work, or the inclusion of extra texture layers for each blood splatter or bruise. Decals are either simple quads that get plastered against the mesh, or a more complex enveloping mesh that's generated in runtime by a script or something.

Alternatively, if you can script the UV location on a mesh where a bruise or bloodsplatter should occur, then you can dump an extra texture on the mesh and offset it to the location of the wound. To be effective, this requires some really uniform UV work done on the original mesh.

>missing limbs,
>>518546
Consider the skeleton situation.

You can have a skeleton mesh that's composed of a single mesh. You can then take that exact same mesh and split it up into a collections of submeshes; like skulls, rib cage and spine, humerus, ulna and radius, femur, tibia and fibula, and feet.

Now you have two meshes. The first is your complete, single-body mesh that's for standard duty. When the skeleton actor dies or gets whacked, you just replace the single-body mesh with the multi-body mesh, and then do whatever works.

>pieces of clothing
Can be done a couple of ways. With mesh clothing, you probably make a battery of "damaged clothing" meshes. For simple texture meshes, you probably use a character shader that references at least three texture layers. The first layer is a skin layer, the second is a clothing layer, and the third is a stencil layer of sorts. When clothing in an area is damaged, the UV of that location of computed and a damage mark is blitted onto the stencil layer. When the shader is calculating how to color a fragment (pixel), it samples the skin texture wherever the stencil texture is filled out. Otherwise, it samples from the clothing texture. The math is pretty quick.

>armor being broken off
All of the above.
>>
>>518615
Thanks for the info, It's nice to see this thread is still getting quality replies.
Thread posts: 12
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.