CBS/ JCMs Help
James
Posts: 1,003
So... I load a morph to existing CBS on genesis 9.
the name is: body_cbs_shoulder_z55n_r
The morph kicks in when the shoulder start to bend.
I want to the morphs only kicks when the shoulder bend at certain value let's say at 90%.
I don't know how to do this.
If I tried ERC Freeze on the bend parameter, but
the body_cbs_shoulder_z55n_r
isn't on the list
If I ERC Freezed the body_cbs_shoulder_z55n_r
DAZ crashes....
So what to do?
Comments
If you want the morph to kick in at ninety percent then you need to set its lower limit to 0 and subtract 0.9 from its value - that way only when the controller hits 90% (0.9) will it start to have a non-zero value. This can be done through the Property Hierarchy pane - if you have the Paramaters pane in edit mode (which you must to use ERC Freeze) then the right-click menu will let you find properties in the hierarchy and you can drag others across (in this case, the existing CBM into your morph's Controllers>1st Stage section) to create a new link, then you can edit the values as needed.
Sine this is all, prsumably, tied to one project you might do better with a single thread - then people will have more context.
- Technically you may use ERC [Keyed] as the Type of Controller with proper settings as below... but you should create a CBS of your own to modify the default corrective morph other than directly setting it on default "body_cbs_shoulder_z55n_r".
- You should not manually ERC Freeze on joint rotations (e.g. that Bend dial). They're defined as a Controllers ( in Property Hierarchy ) to 'push value(s)' to target morph dials, and the definitions are saved within the corrective morphs' dsf files (as formulas)...
- You shoud not manually ERC Freeze on ...CBS morphs either as they'll have 'pushed values' from their Controllers. You just need to save the defined corrective morph assets to your vendor folder.
@Richard
ok.
@crosswind
Yes, I have made my own corrective morphs for body_cbs_shoulder_z55n_r
Does genesis 9 have different way on creating the ERC to fix clothing?
I have watched many videos, but they are all genesis 8 and they are all ERC freeze the joint rotation, for ex: Bend, of the cloth after importing the morph fix
-----
I wonder why some people save their modified Jcm morphs as morph asset?
What for?
------
So I tested using ERC [keyed]
the result not as I expected.
The smoothest transition would be using ERC [Delta Add]
But there's a problem as shown in this pic:
On the way up the fabric intersects the arm.
any solution?
There's no really different way to fix corrective morphs on G9's clothing, only the naming convention has been changed from pJCM to CBS. However, I myself have not seen corrective morphs or joint rotation on a garment with manual ERC Freeze, let alone a 'video'. Pls show me some examples...
The reason why we fix pJCM/CBS on a garment is that the auto triggered corrective morph on the garment is not correct in terms of geometry, then we must save the fixed / imported corrective morphs as morph assets along with the garment (in the data folder of the garment), to override the auto triggered corrective morphs.
The SS I showed you was done on a G9's base figure according to your '90%'s case' though we normally never do so... well I just showed you the mechanism of ‘Keyed’. 'Keyed' is stronger than Delta Add. You can define various range of values and of course it brings you the smoothest transition with Key Types (TCB/Linear...). It's commonly used in lots of products depending on various conditions of Controlling.
For such a case on a garment, I'm still not sure why you have to give it a 'threshold' of a certain value or percentage, but technically if you wanna do so, you need to uncheck 'Auto Follow' in its Parameter Settings, then add a Rotation as its Controller and set Keyed range. The mechanism is always the same, just the settings are different.
as this clip - : https://mega.nz/file/2SI2gBZb#fsGsRorvoL3oNycTvOho65o_zZ6VkbEdXVvNT97BlFc
So here's two examples of video of making clothing JCM:
By Sickle Yield
By Josh Darling
When we import the corrective morph, wouldn't it already saved somewhere replacing the old one(s)?
The first time I use ERC [delta add] (default) but then a problem appears as shown on the screenshot above.
So I thought maybe... I should let the weight map handle the situation up to certain degree, and then let the corrective morph kicks in.
But it make the looks weird, cos the transition looks popping out.
---
Hemm... I think can just use smoothing modifier to handle the intersection.
---
I saw your video.
What is the effect of turning on / off the auto follow in this case.
I know autofollow useful to make the cloth follow the change of the body. if it's off, when there's body change morph, the cloth wont follow the change..
But this body_cbs_shoulder_z55n_r isn't related to body change.
So, is autofollow on or off makes any difference?
There's no problem with SY's tutorial as it's the typical fixing process of corrective morphs. But JD's video related to G2 on which there's no Base Joint Correctives mechanism (and no Property Hierarchy either if I remember correctly) so he had to create a JCM and ERC Freezed it manually. From G3 on, you don't fix morphs in that way.
- When we import the corrective morph, wouldn't it already saved somewhere replacing the old one(s)?
Yes, it will overwrite the auto triggered JCM dial and update the mesh (vertex positions) of your garment in Viewport but just in RAM. Then you must save the fixed morph assets (*.dsf files) in 'your product folder' with 'your vendor name'.
- The first time I use ERC [delta add] (default) but then a problem...
A weight just determines how the mesh (vertex positions) are influenced. Actually it has nothing to do with the percentage of a corrective morph.
- as for auto follow..
Auto Follow are checked on all default corrective morphs dials of the figure, and I mentioned we normally don't touch it because the pJCM / CBS will be automatically triggered on the garment and adopt the settings of relevant pJCM / CBS on the figure, i.e. the corrective morph will be 'delta added' by its Controllers - a Joint + necessary multiplied conditions.
But if you want a pJCM / CBS to have more complex formulas (like Keyed), i.e. to override the default settings, or create a series of corrective morphs of your own, you should deactivate Auto Follow and set 'your rules' there in Property Hierarchy other than modifying the existing default 'rules'. That is the key difference.
In my type of clothing, where shoulder corrective morph influences most of the surface area, do I even need to use weightmap?
--------------
update:
I've tested it on
body_cbs_upperarm_y110p_r.obj
weightmap has its usefullness which help when the smoothing is on.
It help to shape /cover the upper arm.
Else the intersection will become worst
I wonder, maybe I should make two or three more jcm to help the smooth transition.
----
update:
I wonder, maybe I should make two or three more jcm to help the smooth transition.
Nope, doesn't work that way
Yes, if you want to rig it rather than just use dForce - morphs do not handle rotations, they just move the vertices in a straight line, so their use is limited to making corrections over a limited range of angles.
Is there a list of CBS?
Nope, you don't need to create new CBS... As for 'body_cbs_upperarm_y110p_r', the cloth of your hijab around the areas of shoulder and armpit will be folded and squeezed, you may use dForce or re-simulate it in MD with morph target, then smooth it with Blender if needed..
For G9, official CBS morph files locate in the sub-folders from this path - : \data\DAZ 3D\Genesis 9\Base\Morphs\Daz 3D. The full file list is in here -: http://docs.daz3d.com/doku.php/public/read_me/index/86958/file_list
Is there a way to reset all CBS on my cloth?
I think I should work on all the weightmap first till finish.
It's getting messy.
Remove the .dsf files for any you have saved as assets, then delete any that were embedded in the a saved scene/character preset. That will leave you with the morphs projected from the base figure when they are used.
Yes, restore G9's pose first, delete the hijab and reload it to G9. If you ever saved morph assets of fixed CBS, and you wanna rework on them, firstly delete the relevant dsf files from the data folder of your product.
But if you just wanna rework on weight maps, there's nothing to do with CBS morphs or files, you just go for tweaking weight on bone nodes. Node weight data are stored in the geometry dsf file of your hijab figure in data folder. If the weight are all messy but you don't have the original version of your hijab, you may re-transfer the weight from G9 to the hijab with Transfer Utility.
How to make a JCM only starts to active if none of the shoulder jcms are 0?
It seems if I put one shoulder JCM to multiply the other on add/subtrack, it works as intended.
But... I don't get how this work.
Sickle Yield showed that in her tutorial above, didn't she?
Sickle Yield methods aren't too good if applied on my case.
But I did this and perfect:
I put one shoulder JCM to multiply/divide and the other on add/subtrack,
then it works as intended.
But... I don't get it how this work. I was just lucky.
Technically, you may use 2 Stages' conditions but that should depend on your case and controlling logic... 1st Stage is like a main 'trigger', e.g. a Rotation which will activate pJCM / CBS, 2nd Stage is used for 'multiplying' other condition(s) and the value(s) will be multiplied to calculate the value coming from 1st Stage.
But TBH, as per your case of using 2 'symmetrical' pJCMs as Controllers, one goes to 1st Stage, another goes to 2nd Stage, so their values will be multiplied as the result sent to the 3rd pJCM... the controlling logic seems a bit weird especially when left / right shoulders bend with different degrees... it's still subject to the position of the 3rd pJCM. Anyway, as for 'symmetrical' controllers, suggest use 1st Stage with KEYED while reserving 2nd Stage for other conditions that really need to be 'multiplied'.
The mechanism and approaches in DS ERC controlling could be flexibly used but better not be misused... especially for making a Product...
What values?
I can't yet sink your explanation in to my brain.
As if currently there are still missing puzzles to be able to understand it.
Many of this ERC things is a mystery to me.
Is there a tutorial that explains about this but not too techie?
I changed the texture of my hijab on Marvelous Designer, by adding some internal lines to add internal stiches. The geometry changes as the consequences.
If I exported the hijab new geometry,
can I then use transfer utility and to transfer all the weight map and morphs I've been working on the old hijab to the new one,
by using the old hijab as the source and the new one as target?
Or does it requires me to start again from the beginning ?
As for ERC controlling, 'values' come from the dials... You may check this document for better understanding -: https://www.renderosity.com/freestuff/items/81207. It's not a up-to-date one but helpful.
As for rework in MD, yes, you can transfer weight and morph targets from the old hijab to the new one after you fit new one to the figure.
How to change asset author name (Surface pane) for example in the base color parameter settings?
----
never mind. Found the answer.
Edit > Preferences
Smooth makes my a sharp angle on my hijab becomes a rounded angle.
Is there a way to keep it sharp ?
----
Why does my hijab when I put it on a figure, my non jcm morphs are gone from the shaping pane.
But if the hijab is put on G9, they come out?
That depends on the topology and vertex position around that angle. Move relevant vertices down with Blender and update the vertex positons of its Base geometry, then switch Smoothing Type to Generic. Don't expect it to be too much sharp-angled when Smoothing is enabled...
Not clear for the 2nd issue... what do you mean 'put it on a figure' ?
put it on a character other than the g9 base, such as Jenny
https://prnt.sc/v1Rtpn2UuFUN
If the morph has the same name as a morph on the base figure it will be hidden and will take its value from the base figure.
They are different name, such as: Back adj.
https://prnt.sc/PgCkrZuhE9zj
The prerequisite of being displayed in Shaping pane is that the Path of morph must be set under 'Actor', for instance 'Actor/Adjustment', and Type must be 'Modifier/Shape'...
@crosswind
Ok thank you. That does the trick
----------
What makes dforce clothing still have poke through after simulation?
Is this just the limitation of the dforce tech currently?
I often have a poke through between other cloth and the hijab, such as on the back or on the head
Have you set the collision layers so dForce knows which should be on top? Have you tried adjusting the collision options in Simulation Settings?