Difference between revisions of "Content Dev:IC Avatar Collision Shapes"

From Reallusion Wiki!
Jump to: navigation, search
m (Production Instructions and Restrictions)
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{TOC}}
 
{{TOC}}
{{Parent|Content_Development#CC_Content_Development|CC Content Development}}
+
{{Parent|Content_Dev:IClone|iClone}}
  
 
== Production Instructions and Restrictions ==
 
== Production Instructions and Restrictions ==
Line 67: Line 67:
  
 
We recommend you download the [[Media:Collision_Shape_ini_Data.zip|CC3+ Neutral ini file]] to start off the adjustment process.
 
We recommend you download the [[Media:Collision_Shape_ini_Data.zip|CC3+ Neutral ini file]] to start off the adjustment process.
 +
 +
== Production Tips ==
 +
 +
The collision shape for the upper chest to the shoulders should be embedded into the neck.
 +
 +
<ul>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_03.png|frame|{{Wrong|The collision shape sticks, producing a gap between the back and the hair.}}]] </li>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_04.png|frame|{{Right|When placed closer to the neck, allows the hair to fall properly to the back.}}]] </li>
 +
</ul>
 +
 +
When setting the size of the collision shape, factor in the widest width of the limbs, especially for the thighs.
 +
 +
<ul>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_05.png|frame|{{Right|Set the thickness of the collider to the largest diameter of the thigh.}}]] </li>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_06.png|frame|If the collider is smaller than the largest diameter of the thigh, then cloth worn over the legs will sink into the mesh, like the figure to the right.]] </li>
 +
</ul>
 +
 +
The colliders for the trunk of the body must be connected, without any gaps in between.
 +
 +
<ul>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_07.png|frame|{{Right|Colliders for the trunk of the body must be big enough to connect with each-other.}}]] </li>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_08.png|frame|{{Wrong|Leaving a gap between the colliders inside the body can create gaps where collision with the surround clothe can fail.}}]] </li>
 +
</ul>
 +
 +
Make sure the colliders for the buttocks are properly sized to cover the region.
 +
 +
:[[File:cc33_collision_shapes_09.png|frame|left]]
 +
 +
{{clear}}
 +
 +
It's recommended to use the capsule collider instead of the sphere shape to support the shape of the breasts.
 +
 +
<ul>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_10.png|frame|{{Right|Using the capsule colliders for the breasts prevents the hairs from falling into the chest.}}]] </li>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_11.png|frame|{{Wrong|Using the sphere colliders for the breasts makes it easy for the hairs to intersect with the chest.}}]] </li>
 +
</ul>
 +
 +
Situations where certain clothes forms a wide gap from the body due to the collision shapes can be fixed with a simple setting:
 +
 +
<ul>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_12.png|frame|{{Right|Use the cloth's wide buffer gap with the PhysX '''Soft vs Rigid Collision setting'''. Also, consider changing the collision shape.}}]] </li>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_13.png|frame|The collision shape settings here has no effect on the cloth itself.]] </li>
 +
</ul>
 +
 +
Certain cloth may cut right into the colliders because the physics weight map might have grey-scale data or gradients. Consider editing the weight map to fix this issue.
 +
 +
<ul>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_14.png|frame|Grey-scale data in the weight map can cause the clothe to sink into the colliders.]] </li>
 +
<li style="display: inline-block;"> [[File:cc33_collision_shapes_15.png|frame|A completely white weight map will rely 100% on the physics engine to conform around the colliders.]] </li>
 +
</ul>
 +
 +
For high fidelity simulation of the cloth physics, make sure to use the '''By Frame''' setting in the timeline:
 +
 +
[[File:Cc33_collision_shapes_16.png]]
 +
 +
Don't put too much detailing into the weight map for the clothe. The complete dark areas must also cover the included vertices completely. You can visualize the weight map coverage by saving it out as a diffuse map for the clothe (with wire-framing and shaded mode on).
 +
 +
[[File:Cc33_collision_shapes_17.png]]

Latest revision as of 23:57, 17 June 2021

Main article: iClone.

Production Instructions and Restrictions

  • The number of Collision Shapes in the whole body of each character cannot exceed 16 (there is an upper limit for calculating collisions).
  • Do not use Box for Collision Shape when Create New.
  • Try not to circle the Collision Shape beyond the scope of the Mesh, especially the head.
  • Collision Shape from the upper edge of the chest to the shoulders, placed in the area of the neck.
  • The limbs try to use the widest area of the Mesh as the diameter of the Collision Shape, especially the thighs.
  • The Collision Shape of the torso must be coherent, without gaps.
  • Be sure to weigh the ass and chest to avoid side leakage.
  • Recommendation: Try to use Capsule shape for the chest to prop up the sloped area between the clavicle to chest.

CC3+ Basic Collision Shape Structure

The collision shapes below are all capsules:

  • Caption 1
  • Caption 2
  • Parts Areas Quantity Direction
    A Head x1 Y-axis
    B Neck x1 Y-axis
    Shoulder to Chest x1 Z-axis
    Chest x2 Y-axis
    C Lower Chest x1 Z-axis
    D Limbs x8 Y-axis
    E Waist to the buttocks x2 Y-axis

We recommend you download the CC3+ Neutral ini file to start off the adjustment process.

Production Tips

The collision shape for the upper chest to the shoulders should be embedded into the neck.

  • ✘ Wrong: The collision shape sticks, producing a gap between the back and the hair.
  • ✔ Right: When placed closer to the neck, allows the hair to fall properly to the back.

When setting the size of the collision shape, factor in the widest width of the limbs, especially for the thighs.

  • ✔ Right: Set the thickness of the collider to the largest diameter of the thigh.
  • If the collider is smaller than the largest diameter of the thigh, then cloth worn over the legs will sink into the mesh, like the figure to the right.

The colliders for the trunk of the body must be connected, without any gaps in between.

  • ✔ Right: Colliders for the trunk of the body must be big enough to connect with each-other.
  • ✘ Wrong: Leaving a gap between the colliders inside the body can create gaps where collision with the surround clothe can fail.

Make sure the colliders for the buttocks are properly sized to cover the region.

Cc33 collision shapes 09.png

It's recommended to use the capsule collider instead of the sphere shape to support the shape of the breasts.

  • ✔ Right: Using the capsule colliders for the breasts prevents the hairs from falling into the chest.
  • ✘ Wrong: Using the sphere colliders for the breasts makes it easy for the hairs to intersect with the chest.

Situations where certain clothes forms a wide gap from the body due to the collision shapes can be fixed with a simple setting:

  • ✔ Right: Use the cloth's wide buffer gap with the PhysX Soft vs Rigid Collision setting. Also, consider changing the collision shape.
  • The collision shape settings here has no effect on the cloth itself.

Certain cloth may cut right into the colliders because the physics weight map might have grey-scale data or gradients. Consider editing the weight map to fix this issue.

  • Grey-scale data in the weight map can cause the clothe to sink into the colliders.
  • A completely white weight map will rely 100% on the physics engine to conform around the colliders.

For high fidelity simulation of the cloth physics, make sure to use the By Frame setting in the timeline:

Cc33 collision shapes 16.png

Don't put too much detailing into the weight map for the clothe. The complete dark areas must also cover the included vertices completely. You can visualize the weight map coverage by saving it out as a diffuse map for the clothe (with wire-framing and shaded mode on).

Cc33 collision shapes 17.png