kmkolasinski / AwesomeBump

AwesomeBump is a free program written using Qt library designed to generate normal, height, specular or ambient occlusion textures from a single image. Since the image processing is done in 99% on GPU the program runs very fast and all the parameters can be changed in real time. AB was made to be a new alternative to known gimp plugin called Insane Bump.
GNU General Public License v3.0
1.66k stars 179 forks source link

Console batch tool #136

Closed GentleHedgehog closed 5 years ago

GentleHedgehog commented 6 years ago

Hello, I've created a new branch (on the release branch base) to use the batch tool (Do i need to merge it to a "new-feature" branch instead of the release branch? ).

An example of using an application with two arguments: AwesomeBumpConsole.exe /path/to/image /path/to/result_folder

I tested this version of the application with the following environment: Windows 7 x64, Qt 5.7.0 (qt-opensource-windows-x86-mingw530-5.7.0) Graphics Chipset - AMD Radeon R7 200 Series (driver version 17.7.1)

kmkolasinski commented 6 years ago

Hi, thank you very much for your contribution, 👍 I will take a look on it, but please give few days. I will check the code and test it.

kmkolasinski commented 6 years ago

If this will work I think it would be nice to add possibility to choose project settings as additional input: ./AwesomeBump ~/Imagens/test.png ~/Imagens/test Configs/49_wood.ini

GentleHedgehog commented 6 years ago

Sorry, this is redundant code, and I forgot to remove it. I did not try to run this application in Linux. I will try to port it to Linux and soon upload it to my branch

kmkolasinski commented 6 years ago

The problem is that I'm able to compile and run AB on linux but there is no effect when arguments are passed. When will you check this ?

GentleHedgehog commented 6 years ago

I'll check it in a few days. But I do not know if it will work on my laptop configuration (thinkpad e531).

kmkolasinski commented 6 years ago

Ok, we are not in hurry. It should work in case of any problem please give me a feedback. What linux do you use? You will have to install AB with GL330 mode.

GentleHedgehog commented 6 years ago

This is a source about my processor and integrated graphics - http://www.cpu-world.com/CPUs/Pentium_Dual-Core/Intel-Pentium%20Mobile%202030M.html . My OS - Ubuntu 12.04, and till this moment I couldn't update MESA drivers to OpenGl 3.3 or higher.

kmkolasinski commented 6 years ago

Ok don't waste your time with ubuntu then. I will try to check it on my windows 10, but I will need couple of days.