Jump to content
Sign in to follow this  
Richard Roberts

Hair Instance Color Mapping Issue

Recommended Posts

Hi there,

 

I am working with cinema 4d's hair system and I love the ability to drive hair color by the texture map of my uv'd object that I am trying to add hair to.

 

My problem is this doesn't seem to work when you either generate cards or instances off the hair system. What I am trying to do is use flat cards and have those also driven by the hair material so each card picks up the color of the texture map from the uved object there being generated from.

 

I am attaching two screenshots and a zipped file to my test project file with the setup and textures. My team and I are super stuck and any help would be amazing.

 

Thank you!

 

 

Instance_Plane_Mapping.PNG

Hair_Color_Mapping.PNG

Example_Test.zip

Share this post


Link to post
Share on other sites

Hi and welcome to the cafe. If you change the textures maps from uvw to spherical on both the cards instances and the large spherical object you will get the results you are after.

fix_test.jpg

Share this post


Link to post
Share on other sites
  • Topic Author
  • Thanks so much for the reply. I am running into two issue with this.

     

    1. The spherical mapping isn't entirely accurate. There are cards on the top where they should be blue but are pink.

     

    2. This example is just a test scene, my plan is to use cards with alpha's on to create feather on my object. I need to use the texture to drive color because my bird is very complex in terms of color and pattern. Hand doing areas won't allow for a realistic transition.

     

    Any help is much appreciated.

    Share this post


    Link to post
    Share on other sites

    Hi Richard, you can go to Hair/Generate/Flat. That will give you planes/cards ready for texture application including alphas. Should you need to go cross platform later, you can manipulate the Hair cards in C4d (with the Hair tools and from inside the hair texture tag: frizzing, clumping, etc) and then bake them for use in any other package.

     

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • Hi Helix,

     

    Thanks so much for posting, generating flat cards and using my material with an alpha does give me the feathers I am after but the problem lies with the texturing. Each card is being given separate uv's which isn't what I am after.

     

    I am looking for the cards to utilize the same uv's the hair does when you plug in the texture map to drive the color. Attached is what you get. When you use just hair you can see the colors are accurate to the base texture. 

    Capture.PNG

    Hair_Color_Mapping.PNG

    Share this post


    Link to post
    Share on other sites

    Understood, for the moment my little one keeps me busy, but I'll look to it later tonight

    Share this post


    Link to post
    Share on other sites

    Alright Richard, so when you're done manipulating your cards and before baking them, go to Hair/Generate/Advanced/Uncheck Single Object.

    Now make Hair editable and all your cards should have individual but identical UV mapping.

     

    If you still have issues let us know.

    VH

    Share this post


    Link to post
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    Sign in to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    Latest Topics

    Latest Comments

    ×
    ×
    • Create New...