Search Unity

Free NormalMap Generator Online

Discussion in 'Assets and Asset Store' started by cpetry, Jun 30, 2014.

  1. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    For everyone who needs a NormalMap Generator for Mac, Linux and whatever...:
    I have build my own online in-browser free normal map generator.
    Please share and give feedback!

    http://cpetry.github.io/NormalMap-Online/

    Screenshot:


    Greetz,
    Christian
     
    Last edited: Jul 2, 2014
    Lex4art, fherbst, yuliyF and 15 others like this.
  2. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Did include gaussian sharpen and some performance improvements.
    If someone has ideas or other enhancements, I would be glad to implement.

    Thanks!
     
  3. JohnRossitter

    JohnRossitter

    Joined:
    Dec 18, 2013
    Posts:
    1,027
    Very cool tool. It's sad that there are not so many option for Mac these days.
     
  4. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Thank you very much!

    Yes I heard that seems to be a big problem.
    Safari also seems to have its trouble with the preview window...
    For now it will be optimized for firefox and chrome only.
     
  5. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Added a bigger view for the rendered part and rotation by mouse (click & drag).
    Slowly looking better...
     
  6. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Displacement and ambient occlusion added.
     
  7. johnbeyer

    johnbeyer

    Joined:
    Sep 2, 2011
    Posts:
    44
    How come that there are so less posts? This is an excellent tool! Thank you very much. It will come in majorly handy.
     
    cpetry likes this.
  8. SQR

    SQR

    Joined:
    Jun 29, 2010
    Posts:
    10
    Really appreciate this! Thank you very much for sharing such an awesome and useful tool!
     
  9. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,356
    Nice tool, thanks

    Can it calculate height/normal map from Diffuse map ?
     
  10. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    That's not logically possible. A diffuse map can not always give you the depth of a material.

    Here (for example some kind of tiled checker kitchen floor) you wouldn't like to have one tile to be deeper than the other tiles. Therefor the height map has to be different.
    But of course, most of the time you can easily create a height map from a diffuse map with the proper tools...

    Diffuse Map <--> Height Map
    diffuse_map.png height_map.png

    Though it is possible to try to receive depth information from photos, I am not sure how to do this... but it is still something i'd like to learn about in the future.
     
  11. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Added some more features:
    • Downloadable filesize now much higher (browser specific ~ 600MB max)
    • Download file choosable with name and type as PNG or JPG (with compression settings)
    • Input dimensions (heightmap) are now equal to output dimensions
    • Simple filechooser
     
  12. zezba9000

    zezba9000

    Joined:
    Sep 28, 2010
    Posts:
    992
    Awesome dude!
     
  13. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Hi Guys!

    I got asked to make some changes.
    So here they are:
    • added specular map
    • added invert button for ambient occlusion
    • corrected white as "high" and black as "low"
    I really appreciate all your feedback!
    Thank you very much!
     
  14. WillNode

    WillNode

    Joined:
    Nov 28, 2013
    Posts:
    423
    this is very useful, you're saving my time for hours!
     
  15. mensch-mueller

    mensch-mueller

    Joined:
    Nov 25, 2014
    Posts:
    156
    Thanks a lot. But can you add the option to tell the generation process that the texture is tileable. I noticed it generates borders around the image.
    Thanks
     
  16. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Well that should be implemented. Could you please explain (or show in pictures) your problem?

    Thanks to your post though, I reviewed my implementation and found a small bug.
    Edges were a little bit distorted. Now there shouldn't be any problem with that.
     
  17. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Tileable see here:
    Unbenannt.png
     
    SAOTA likes this.
  18. mensch-mueller

    mensch-mueller

    Joined:
    Nov 25, 2014
    Posts:
    156
    Thanks,
    that looks much better now!
     
  19. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Huge performance update!

    Now switched to GPU with shaders for normal maps (all other maps will be updated too)
    ~90% faster calculation!


    Please report any problems if you get any!
     
  20. zonoscope

    zonoscope

    Joined:
    Jul 10, 2014
    Posts:
    7
    This is exactly what I've been looking for, thank you for doing this!
     
  21. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Well, after a long time adding smaller features...
    Big update: NormalMaps from pictures

    Just take four pictures of your surface (with different light positions) and drag them on the correct position in the viewport.

    update.PNG

    Done.
     
    Last edited: Oct 16, 2015
  22. DincaAlin

    DincaAlin

    Joined:
    Apr 8, 2015
    Posts:
    13
    When i put 2 pictures the screen turns black an i need to restart my PC. I have tryed twice, but was the same result. Please make something with this. I am using Chrome.
     
  23. cpetry

    cpetry

    Joined:
    Jun 30, 2014
    Posts:
    29
    Well, I couldn't reproduce your error. Could you please try to be more precise?

    For example:
    What images are you using? What OS?
    Does some kind of javascript error occur when using it?
    Which mode are you talking about? Heightmap or 4 pictures?
    What graphics card do you use? What is its temperature?
     
  24. malkere

    malkere

    Joined:
    Dec 6, 2013
    Posts:
    1,212
    Works great! Glad I found it.
     
  25. Mad_Mark

    Mad_Mark

    Joined:
    Oct 30, 2014
    Posts:
    484
    I just get black images in JPG, and completely white in PNG when I choose download.
     
  26. hamokshaelzaki

    hamokshaelzaki

    Joined:
    Nov 6, 2012
    Posts:
    19
    Thank you so much
     
  27. StormMuller

    StormMuller

    Joined:
    Jun 2, 2015
    Posts:
    17
    On behalf of the entire Unity community, THANK YOU! this is absolutely great. You are the true MVP!
     
  28. Tommy-Core

    Tommy-Core

    Joined:
    Jan 24, 2014
    Posts:
    21
    Works like a charm. Thank you!
     
  29. RensDevolp

    RensDevolp

    Joined:
    Aug 10, 2014
    Posts:
    31
    Thank you SOOOOO MUCH!!! It really helped me and saved me TONS of time!
     
  30. Darktorch4

    Darktorch4

    Joined:
    Aug 4, 2015
    Posts:
    1
    Sadly does not work anymore, when I hit download all I get is black images :(
     
  31. malkere

    malkere

    Joined:
    Dec 6, 2013
    Posts:
    1,212
    I just tried it, worked fine. ??
     
  32. Moontan

    Moontan

    Joined:
    Oct 29, 2017
    Posts:
    1
    Same as for darktorch, I get the black images :(
     
  33. GustoEater

    GustoEater

    Joined:
    Jan 7, 2018
    Posts:
    1
    Same as Darktorch4 and Moontan. Just black images when I click download.
     
  34. MAXFORCE

    MAXFORCE

    Joined:
    Mar 4, 2014
    Posts:
    51
    Working good in firefox v.58
     
  35. malkere

    malkere

    Joined:
    Dec 6, 2013
    Posts:
    1,212
    works here in auto-updated chrome, win7
     
  36. tazshelby2016

    tazshelby2016

    Joined:
    May 29, 2018
    Posts:
    3
    Certain Images at 512x512 nearly crash the whole Chrome window when trying to converting. For the most part, it works perfectly.
     
  37. tazshelby2016

    tazshelby2016

    Joined:
    May 29, 2018
    Posts:
    3
    Think it was actually an issue on the end of the image program, and I was using a larger image size.
     
  38. Ascensi

    Ascensi

    Joined:
    Sep 7, 2013
    Posts:
    579
    It seems other companies seem to extract depth from luminescence values, from normals or a combination.
     
  39. abuhitham

    abuhitham

    Joined:
    Oct 2, 2021
    Posts:
    1
    I need metallic map generation and height map generation.