We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Home Forums Graphics / Blender Hair Cards Transparency

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #70907
    xeon
    Customer

    I looked at your blend file and made a modification to your haircard_clipmap.JPG

    Just as a general its best to use an file format with an alpha channel (.PNG, .WEBP). You will get predictable results.

    I took your file….separated the white out and created a new .WEBP and applied it to your model.

    As you can see EEVEE, EEVEE render and V3D look very close.

    Project/Blendfile here: https://v3d.net/t91

    • This reply was modified 10 months ago by xeon.
    • This reply was modified 10 months ago by xeon.
    Attachments:
    You must be logged in to view attached files.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #70913
    tomtm
    Customer

    I looked at your blend file and made a modification to your haircard_clipmap.JPG

    Just as a general its best to use an file format with an alpha channel (.PNG, .WEBP). You will get predictable results.

    I took your file….separated the white out and created a new .WEBP and applied it to your model.

    As you can see EEVEE, EEVEE render and V3D look very close.

    Project/Blendfile here: https://v3d.net/t91

    Hi Xeon
    Thanks, it looks better now with your solution.
    I didn’t check the file format because clip maps are mostly delivered in .jpg format
    and work well with most 3D Applications.
    But a very good hint. Thanks.

    Alpha-Hashed also results with white borders right? Maybe it’s not possible to use for hair cards.

    Tom

    #70915
    kdv
    Participant

    Alpha-Hashed also results with white borders right?

    Nope. Looks quite good.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #70917
    xeon
    Customer

    The webp file I created was very rough. Meaning I did quickly masked out the white and did not take any time creating a clean mask. Which is why I used Alpha Blend. Using Alpha Hashed can cause the original color (in this case white) to appear in some spots. But for the most part it should look good.

    JPG Hair cards are not going to work well so you will want to separate them into an alpha based image format. There is nothing wrong with using Alpha Blend to get the effect you want…its probably the most simple solution for you as you can just separate the white hairs in the image using tools similar to tonal range selection.

    If you have a technical reason for using Alpha Hashed and you do find colorization you don’t want…you will find that if you colorize your files from black and white to black and the color of the hair you want..then alpha hash will work without creating the white but it still should be on a separate alpha layer. The white areas are the blending areas between the color edge and the mask that are not able to be clipped by alpha hash.

    Attached is the webp….i didn’t pack it in the blend file.

    • This reply was modified 10 months ago by xeon.
    • This reply was modified 10 months ago by xeon.
    Attachments:
    You must be logged in to view attached files.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #70932
    tomtm
    Customer

    Alpha-Hashed also results with white borders right?

    Nope. Looks quite good.

    ok, thanks for testing. So it might be something with my clip map. But good to see it’s possible.

    #70933
    tomtm
    Customer

    The webp file I created was very rough. Meaning I did quickly masked out the white and did not take any time creating a clean mask. Which is why I used Alpha Blend. Using Alpha Hashed can cause the original color (in this case white) to appear in some spots. But for the most part it should look good.

    JPG Hair cards are not going to work well so you will want to separate them into an alpha based image format. There is nothing wrong with using Alpha Blend to get the effect you want…its probably the most simple solution for you as you can just separate the white hairs in the image using tools similar to tonal range selection.

    If you have a technical reason for using Alpha Hashed and you do find colorization you don’t want…you will find that if you colorize your files from black and white to black and the color of the hair you want..then alpha hash will work without creating the white but it still should be on a separate alpha layer. The white areas are the blending areas between the color edge and the mask that are not able to be clipped by alpha hash.

    Attached is the webp….i didn’t pack it in the blend file.

    Thanks a lot Xeon, I will test it with new better clip maps and will compare
    results in PC Browser and later in VR.

Viewing 6 posts - 16 through 21 (of 21 total)
  • You must be logged in to reply to this topic.