finepointcgi / Materialize

Materialize Main Branch. Materialize is a program for converting images to materials for use in video games and other 3D applications.
GNU General Public License v3.0
100 stars 8 forks source link

Add invert button/option for Smooth? #6

Open ZacWolf opened 4 years ago

ZacWolf commented 4 years ago

Thanks for updating Materialize!!!

Any chance you can add a button/function to invert the smoothness image that is loaded via Open or Paste? I'm working with Roughness maps, so I'm having to invert them in image editing software and then paste that in.

THANKS!

finepointcgi commented 4 years ago

This has been added Im putting out a new build for this. In the mean time here is a drive link. https://drive.google.com/file/d/1Yx-VTJfvo4TWsVUE6FEZP0-87kV4ptYp/view?usp=sharing

Ninja Edit: Created a new release for this. https://github.com/mitchelldmccollum/Materialize/releases/tag/3.2.3

Thanks, Mitch

ZacWolf commented 4 years ago

THANKS!!!

ZacWolf commented 4 years ago

Opps, I closed before testing. Now, none of the Paste options are working for me. I copy my image from Photoshop, and when I press the P button, nothing happens. When I go back to Photoshop and create a new image and past the paste happens just fine.

finepointcgi commented 4 years ago

I will look at it.

On Sun, May 31, 2020, 10:04 PM Zac Morris notifications@github.com wrote:

Opps, I closed before testing. Now, none of the Paste options are working for me. I copy my image from Photoshop, and when I press the P button, nothing happens. When I go back to Photoshop and create a new image and past the paste happens just fine.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mitchelldmccollum/Materialize/issues/6#issuecomment-636574869, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3UWDHJB3FQMZCIDBHO7ELRUMEDXANCNFSM4M7JAYCQ .

finepointcgi commented 4 years ago

Fixed. It looks like during the Linux port the code was removed for Windows. Release has been updated.

ZacWolf commented 4 years ago

OK, I can now paste an image, but since you added "Invert smoothness" to the CREATE form, I can't invert an image that I paste, as using the Create button overwrites any image pasted via the P button.

This would be useful if you create your smoothness map in materialize, and then invert to copy back into photoshop or to save-as roughness vs smoothness, but I actually use Materialize more to preview the work I actually create in Photoshop (except the normalize map which I use Materialize to create).

Would it be possible to just add an "I" button to the current ("P" "C" "O" "S") buttons, that would invert whatever image is in the Smoothness Map Buffer? THAN KS!

finepointcgi commented 4 years ago

I will look into it.

finepointcgi commented 4 years ago

I have added a button for this. There is still lots to iron out but heres a build that will work for you in the meantime. https://drive.google.com/file/d/1Yx-VTJfvo4TWsVUE6FEZP0-87kV4ptYp/view?usp=sharing

Losco-Nosciuto commented 3 years ago

I know this might be a pain, but instead of the "invert" button, could it be possible to create a swap function between Smoothness and Roughness which also updates the preview of the material with the correct workflow?

Many games uses Roughness now, and Materialize has some hidden power in materials processing that lacks from many mainstream apps of the same kind