dforce and Displacement Maps Question
dlm4001
Posts: 205
in The Commons
I am trying to layer some clothing and the garment on collision layer 1 uses a dispalcement and is a static dforce surface. I simulate the the drape for gament 2 on collision layer 2. and t looks OK until I render it. Then the displacement map is applied and parts of layer 1 are outside of layer 2.
Anyone have ideas on approaches? I thought it would be a simple thing to bake the displacement into the mesh, but after reading, discussions here, it seems that was very complicated, or at least at the time of the discussion I was reading. Is there a way to get dforce to consider displacement? Is there a way to create a morph from the displaced mesh garment prior to the dforce sim?
dlm

Comments
If you have fit control, or possibly some other morph package, you can apply and expand the clothing. Have you checked the item morphs to see if there is possibly an expand all slider?
Take this with a pinch of salt, as I'm not a complete expert, but displacement is applied at the HD/SubD level at the rendering stage, and regular users don't have access to manipulate HD morphs in order to convert that to something at the simulation stage.
Your three real options are:
- paint out any parts of Level 1's displacement maps that should be hidden,
- adjust the displacement surface settings so that it only (or mostly only) projects in one direction (in this case, in, but out might be appropriate in other cases)
- apply some form of expand morph to Layer 1 for the simulation (which you can then dial out again for the render) in order to offset Layer 2's simulation enough that the two aren't clipping.
Unfortunately, displacement is always a bit of a nuisance when it comes to clipping.
Too much displacement. Lower the amount.
Consider what displacement does. It moves the geometry, which means it can move it through other items; hence the 'lower the amount'.
Personally, I would try lowering the amount, or paint over the parts that shouldn't be there (or perhaps both) - whichever looks best and takes the least amount of time.
The idea, isn't to get a perfect render - but to get a perfect (or at least one we're happy with) finished image: the how is pretty much irrelevant.
Thanks for the replies. Taking all advice, I got the effect I wanted. I dialed out the displacementout of ggarment on layer 1. I used Fit Control to asjust the region back out to where it looked right. Then I ran dforce sim to get garment on layer 2 to drape over garment on layer 1. Then I dialed out the Fit Control and put the displacement back in to get the details where garment 1 was visible. It took a couple of tries to get it the "expanded" layer 1 to be at the right size,, but it worked.
thanks,
dlm