theverat / normalmapgenerator Goto Github PK
View Code? Open in Web Editor NEWA simple program that converts images into normal maps
License: GNU General Public License v3.0
A simple program that converts images into normal maps
License: GNU General Public License v3.0
This enum type used to define the 8-bit encoding of character string arguments to translate(). This enum is now obsolete and UTF-8 will be used in all cases. So remove all instances of QCoreApplication::UnicodeUTF8
Hi, i've just tried to compile in linux and failed, with error "fabs not defined" in file ssaogenerator.cpp. I included cmath in that very same file and works fine. I've seen this in previous issues, is there a reazon why this fix is not included in master?
As requested here.
Hi,
So far NormalmapGenerator looks promising, but to prevent fighting, it would be helpful to be able to save a diffuse color map.
Thank you for your consideration and effort. : )
Hello
I can't build it
https://paste.pound-python.org/show/TobcoDOMEY8do3uQrMIj/
Please create fix)
Thank you
Hi,
I was looking at the code, and i saw that in specular map, the average calculation was like this:
double multiplierSum = (redMultiplier + greenMultiplier + blueMultiplier + alphaMultiplier );
if(multiplierSum == 0.0)
multiplierSum = 1.0;
//some other code
if(mode == IntensityMap::AVERAGE) {
//take the average out of all selected channels
intensity = (r + g + b + a) / multiplierSum;
}
But imho this is not an average, because if every channel has a multiplier of let say 0.1, then the sum is going to be 0.4, and you are going to divide the whole sum by 0.4. Shouldn't the division be the sum of each channel divided by the ammount of channels used?
I really don't know how specular maps are calculated, so it's just a question.. i can fix it if it is a bug.
Hi,
I'd like to have a release based on command line level in order to generate normal maps without the gui. Is that possible?
Thanks!
make this consistent with the other map generators (spec/disp).
(v0.3.2)
On Ubuntu 14.04, as soon as I click on a tab, it's an instant crash with the following error message in the terminal :
./NormalmapGenerator: symbol lookup error: ./NormalmapGenerator: undefined symbol: _ZN7QString13toUtf8_helperERKS_
Hi i tried building on manjaro (arch) linux but got errors. I did qmake NormalmapGenerator.pro; make; wit this errors:
src_viewer/camera.cpp: In constructor ‘Camera::Camera()’: src_viewer/camera.cpp:5:14: error: ‘M_PI’ was not declared in this scope xAngle = M_PI / 4.0; ^~~~ src_viewer/camera.cpp: In member function ‘void Camera::rotateY(float)’: src_viewer/camera.cpp:19:27: error: ‘fabs’ was not declared in this scope if(fabs(yAngle + angle) < M_PI / 2.0) ^ src_viewer/camera.cpp:19:31: error: ‘M_PI’ was not declared in this scope if(fabs(yAngle + angle) < M_PI / 2.0) ^~~~ src_viewer/camera.cpp: In member function ‘const QMatrix4x4& Camera::toMatrix()’: src_viewer/camera.cpp:42:49: error: ‘sin’ was not declared in this scope position = QVector3D(radius * sin(xAngle) * cos(yAngle), ^ src_viewer/camera.cpp:42:63: error: ‘cos’ was not declared in this scope position = QVector3D(radius * sin(xAngle) * cos(yAngle), ^ make: *** [Makefile:632: camera.o] Error 1
Noob question: how do I compile this for debian linux (ubuntu).
Can SubSurface Scattering Maps Be Implemented into this program?
This is a collection of ideas and possible features for the 3d_preview branch.
Why there's no support for basic texture format?
Hello
Can you add Invert parameter to Specular map for use it as Roughness map?
When dropping an image into the preview window, the map for the current window type is computed, then the view switches to the "input image" tab, and when the user goes back to the map that was already computed, it is computed again.
Hello
It will be super cool feature if you add Cavity map generation
May be on this algorithm
https://www.youtube.com/watch?v=ufB_vnahcrk
test with file "test_alpha.png" from tests directory.
Hello, What should I do so that "Keep Large Detail" stay unchecked (locked) when I process queue of multiple files?
Hello
Thanks for this great project.
I've noticed something weird: the normal map is kind of 'shifted' (few pixels) compared to the real texture.
When light is moving over it, the texture looks like distorted because of that.
hello
is possible add thumbnail in file manager, with adjust scala?
I'm loving this app so I got to ask...
any plans for a linux 0.4.5 build? :) pls :)
a fast gaussian filter instead of the box filter would be good.
hello
it's possible change theme color in dark? (dark gray, gray, black)..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.