CINEVERSITY

    Maxon Logo
    • Login
    • Search
    • Recent
    • Popular
    • Users
    • Groups

    Hair object export help please

    Question & Answers
    cinema 4d hair-texture alfa map fbx export
    2
    14
    1204
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      confidence-devil last edited by

      ok , is there a way to export the opacity map of the hair material as a texture? then i can just add a random hair texture off of google but would have the right opacity levels, not sure if this makes. I've seen a YouTube video of making hair in blender with a similar hair addon like c4d using the original material opacity map. also say I wanted a gradient of color starting from the root to the tip or say I wanted a texture pattern on the object and the hair grows in that texture ( like how you can natively do with hair material), is redshift the answer for that?

      1 Reply Last reply Reply Quote
      • Dr. Sassi
        Dr. Sassi last edited by Dr. Sassi

        Hi confidence-devil,

        I am not clear on what your expectations are here. Hair is a Volume effect in its default state. To switch it to flat, place a segment-based stripe with a resolution according to the Segments set in Hair. Each Flat "Object" or Hair represents on single Hair. Those are not affected by the Hair Material other than shape-defining channels.

        Since you mention Opacity, I assume you are not using the Standard Material. Be that as it will, if we call it Alfa, Transparency, or Opacity: There is no image or map. In the Hair material, a Gradient affects a single Hair if left on default. If there is any expectation that there is a multiple hair matte – a strand matte, that is not the case, nor is there any option to produce such with baking, for example.
        What you need to do, is to open Photoshop or BodyPaint 3D, any pixel-based application that has a brush, and create what your project needs.

        Besides that, please open the file below to specify a folder where you like to have the Strand mattes rendered.

        You get 73 variations. I hope there is something you can use in it.
        Use those as Alfa, Transparency, or Opacity; perhaps, in some apps, they need to be inverted.

        The hair color can be procedural; with all the channels, you have to define the surface you like.
        CV4_2023_drs_23_HAmt_01.c4d

        Enjoy your weekend

        Dr. Sassi Sassmannshausen Ph.D.
        Senior Trainer, Maxon Master Trainer, L&D - Strategist
        Cinema 4D mentor since 2004, Member of VES, DCS.

        1 Reply Last reply Reply Quote
        • C
          confidence-devil last edited by

          Thank you for all your help. I think if I can get the uv map of the hair object to export out, I then can make my custom maps in photoshop allowing me to know the direction of the strain. I couldn’t see any uvs when selecting the hair object and going to uv editor, but I never tried it with your material tag. Not sure if I’m messing a step to see and expor the uv map. Thanks again much appreciated

          1 Reply Last reply Reply Quote
          • Dr. Sassi
            Dr. Sassi last edited by Dr. Sassi

            You're very welcome, confidence-devil.

            At the moment, you use "Flat," which has internally already set up UV data. While exporting, this is reproduced.

            To understand more about what happens, try the following.

            Set up an object

            Call up Hair
            Set up "Hairs" to a lower number
            Increase the Hair material Thickness
            Set up the Generate to Flat.
            If it looks OK:
            While the Hair Object is active, press the C key.

            Can you see ht UV tag?

            Cheers

            Dr. Sassi Sassmannshausen Ph.D.
            Senior Trainer, Maxon Master Trainer, L&D - Strategist
            Cinema 4D mentor since 2004, Member of VES, DCS.

            1 Reply Last reply Reply Quote
            • C
              confidence-devil last edited by

              Ok I will try that when I get home. So when export as fbx it would be in there?. But if my other program can’t see that is there a way to export just the image file of the uv?

              1 Reply Last reply Reply Quote
              • Dr. Sassi
                Dr. Sassi last edited by

                Hi confidence-devil,

                The first step I do when I have exported an FBX is to call up a new project and merge the FBX into that. If there is a problem, it most likely will show problems down the road.

                The other question is, what target app do you have? If possible, I can try it.

                UV data is like a copy of the polygons but used per polygon to frame a particular texture area. This is typically done in a normalized space, meaning that one can swap out a low-res image for a high-res image without starting over.

                Let me know what you need, and I will try to find a way to explore that.

                All the best

                Dr. Sassi Sassmannshausen Ph.D.
                Senior Trainer, Maxon Master Trainer, L&D - Strategist
                Cinema 4D mentor since 2004, Member of VES, DCS.

                1 Reply Last reply Reply Quote
                • C
                  confidence-devil last edited by

                  I use character creator 4. I needed a specific hair, so I made it in c4d. then I just used some of the hair materials from other hair already in character creator 4, It worked, but now I needed some way more specific control. I’m trying to make a let’s Call it a fury rope, but I want the hair to be like in a cheetah random pattern effect. So I was hoping to be able to use c4d , import to color Chanel and go to root and import the cheetah texture and have the hair have that hair growth in that pattern. I know how to do it on the hair material but that doesn’t renderer out any image.

                  1 Reply Last reply Reply Quote
                  • Dr. Sassi
                    Dr. Sassi last edited by Dr. Sassi

                    Thanks a lot for the information, confidence-devil.

                    Please have a look here:
                    https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2023_PROJECTS_DRS/20230421_CV4_2023_drs_23_HAef_11.zip

                    I have included my "Hair-Strand-Machine" with a flipped camera, so you don't have to worry about UVs. Render out what you need, place it into the Alfa channel in C4D, and – done.

                    The manual of CC4 shows a few options. FBX, OBJ, and GoZ caught my attention.

                    In the folder, you will find an FBX and OBJ file. There is more data in this folder; please keep it as it is right now.

                    Load one or the other into CC4, I don't have a Windows machine here, and they don't have a Mac version, so please explore the options.

                    I hope we find the best way for you.

                    If you have ZBrush, the GoZ option might work, but again, I can't test that.

                    Enjoy

                    Screen Shot 2023-04-22 at 12.02.03 AM.jpg

                    Dr. Sassi Sassmannshausen Ph.D.
                    Senior Trainer, Maxon Master Trainer, L&D - Strategist
                    Cinema 4D mentor since 2004, Member of VES, DCS.

                    1 Reply Last reply Reply Quote
                    • C
                      confidence-devil last edited by

                      Wow thanks, def check it out when off work. Cc4 does have pipeline to z brush GOZ, I have experimented with it sending over characters to customize some polygons then goz back to cc4. I also have substance painter which is pretty amazing too

                      1 Reply Last reply Reply Quote
                      • Dr. Sassi
                        Dr. Sassi last edited by

                        Sounds great, confidence-devil,

                        This means there should be one way or another to get to CC4.

                        I just started with the Adobe Substance package. I had it many years before Adobe bought it. I'm happy to have it finally back. So, if there is a way with it, I'm also happy to look into it. Perhaps you know more about Substance and CC4.

                        Have a great weekend.

                        Dr. Sassi Sassmannshausen Ph.D.
                        Senior Trainer, Maxon Master Trainer, L&D - Strategist
                        Cinema 4D mentor since 2004, Member of VES, DCS.

                        1 Reply Last reply Reply Quote
                        • First post
                          Last post