Get Version 4 ! mcjHatsAreTheFashionOfTheDay : Fit Any Hair in Hats Pc/Mac

13

Comments

  • mCasualmCasual Posts: 4,607
    edited February 2019

    ------------------------------------------------

    New Option added 02/20/2019

    ------------------------------------------------

    if you checkmark the 'Far Hit ( it's far out man ) checkbox, instead of stopping at the inner wall of the skull they will stop at the last hit point , so, for example, at the surface of the ears, or at the surface of the eyeballs

    allover.jpg
    800 x 800 - 71K
    wrap3d.jpg
    617 x 999 - 101K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607

    - it requires my free mcjCollider plugin

    - it probably works better on non-fitted hair and even objects/props

     as you can see in the next post the 'hair' was a primitive-sphere

     

    lukon100 said:

    Does it require dForce?

    Does it work with non-fitted (or is that "non-conforming") hairs?

    I often use a hair without "fitting" it to the character. So I was wondering whether this scrip could even get such non-fitted hairs under a hat.

     

  • barbultbarbult Posts: 24,240
    edited February 2019

    I like the new option. Here is my first attempt with a high resolution sphere OBJ. I made the sphere by subdividing a cube, so the UV is kind of wacky for a sphere, but it creates an interesting pattern in the "sock".

    I call it Floyd with a Sock on his Head.

     

    Floyd with a sock on his head.jpg
    1600 x 2000 - 2M
    Post edited by barbult on
  • lukon100lukon100 Posts: 803
    mCasual said:

    - it requires my free mcjCollider plugin

    - it probably works better on non-fitted hair and even objects/props

     as you can see in the next post the 'hair' was a primitive-sphere

     

    lukon100 said:

    Does it require dForce?

    Does it work with non-fitted (or is that "non-conforming") hairs?

    I often use a hair without "fitting" it to the character. So I was wondering whether this scrip could even get such non-fitted hairs under a hat.

     

    Oh, cool!

  • mCasualmCasual Posts: 4,607
    there's 3 or 4 uv remappers in my site mcjBoxUV mcjPlanarUV mcjSphere... mcjRadial...
    barbult said:

    I like the new option. Here is my first attempt with a high resolution sphere OBJ. I made the sphere by subdividing a cube, so the UV is kind of wacky for a sphere, but it creates an interesting pattern...

  • barbultbarbult Posts: 24,240
    mCasual said:
    there's 3 or 4 uv remappers in my site mcjBoxUV mcjPlanarUV mcjSphere... mcjRadial...
    barbult said:

    I like the new option. Here is my first attempt with a high resolution sphere OBJ. I made the sphere by subdividing a cube, so the UV is kind of wacky for a sphere, but it creates an interesting pattern...

    Gosh, you are prolific! I'll take a look.

  • barbultbarbult Posts: 24,240
    edited February 2019

    I changed the taper on my "sock" from 5 to 12 and I was surprised to see the sphere extended way down below the plane. These images are the sphere and plane with the mcjFitHat at 100% and 0%.

    Floyd Sphere Hat Fit 0% Taper 12.JPG
    1455 x 1930 - 204K
    Floyd Sphere Hat Fit 100% Taper 12.JPG
    1467 x 1935 - 207K
    Post edited by barbult on
  • grinch2901grinch2901 Posts: 1,246
    edited February 2019

    This is so good!  Here are some illustrations:

    1) Hat and har without the script being run

    2) Hat and hair after script

    3) Hair - hat visibility turned off so you can see what the morph created by they script looks 

    Thanks for this really useful tool!

    Claudia Hair - Before.jpg
    1229 x 950 - 262K
    Claudia Hair - Hat.jpg
    1229 x 950 - 270K
    Claudia Hair - No Hat.jpg
    1229 x 950 - 262K
    Post edited by grinch2901 on
  • mCasualmCasual Posts: 4,607
    glad it gets used by.others than me i'll hesitate.less to add hats to my renders, it's part of the plan to make spring begin before March 21 by the way.

    This is so good!  Here are some illustrations:

    1) Hat and har without the script being run

    2) Hat and hair after script

    3) Hair - hat visibility turned off so you can see what the morph created by they script looks 

    Thanks for this really useful tool!

  • grinch2901grinch2901 Posts: 1,246

     

    mCasual said:
    glad it gets used by.others than me i'll hesitate.less to add hats to my renders, it's part of the plan to make spring begin before March 21 by the way.

     

    If anyone can figure out a way to change the solar system, it's you!

  • SkelchSkelch Posts: 275

    works very well thank you so much for all you do, some of which I don't even understand, but I got this script to work and it is awesome!

     

  • Charlie JudgeCharlie Judge Posts: 12,726
    edited February 2019

    Thanks for all your great scripts. Unfortunately your web page is being clipped so I can't get to the download all button. I'm not sure what the problem is but I have tried in Chrome, IE11, and Edge browsers and all had the same result

    Edited to clarify that I can't get to the 'download all as a zip' button

    mcasual web.jpg
    1920 x 1080 - 192K
    Post edited by Charlie Judge on
  • barbultbarbult Posts: 24,240
    edited February 2019

    Thanks for all your great scripts. Unfortunately your web page is being clipped so I can't get to the download button. I'm not sure what the problem is but I have tried in Chrome, IE11, and Edge browsers and all had the same result

    It look like your scroll bar is not all the way to the bottom. Is that the problem. (Seems to easy to be true, but just in case, I thought I'd suggest it.)

    This is what I see in Chrome.

    mcj page.JPG
    1077 x 1086 - 132K
    Post edited by barbult on
  • Charlie JudgeCharlie Judge Posts: 12,726
    edited February 2019
    barbult said:

    Thanks for all your great scripts. Unfortunately your web page is being clipped so I can't get to the download button. I'm not sure what the problem is but I have tried in Chrome, IE11, and Edge browsers and all had the same result

    It look like your scroll bar is not all the way to the bottom. Is that the problem. (Seems to easy to be true, but just in case, I thought I'd suggest it.)

    This is what I see in Chrome.

    I was taking a screen shot to show that you can't get to the download all as a zip button. From your screen shot it looks like you have the same problem 

    Post edited by Charlie Judge on
  • barbultbarbult Posts: 24,240

    I don't think there is a single arrow to download all of the zip files at once. I don't think you even need to download all of them. One is for Windows 32 bit, one is for Windows 64 bit, one is for Macintosh, one is source code, etc. I only downloaded the one for Windows 64 bit and the manual.

  • barbult said:

    I don't think there is a single arrow to download all of the zip files at once. I don't think you even need to download all of them. One is for Windows 32 bit, one is for Windows 64 bit, one is for Macintosh, one is source code, etc. I only downloaded the one for Windows 64 bit and the manual.

    Look at the section in red. Previously when I have gone to mCasual's site the line lead to a button to download all as a zip button

  • mCasualmCasual Posts: 4,607
    i never saw ( or implemented ) an arrow button to download all zip files as one zip file so the way it's meant is, you click on the little down-arrow and you get 1 file, sometimes that file is a zip file, sometimes it's a pdf, sometimes it's a dll. sometimes google or your antivirus will go parano and try to prevent you from downloading dlls, but there never was a virus distributed.by my site
  • RAMWolffRAMWolff Posts: 10,212

    Hiya,

    So where does the mcjCollider.dylib go?

  • barbultbarbult Posts: 24,240
    RAMWolff said:

    Hiya,

    So where does the mcjCollider.dylib go?

    That is for Macintosh. Are you using a Mac?

  • RAMWolffRAMWolff Posts: 10,212

    Ah ok.  Thank you.  Nope, PC all the way!  

  • grinch2901grinch2901 Posts: 1,246

    Since it's a morph, it can be partially dialed up to make a "hat hair" morph.  I can think of some scenarios where that could be good for a laugh in a render.

     

    Hat Hair.jpg
    500 x 500 - 134K
  • mCasualmCasual Posts: 4,607
    bathing cap ruined my perm !

    Since it's a morph, it can be partially dialed up to make a "hat hair" morph.  I can think of some scenarios where that could be good for a laugh in a render.

     

    featuredcap.jpg
    1200 x 627 - 67K
  • barbultbarbult Posts: 24,240
    mCasual said:
    bathing cap ruined my perm !

    Since it's a morph, it can be partially dialed up to make a "hat hair" morph.  I can think of some scenarios where that could be good for a laugh in a render.

     

    Oh! That is so sweet. What a cute kitten!

  • godlygodly Posts: 2
    edited June 2019

    After playing with the collider and other mcjScripts for some time I found this one by accident. No offence meant but the handling is quite complicated. I read the description more than once. So I added a few (100+) lines of code around mcjHats. The modified version adds - and removes after execution - the collider on its own. It also adds the plane above the ears.
    Just added an orbit camera (https://www.daz3d.com/forums/discussion/85971/a-script-to-orbit-camera-around-a-point) so one can check the result and toggle the morph and the plane visibility within the script.

    I tested it with Win64/DAZ Studio/mcjCollider and I'm happy to share the code with you: https://github.com/godly/daz3d-scripts

    Click the 'Clone or Download' / 'Download ZIP' button to fetch a copy and to extract its content folder to your content folder. Select the hair and run the script. That's all. I don't intend to hijack this thread while it would be nice to know whether this simplified version gets used.

     

    PS: The logic to create the morph is mCasuals one, don''t credit me if it fails while I hope that the code I've added is error-free and mCasual will assimilate it. So nearly the same icons are used and you may use either mCasuals' or this version as different installation pathes are used.

    Post edited by godly on
  • ViallyVially Posts: 343
    edited July 2019
    barbult said:

    I tried the deforce High Resolution (subD) Bang Bob hair again with the Romi Headcloth. That headcloth is very asymmetrical where it meets the head. However, I was able to get surprisingly good results. I dialed a couple headcloth morphs a little bit to get a slightly better fit around the head. I never could have achieved anything close to this without your collider and script. It is great! The latest version of the script handled changing the resolution to base and back to my selected resolution just fine. I was able to save the scene ane  reopen it just fine, too.

     

     

    I really like the way the script is working on the hair in this. (actually the whole render is great.)

    I have a question(s) though that maybe no one has noticed. Above her right brow, where the scarf is meeting the hair, it appears that the hair is going through the scarf. Above her forehead it appears to be great with just a bit of "gap" but the brow looks chopped. Is this a setting that can be adjusted or is it a trial and error type of thing, (much older computer, so renders take a LOOOOooong time.)

     

    I've also noted that on a few other renders, the hair is going through ears, can this script be used to resolve that as well, (Maybe as the "sock" example?)

    Edit to add: have downloaded simply because as it is, it appears to resolve 98.999% of the issue with "hats". And I'm weird, hats are just one of those "I don't know why I like them, but I do" type of things.

    Post edited by Vially on
  • mCasualmCasual Posts: 4,607
    below the hat line, the hair-shrinking effect goes from 0 percent and reaches 100 percent at the altitude of the plane and above. you may solve some issues by moving that plane lower od higher than the level where the hat meets the head, then tweaking the strength of the hat-fit morph. Also by adding collision objects to what the collider collides against
    Vially said:
    .:::

  • Silver DolphinSilver Dolphin Posts: 1,607

    Nice, thank you. As always great work!

  • Faeryl WomynFaeryl Womyn Posts: 3,623
    edited July 2019

    I'm confused..what on this image do I need to download. This is the page I was led to from the first post and the mention of a version 2...? So ya a bit confused as to what I need to download to make sure you hats script works, cause I can't see version 2 in the list.

     

    Capture.PNG
    914 x 307 - 18K
    Post edited by Faeryl Womyn on
  • mCasualmCasual Posts: 4,607
    edited July 2019

    the system to fit the hair has 2 parts

    1 - the mcjCollider plugin which does millions of computations, which is why it's a plugin and not a script

    2 - the mcjHatsAreTheFashionOfTheDay script which uses the services of mcjCollider to squeeze the hair

     

    the page you show me is correct, it's for the mcjCollider plugin for Daz Studio 4.5 and up

    you need one of the 3 files dated February 19th 2019

    the dylib one is the plugin for MACs

    the mcjColliderDS45_64bit.dll  is for 64bit PCs

    mcjColliderDS45.dll is for 32bit PCs

     

    in the case of the script mcjhatsarethefashionoftheday the most recent version is February 20th 2019 

     

    I'm confused..what on this image do I need to download. This is the page I was led to from the first post and the mention of a version 2...? So ya a bit confused as to what I need to download to make sure you hats script works, cause I can't see version 2 in the list.

     

     

    mcjColliderDS45_64bit.dll 

    (439k)

     

    Post edited by mCasual on
  • Faeryl WomynFaeryl Womyn Posts: 3,623

    Ok got what I needed and thanks

Sign In or Register to comment.