Coder Social home page Coder Social logo

kmkolasinski / awesomebump Goto Github PK

View Code? Open in Web Editor NEW
1.6K 121.0 180.0 70.76 MB

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.

License: GNU General Public License v3.0

C++ 79.14% GLSL 18.98% Shell 0.22% QMake 0.78% CMake 0.87%

awesomebump's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesomebump's Issues

Fragment shader uses reserved word as var name

The fragment shader contains a variable named "output", but "output" is one of the reserved word in GLSL.
(https://www.opengl.org/registry/doc/GLSLangSpec.4.00.8.clean.pdf page 15)

The result is that the areas that would normally contain the textures are rendered as pure black.
The following error shows up in the log file:

[04/02/2015 10:10:39] {Warning} QOpenGLShader::compile(Fragment): Fragment shader failed to compile with the following errors:
ERROR: 2:688: error(#133) Reserved word: output
ERROR: 2:688: error(#132) Syntax error: "output" parse error
ERROR: error(#273) 2 compilation errors. No code generated

Running AwseomeBump crashes the display driver

When I run AwesomeBumpV2.1Bin32x64Win7 the application becomes unresponsive and I get a notification that the display driver has stopped working and then recovered. The log doesn't complain of a bad OpenGL version (4.2).

Link to the log:
http://www.pasteall.org/57045

I'm on Win 7 64bit
Mobility Radeon 5650

It could be a bug in my installed drivers, but usually everything works fine here and I have never experienced a driver crash before.

Pixel art maps

Is possible an option with add a check box or something to enable/disable the filter to view/generate maps to view the pixels and not the blur ?
Thanks.

Make build instructions in text or Markdown format

Currently, you can't read the build instructions from a terminal; there should probably be a version made in Markdown, which you can read using cat or less, so that you can compile without leaving the terminal.

Theme problem

Hello, kmkolasinski
I'm just build AwesomeBump and there is problem with icons and fonts
http://wstaw.org/m/2016/01/26/plasma-desktophO4833.png
As you can see, icons contrast not good, and fonts not as in other apps
(i opened smplayer for you can see diffence)
It will be useful for me (or may be for other kde users) if you upgrade AwesomeBump theme.
Thank you for this software! I will learn it.

Segfault in GLWidget::paintGL()

I always get a segfault when starting AwesomeBump on my Arch Linux.

So I compiled it with -g to run it in gdb, turns out the segfault happens in GLWidget::paintGL()

Windows release “zip bomb”

When you extract the Windows release directly (using 7-Zip “Extract here…”), something called a “zip bomb” happens: all files are thrown into the directory you are extracting AwesomeBump in. This is undesired behaviour.

Please, put all files in a folder called AwesomeBump, then compress that one.

AB does not support openGL versions lower than 3.3

Hi, I test in my PC but AB don't execute. My GPU is OpenGL 3.3. What's wrong?

Only support GL v4? Or v3.3 too?

[27/12/2015 23:19:27] {Debug} Starting application:
[27/12/2015 23:19:27] {Debug} "Running the AwesomeBump 4.0 Beta (2015) (openGL 330 release)"
[27/12/2015 23:19:27] {Debug} Checking OpenGL version...
[27/12/2015 23:19:27] {Debug} Widget OpenGL: 3 . 3
[27/12/2015 23:19:27] {Debug} Context valid: true
[27/12/2015 23:19:27] {Debug} OpenGL information:
[27/12/2015 23:19:27] {Debug} VENDOR: NVIDIA Corporation
[27/12/2015 23:19:27] {Debug} RENDERER: GeForce GTX 260/PCIe/SSE2
[27/12/2015 23:19:27] {Debug} VERSION: 3.3.0
[27/12/2015 23:19:27] {Debug} GLSL VERSION: 3.30 NVIDIA via Cg compiler
[27/12/2015 23:19:27] {Debug} Version: 3.3
[27/12/2015 23:19:27] {Debug} Error: This version of AwesomeBump does not support openGL versions lower than 3.3 :(

QtnProperty in AwesomeBump.

This issue may interesting for you guy's: @ppiecuch , @CapsAdmin , @Hevedy , @DaOnlyOwner

After short conversation with @ppiecuch we decided to include the QtnProperty library to AB. However I've have tuned manually some features in that library, which I include in the Source code in the Sources/utils folder.

We are going to replace manually created sliders and checkboxes by QtnProperties classes such that the GUI should became more flexible for further modifications. The current version of Source does not do the job correctly only the hue parameter works, for now, but I will slowly try to replace all the scrollbars there. Note, that in my opinion it will be better if certain tool remain unchanged, for example the BasemapToOthers tool will be much easier to control with the form it is now. I would like to ask @orthographic-pedant at the end of migration process to check all the grammar mistakes ;) since now almost all the GUI controls can be found here: Sources/properties.

Steps:

  • Clone AB repository with --recursive option, this will clone additional QtnProperty submodule:
 git clone --recursive https://github.com/kmkolasinski/AwesomeBump.git
  • In order to run AB QtnProperty project must be compiled first. It will produce libraries which are used by AB project during compilation. Probably you will have to setup properly the path to libraries in order to make it work with AB. I managed to build AB on Ubuntu and Win7 using just the QtCreator, but It would be nice to have cmake prepared. @CodePhase could you try to make cmake script for current configuration? However QtnProperty requires two additional libraries
Flex 2.5.37 and Bison 2.7, 

( Flex 2.5.37 and Bison 2.7 for Windows can be found here)

  • Having QtnCompiled you must point in AB project where are the compiled libraries for linker. Then you can compile AB.
  • Maybe you have some better idea how it could be automatize ???
  • That is how AB are going to look like: only hue is working for now.

Image

  • I've added possibility to customize 3D rendering output with different post-processing parameters:
    Image
  • In the bottom there is a tool which allows you to use your own shader
    Image
  • This shader has to be located in Core/Render folder and has to follow proper rules which are explained in the Template.frag file. It is recommended to copy this file and follow the rules inside. The AwesomeBump.frag file contains AB PBR engine.
    Image
  • Inside you can declare up to 20, specially formatted, float/int uniforms which will be then parsed and generated in the "Rendering settings" widget:
    Image
    In the bottom you can see that there is a refresh button which allows you for run-time compilation of the fragment shader.
  • You may try to write your own frag shader, so that we will be able to create a library of shaders for other users :)

Cannot run on Linux

Hi.

This is one of the best projects! Thank you for the development.

I downloaded the build from here: https://github.com/kmkolasinski/AwesomeBump/releases/tag/Linuxv2.1
I cannot run on linux kubuntu 14.10.

Log:
mifth@mifth-B85-HD3:~/Downloads/AwesomeBumpV2.1Bin64Linux$ /home/mifth/Downloads/AwesomeBumpV2.1Bin64Linux/AwesomeBump
/home/mifth/Downloads/AwesomeBumpV2.1Bin64Linux/AwesomeBump: symbol lookup error: /home/mifth/Downloads/AwesomeBumpV2.1Bin64Linux/AwesomeBump: undefined symbol: _ZN6QDebugD1Ev

Can't compile with latest QT

I found that only the older version of QT (with the Desktop Qt 5.4.2 MinGW 32 bit) kit compiles successfully for me. The newer version (5.5.1) fails with the following errors:

J:_BLENDER Projects_TOOLS\AwesomeBump-Winx32v3.1.4\AwesomeBump-Winx32v3.1.4\Sources\glwidget.cpp:-1: error: undefined reference to `_imp__glGetError@0'

J:_BLENDER Projects_TOOLS\AwesomeBump-Winx32v3.1.4\AwesomeBump-Winx32v3.1.4\Sources\main.cpp:-1: error: undefined reference to `_imp__glGetError@0'

J:_BLENDER Projects_TOOLS\AwesomeBump-Winx32v3.1.4\AwesomeBump-Winx32v3.1.4\Sources\main.cpp:-1: error: undefined reference to `_imp__glGetString@4'

👎 error: ./release\main.o: bad reloc address 0x4 in section `.text.startup'

collect2.exe:-1: error: error: ld returned 1 exit status

AwesomeBump isn't pixel-perfect

Can be tested by making a very crisp texture. By drawing some black strokes in MS Paint for example.
Use this crisp texture to generate normal map, height map, etc.
Save images.
I can see that lines in diffuse texture are a little bit blurry.
Even if Sharpen/Blur in diffuse tab is 0 and Reset Transform was clicked.

Texture save settings

Hello, Krzysztof Kolasinski
I found that your software is very usefull to create all kind textures ftom diffuse map.
If you want to make it better (not only for me i think), please add texture save settings.
For example, change suffixes option and set default image format.
It be great!
Thank you!

Cannot even build projct

I am using Windows 7 and trying to build AwesomeBump
This shows up:
capture
I tried "adding kits," but I don't have a clue what it means by that. I have NO idea what to do next.
Please help!!

commit: move setupUi call in mainwindow

This is not an issue - just information: I moved setupUi call at the beginning of the MainWindow - call it later caused OS X to crashed. Hope it will work for other platforms too.

P.

Doesn't recognize correct GPU on Hybrid Notebook (Nvidia Optimus)

I'm on Ubuntu 14.04 64-bits, using 331.38 (not using a newer version because it screws Cycles in Blender, but this driver version supports OpenGL 4.4), and when I try to run AwesomeBump, the following message appears:

"Fatal Error!
Sorry but it seems that your graphics card does not support openGL 4.0.
Program will not run :(
See log.txt file for more info."

And the logs is like this:

[27/03/2015 18:46:43] {Debug} Starting application:
[27/03/2015 18:46:43] {Debug} "Running the AwesomeBump v3.0"
[27/03/2015 18:46:43] {Debug} Checking OpenGL version...
[27/03/2015 18:46:43] {Debug} Widget OpenGL: 3 . 0
[27/03/2015 18:46:43] {Debug} Context valid: true
[27/03/2015 18:46:43] {Debug} OpenGL information:
[27/03/2015 18:46:43] {Debug} VENDOR: Intel Open Source Technology Center
[27/03/2015 18:46:43] {Debug} RENDERER: Mesa DRI Intel(R) Haswell Mobile
[27/03/2015 18:46:43] {Debug} VERSION: 3.0 Mesa 10.1.3
[27/03/2015 18:46:43] {Debug} GLSL VERSION: 1.30
[27/03/2015 18:46:43] {Debug} Version: 3
[27/03/2015 18:46:43] {Debug} Error: AwesomeBump does not support openGL versions lower than 4.0 :(

And it doesn't matter if I try opening it using primusrun or optirun (To use Nvidia's GPU), the messages and logs are always the same, so I suppose it's not recognizing my GPU correctly.

Thank you.

Build error on Fedora 23

I have run a fresh cmake . after deleting CMakeFiles and CMakeCache.txt, then ran make.

The same error happens when using Qt Creator to generate build files.

Attempting to build latest Git (b1cbec3) on Fedora 23 64-bit gives this error:

[  2%] Automatic moc and uic for target awesomebump
[  2%] Built target awesomebump_automoc
[  5%] Building CXX object CMakeFiles/awesomebump.dir/Sources/formimageprop.cpp.o
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp: In constructor 'FormImageProp::FormImageProp(QMainWindow*, QGLWidget*)':
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:93:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
     connect(ui->pushButtonBaseMapToOthersHMaxVal,SIGNAL(toggled(bool)),this,SLOT(toggleColorPicking(bool)));
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:94:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
     connect(ui->pushButtonBaseMapToOthersHMinVal,SIGNAL(toggled(bool)),this,SLOT(toggleColorPicking(bool)));
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:95:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHReset'
     connect(ui->pushButtonBaseMapToOthersHReset ,SIGNAL(pressed()),this,SLOT(resetBaseMapMinMaxColors()));
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:96:17: error: 'class Ui::FormImageProp' has no member named 'horizontalSliderBaseMapToOthersHRangeTolerance'
     connect(ui->horizontalSliderBaseMapToOthersHRangeTolerance ,SIGNAL(sliderReleased()),this,SLOT(updateSlidersOnRelease()));
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp: In member function 'void FormImageProp::updateGuiSpinBoxesAndLabes(int)':
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:516:60: error: 'class Ui::FormImageProp' has no member named 'horizontalSliderBaseMapToOthersHRangeTolerance'
     imageProp.conversionBaseMapHeightMinMaxTolerance = ui->horizontalSliderBaseMapToOthersHRangeTolerance->value();
                                                            ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp: In member function 'void FormImageProp::resetBaseMapMinMaxColors()':
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:669:9: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
     ui->pushButtonBaseMapToOthersHMinVal->setChecked(false);
         ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:670:9: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
     ui->pushButtonBaseMapToOthersHMaxVal->setChecked(false);
         ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:671:9: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
     ui->pushButtonBaseMapToOthersHMaxVal->setPalette(QApplication::palette());
         ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:672:9: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
     ui->pushButtonBaseMapToOthersHMinVal->setPalette(QApplication::palette());
         ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp: In member function 'void FormImageProp::toggleColorPicking(bool)':
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:709:13: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
         ui->pushButtonBaseMapToOthersHMaxVal->setText("Max");
             ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:710:13: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
         ui->pushButtonBaseMapToOthersHMaxVal->setChecked(false);
             ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:711:13: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
         ui->pushButtonBaseMapToOthersHMinVal->setText("Min");
             ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:712:13: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
         ui->pushButtonBaseMapToOthersHMinVal->setChecked(false);
             ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:718:16: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
         if(ui->pushButtonBaseMapToOthersHMaxVal->isChecked()){
                ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:719:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
             ui->pushButtonBaseMapToOthersHMaxVal->setText("Pick!");
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:720:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
             ui->pushButtonBaseMapToOthersHMinVal->setChecked(false); // toggle off the second button
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:722:16: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
         if(ui->pushButtonBaseMapToOthersHMinVal->isChecked()){
                ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:723:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
             ui->pushButtonBaseMapToOthersHMinVal->setText("Pick!");
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:724:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
             ui->pushButtonBaseMapToOthersHMaxVal->setChecked(false); // toggle off the second button
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp: In member function 'void FormImageProp::colorPicked(QVector4D)':
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:749:16: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
         if(ui->pushButtonBaseMapToOthersHMaxVal->isChecked()){
                ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:750:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
             ui->pushButtonBaseMapToOthersHMaxVal->setChecked(false);
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:752:36: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
             QPalette palette = ui->pushButtonBaseMapToOthersHMaxVal->palette();
                                    ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:753:34: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
             palette.setColor(ui->pushButtonBaseMapToOthersHMaxVal->backgroundRole(), QColor(color.x(),color.y(),color.z()));
                                  ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:754:34: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
             palette.setColor(ui->pushButtonBaseMapToOthersHMaxVal->foregroundRole(), QColor(255-color.x(),255-color.y(),255-color.z()));
                                  ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:755:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMaxVal'
             ui->pushButtonBaseMapToOthersHMaxVal->setPalette(palette);
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:758:16: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
         if(ui->pushButtonBaseMapToOthersHMinVal->isChecked()){
                ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:759:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
             ui->pushButtonBaseMapToOthersHMinVal->setChecked(false);
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:761:36: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
             QPalette palette = ui->pushButtonBaseMapToOthersHMinVal->palette();
                                    ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:762:34: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
             palette.setColor(ui->pushButtonBaseMapToOthersHMinVal->backgroundRole(), QColor(color.x(),color.y(),color.z()));
                                  ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:763:34: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
             palette.setColor(ui->pushButtonBaseMapToOthersHMinVal->foregroundRole(), QColor(255-color.x(),255-color.y(),255-color.z()));
                                  ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:764:17: error: 'class Ui::FormImageProp' has no member named 'pushButtonBaseMapToOthersHMinVal'
             ui->pushButtonBaseMapToOthersHMinVal->setPalette(palette);
                 ^
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp: In member function 'void FormImageProp::reloadSettings()':
/home/hugo/Git/awesomebump/Sources/formimageprop.cpp:978:9: error: 'class Ui::FormImageProp' has no member named 'horizontalSliderBaseMapToOthersHRangeTolerance'
     ui->horizontalSliderBaseMapToOthersHRangeTolerance->setValue(imageProp.conversionBaseMapHeightMinMaxTolerance);
         ^
CMakeFiles/awesomebump.dir/build.make:465: recipe for target 'CMakeFiles/awesomebump.dir/Sources/formimageprop.cpp.o' failed
make[2]: *** [CMakeFiles/awesomebump.dir/Sources/formimageprop.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/awesomebump.dir/all' failed
make[1]: *** [CMakeFiles/awesomebump.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Vertical tabs not readable on laptop screen resolutions like 1366x786

While the program runs fine on my laptop, there is the slightly annoying fact that all the vertical tabs writing is shown like "D...e" or "Oc...en" etc.
I think qt does this because the vertical screen resolution is too low, but I guess having the first couple of letters would be easier to read.
The hover pop-up helps, but it is not consistently shown on the vertical taps for some reason. I think it only works on the first two vertical taps or so.

Typo: "Refief Mapping"

In the settings of the 3D view, there is a typo. "Refief Mapping" should be "Relief Mapping".

Awesome bump crash GPU driver when opening and freeze?

Hello
I have an AMD HD 5450 running on windows 10.When I opened awesome bump it crashes the driver and then it not respond,while putting in mind that it was working fine in windows 8.Using version 4 from awesome bump.

OpenGL 3.3 fallback

Could you please add an OpenGL 3.0/3.1/3.2/3.3 fallback? Until Nouveau and other free drivers like Radeon and Intel implement OpenGL 4.0, I can't run this, even though the program builds successfully. This is on Debian jessie 64-bit.

3D viewport navigation lags back to origin

Hey Krzysztof,

i am running arch (kernel 3.19.2) and have some issues using the current AB master:

  • the compile produces warnings (qt 5.4.1)
  • the program runs but 3d viewport navigation is not working (lags back to starting location when trying to navigate)
  • used command line and also tried qtcreator folowing the build pdf

./linuxBuildScript.sh
WARNING: target.path is not defined: install target not created
mainwindow.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget1'.

glwidget.cpp:708:11: warning: enumeration value ‘MAX_TEXTURES_TYPE’ not handled in switch [-Wswitch]
switch(tType){
^
mainwindow.cpp:996:35: warning: unused parameter ‘size’ [-Wunused-parameter]
void MainWindow::changeWidth (int size){
^
mainwindow.cpp:1002:35: warning: unused parameter ‘size’ [-Wunused-parameter]
void MainWindow::changeHeight(int size){
^
mainwindow.cpp:1189:48: warning: unused parameter ‘indeks’ [-Wunused-parameter]
void MainWindow::updatePerformanceSettings(int indeks){
^
mainwindow.cpp:1632:38: warning: unused parameter ‘index’ [-Wunused-parameter]
void MainWindow::setOutputFormat(int index){
^
utils/Mesh.cpp:109:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned int i = 0 ; i < gl_vertices.size() ; i++ ){
^
utils/Mesh.cpp:152:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int k = 0 ; k < verlet[i].size() ; k++){
^
utils/Mesh.cpp:155:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int l = 0 ; l < verlet[i].size() ; l++){
^
utils/Mesh.cpp:342:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int a = 0; a < vertexCount/3; a++)
^
utils/Mesh.cpp:387:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int a = 0; a < vertexCount; a++)
^
formsettingsfield.cpp:117:45: warning: unused parameter ‘text’ [-Wunused-parameter]
void FormSettingsField::nameChanged(QString text){
^
formsettingscontainer.cpp:72:63: warning: unused parameter ‘field’ [-Wunused-parameter]
void FormSettingsContainer::reloadSettings(FormSettingsField* field){
^
utils/qglbuffers.cpp:373:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned int i = 0;i< attachments.size();i++){
^

Doesn't compile on Debian

When I try to build on Debian Testing (Jessie), I get an error. This is using Qt 5.3.2. It builds successfully on Fedora 21 using Qt 5.4.0, so I'm guessing the problem is caused by API differences between QT versions.

Specifically, the error is this:

../AwesomeBump/formsettingscontainer.cpp: In member function 'void FormSettingsContainer::removeSetting(FormSettingsField_)':
../AwesomeBump/formsettingscontainer.cpp:66:18: error: 'class QVector<FormSettingsField_>' has no member named 'removeOne'
settingsList.removeOne(field);
^

Trying to get AwsomeBump built ? Win 7-64

Hi,
I'm 4 days in trying to get a nice texture for a rope in Blender and to be honest I'm past whits end trying to get this to build, total frustration doesn't come close to covering it.
I have downloaded and re-installed QT a number of times followed the instructions in your BuildingInstruction.pdf, (30 Apr 2015) I'm pretty sure I followed them correctly. I must be missing something obvious this thing just won't build, so any help or suggestion would greatly appreciated. really i just want to make a nice rope in Blender... :-(

OK heres what I have
Win 7-64
control panelall control panel itemssystem_2015-05-14_15-06-19

QT Ver
about qt creator_2015-05-14_15-08-52

MinGW Ver
image

Please let me know what else you need to know.

Cheers Willy

here is some more from the QT IDE
Under issues there is:
":-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options."
I have a compiler set ... at least I think I do?

under the General Messages:
QML module does not contain information about components contained in plugins.

Module path: D:/Qt/Qt5.4.1/5.4/msvc2013_64_opengl/qml
See "Using QML Modules with Plugins" in the documentation.

Automatic type dump of QML module failed.
Errors:
"D:\Qt\Qt5.4.1\5.4\msvc2013_64_opengl\bin\qmlplugindump.exe" crashed.
Arguments: --builtins

awesomebump - qt creator_2015-05-14_15-37-46

The play and build buttons are greyed out?

Build on OS X 10.11

I have a MacBook Air (Intel HD 5000, OpenGL 4.1). I tried building 3.0.4, 3.1.4 & 4.0 Linux releases, but none of them worked. I always got a message that my laptop doesn't support the OpenGL version, even with the OpenGL 3.3 settings. Building the master also didn't work, I guess because of #71.

I checked out commit 6ac321331ba9173737a7912536782733f8dd645, the commit before the changes of #71 started. Now everything works 👍. Thought it's worth sharing, maybe you can add it to the readme or wiki.

Program incorrectly tries OpenGL 4.0 not 3.30

Using both the downloadable binary and a compiled version (using QT) I find that the program fails to load with the following error:

'Fatal Error: Sorry but it seems that your graphics card does not support openGL 4.0. Program will not run'

I'm using the source in AwesomeBumpv3.1.4 for Win7/8 x32 (AwesomeBump-Winx32v3.1.4.zip)

I've checked my OpenGL version and I have v3.3 so used the "CONFIG+=release_gl330" command in Additional Arguments for the build steps details.

Why is it trying to use 4.0?

Poor performance on Manjaro [solved]

Hello, i've compiled Awesome Bump today from git, and wen i execute the program the 3d viewport is black and the whole program is very laggy, i'm using the last Manjaro (Arch based), on the logs the program show only libpng errors related to sRGB (i have all libpng installed)

AB runs but displays nothing.

Hi,

I have recently downloaded and built AB without a problem. However when I run it I get two black windows.

image

I'm running Fedora 21 with GeForce GT 730 (OpenGL version 4.4) and the proprietary NVIDIA drivers.

image

The log file seems to indicate a lot of OpenGL errors. These are typically INVALID_ENUM, INVALID_OPERATION, INVALID_VALUE (unfortunately GH complained when I tried to attach the log file).

Any assistance would be greatly appreciated.

Kind regards.

problem z kompilacja shader-a na starcie

Czesc - tak wyglada problem z kompilacja shader-a na starcie:

piecuchp-QDDV33:builddir piecuchp$ ./AwesomeBump.app/Contents/MacOS/AwesomeBump
Starting application:
Widget OpenGL: 4.1
Context valid: 1
OpenGL information:
VENDOR: NVIDIA Corporation
RENDERDER: NVIDIA GeForce GT 650M OpenGL Engine
VERSION: 4.1 NVIDIA-8.26.28 310.40.55b01
GLSL VERSION: 4.10
2014-12-12 18:26:40.753 AwesomeBump[51537:507] invalid drawable
QGLShader::compile(Fragment): ERROR: 0:59: Call to undeclared function 'texture2D'
ERROR: 0:60: Use of undeclared identifier 'c'
ERROR: 0:60: Use of undeclared identifier 'c'
ERROR: 0:61: Use of undeclared identifier 'c'
ERROR: 0:66: Call to undeclared function 'texture2D'
ERROR: 0:73: Use of undeclared identifier 'color'
ERROR: 0:74: Use of undeclared identifier 'ocolor'
ERROR: 0:74: Use of undeclared identifier 'color'
ERROR: 0:75: Use of undeclared identifier 'ocolor'
ERROR: 0:88: Call to undeclared function 'texture2D'
ERROR: 0:89: Call to undeclared function 'texture2D'
ERROR: 0:90: Use of undeclared identifier 'colorA'
ERROR: 0:90: Use of undeclared identifier 'colorB'
ERROR: 0:96: Call to undeclared function 'texture2D'
ERROR: 0:97: Use of undeclared identifier 'color'
ERROR: 0:98: Use of undeclared identifier 'icolor'
ERROR: 0:99: Use of undeclared identifier 'icolor'
ERROR: 0:116: Call to undeclared function 'texture2D'
ERROR: 0:129: Call to undeclared function 'texture2D'
ERROR: 0:142: Call to undeclared function 'texture2D'
ERROR: 0:174: Call to undeclared function 'texture2D'
ERROR: 0:175: Call to undeclared function 'texture2D'
ERROR: 0:176: Use of undeclared identifier 'colorA'
ERROR: 0:176: Use of undeclared identifier 'colorB'
ERROR: 0:195: Call to undeclared function 'texture2D'
ERROR: 0:196: Call to undeclared function 'texture2D'
ERROR: 0:197: Use of undeclared identifier 'c1'
ERROR: 0:197: Use of undeclared identifier 'c2'
ERROR: 0:199: Use of undeclared identifier 'dc'
ERROR: 0:201: Use of undeclared identifier 'dc'
ERROR: 0:201: Use of undeclared identifier 'dc'
ERROR: 0:203: Use of undeclared identifier 'dc'
ERROR: 0:205: Use of undeclared identifier 'dc'
ERROR: 0:219: Call to undeclared function 'texture2D'
ERROR: 0:220: Use of undeclared identifier 'color'
ERROR: 0:221: Use of undeclared identifier 'icolor'
ERROR: 0:228: Call to undeclared function 'texture2D'
ERROR: 0:229: Use of undeclared identifier 'color'
ERROR: 0:229: Use of undeclared identifier 'color'
ERROR: 0:229: Use of undeclared identifier 'color'
ERROR: 0:229: Use of undeclared identifier 'color'
ERROR: 0:230: Use of undeclared identifier 'color'
ERROR: 0:236: Call to undeclared function 'texture2D'
ERROR: 0:237: Use of undeclared identifier 'color'
ERROR: 0:237: Use of undeclared identifier 'color'
ERROR: 0:238: Use of undeclared identifier 'color'
ERROR: 0:239: Use of undeclared identifier 'color'
ERROR: 0:247: Call to undeclared function 'texture2D'
ERROR: 0:248: Call to undeclared function 'texture2D'
ERROR: 0:249: Use of undeclared identifier 'colorB'
ERROR: 0:250: Use of undeclared identifier 'colorA'
ERROR: 0:250: Use of undeclared identifier 'colorC'
ERROR: 0:261: Call to undeclared function 'texture2D'
ERROR: 0:264: Use of undeclared identifier 'colorB'
ERROR: 0:294: Call to undeclared function 'texture2D'
ERROR: 0:296: Use of undeclared identifier 'color'
ERROR: 0:297: Use of undeclared identifier 'color'
ERROR: 0:297: Use of undeclared identifier 'color'
ERROR: 0:298: Use of undeclared identifier 'color'
ERROR: 0:511: Call to undeclared function 'texture2D'
ERROR: 0:512: Call to undeclared function 'texture2D'
ERROR: 0:513: Use of undeclared identifier 'colorA'
ERROR: 0:513: Use of undeclared identifier 'colorB'

QGLShader::link: "ERROR: One or more attached shaders not successfully compiled
"
QGLShader::link: "ERROR: One or more attached shaders not successfully compiled
"
QGLShaderProgram::uniformLocation( layerA ): shader program is not linked
QGLShaderProgram::uniformLocation( layerB ): shader program is not linked
QGLShaderProgram::uniformLocation( layerC ): shader program is not linked
QGLShader::compile(Vertex): ERROR: 0:6: 'attribute' : syntax error syntax error

QGLShader::compile(Fragment): ERROR: 0:16: 'varying' : syntax error syntax error

QGLShader::link: "ERROR: One or more attached shaders not successfully compiled
"
QGLShader::link: "ERROR: One or more attached shaders not successfully compiled
"

Strange behavior when running from a shortcut

So i've created a desktop shortcut (in Linux) to run AwesomeBump executable file, the problem is: when i run the program using the shortcut, the 3d area is completely black, no 3d at all, BUT if i open the folder where the program is located an run the executable directly, everything work normal.
Any clues in how to fix this?

Exit with signal 255

I'm on Fedora 21. I can build AwesomeBump but the executable does nothing and returns signal 255.

Can't Import Large Image

I am trying to import a massive image. It's a 77.7MB PNG file, and the resolution is: 10800 x 5400
However, when I import it it only shows a completely black image. I am using version 4.0, and I am running Windows 7 x64 Professional.

Odd normal map display in viewport

Ever since I upgraded to AB Pi, I've noticed that the display of normal maps is very different from previous versions. Even without the compositing turned on (Glow, DOF) my maps display like this:
screenshot from 2015-05-16 13 11 19
What would be causing this issue?

About Normal Map enhancements

Normal tab like other tabs has lots of sliders to 'enhance' the normal map.
But does it really makes sense to use them?
These sliders do not change the height map.
And a normal by definition is vector perpendicular to the surface.
It would be more logical to enhance height map and auto-generate normal map using texture's width, height and depth (in pixels or meters or anything else).
At the moment I don't know how to make a normal map which will match the height map with some specific depth. If my height texture is 2m by 2m by 10cm there can only be one possible normal map, by definition.
At the moment I can only use some magic numbers and hope for the best.

fails to compile

Manjaro linux (arch based) - 64 bit.latest version 2.1 and also tried with trunk version. I follow your video tutorial and I get this error message in qt creator:

.....
./AwesomeBump-master/formsettingscontainer.cpp:71:63: warning: unused parameter 'field' [-Wunused-parameter]
void FormSettingsContainer::reloadSettings(FormSettingsField* field){
^
/usr/lib/qt/bin/rcc -name content ../AwesomeBump-master/content.qrc -o qrc_content.cpp
RCC: Error in '../AwesomeBump-master/content.qrc': Cannot find file 'content/Capsule.obj'
Makefile:666: recipe for target 'qrc_content.cpp' failed
make: *** [qrc_content.cpp] Error 1
23:50:37: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project AwesomeBump (kit: Desktop)
When executing step "Make"
23:50:37: Elapsed time: 01:34.

QT shader

Witam, to mój pierwszy post, nie wiem czy w dobrym miejscu założyłem.
Mam problem z QT, od razu mówię że nie jestem dobry w te klocki. Gdy próbuję odpalić projekt (sześcian wirujący wokół własnej osi) na komputerze kolegi wszystko działa poprawnie, po próbie odpalenia go u mnie zamiast grafiki pojawia się biały kwadrat na czarnym tle. Dodam że projekty w 2D przenoszone w ten sam sposób działają poprawnie. Co może być przyczyną?
W Application Output wyskakuje to:

Starting D:\qt_moje\qt1\debug\qt1.exe...
QGLFormat reports profile: none.
GL Vendor : Intel
GL Renderer : Intel(R) HD Graphics
GL Version : 3.1.0 - Build 9.17.10.3517
GL Version : 3.1
GLSL Version : 1.40 - Intel Build 9.17.10.3517

Location | Name

shader compilation failed!
Shader log:
ERROR: 0:3: 'layout' : symbol is deprecated in Forward Compatibile context
ERROR: 0:3: 'layout' : syntax error syntax error

D:\qt_moje\qt1\debug\qt1.exe exited with code 0

Z góry dziękuję za pomoc!

Can't run

Hi
I tried to run AwesomeBump at linux Mageia 4, but i'v got this error:

"Qt Warning - invalid keysym: dead_actute" 
./AwesomeBump: symbol lookup error: ./AwesomeBump: undefined symbol: _ZN6QDebugD1Ev

Any help?

Need of collaboration

Hi there,
Since I saw that there is quite large group of people who are interested in making this software better, maybe it would be a good idea to make AB more accessible for other people. The problem is that this program is poorly written, I started from nothing then I was adding new features, some part of the code are commented some not, some are in Polish :D
I think that would be nice to improve this software, but unfortunately I have no time for that :/
Because I'm the only one person who knows this software the best I could guide you and explain how does it work and where to start, such that you could improve AB in future. Of course any person who would be interested in such collaboration will become an co-author of this project (btw this project does not have to be related to my github profile). There is still a lot of to do!

Is there any person who would like to participate in AB development ??

Some issues

Hi.

I tried to load my normal map but i got artifacts.

Screenshot:
cache0

File:
normal

Also i found some issues:

  • No "File->New" button in the menu. It's useful.
  • Is it possible to generate occlusion and specular based only on NormalMap? For example, i baked normal map in blender, but occlusion and specular would be great to generate in AB.
  • Is it possible to switch color texture off? For example, if i load only normal map.

Thanks.

Build AwesomeBump on Windows

Are you supporting AwesomeBump on Windows?
I've successfully build AwesomeBump but it crashes at startup.
Log file:

Debugging starts
bool __cdecl qtnRegisterDefaultMetaPropertyFactory(void)
Application dir: "C:/github/ppiecuch/AwesomeBump/workdir/win32-msvc2013-dgb-gl4/bin"
Data dir: ""
Starting application:
"Running the AwesomeBump 4.0 Beta (2015)"
Checking OpenGL version...
Widget OpenGL: "4.3"
Context valid: true
OpenGL information:
VENDOR: Intel
RENDERER: Intel(R) HD Graphics 5500
VERSION: 4.3.0 - Build 10.18.14.4062
GLSL VERSION: 4.30 - Build 10.18.14.4062
"Version: 4.3"
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QtnPropertySetFormImageProp::propertyDidFinishEditing() in ..\Sources\formimageprop.cpp:19
QObject::connect:  (sender name:   'FormImageProp')
QObject::connect:  (receiver name: 'FormImageProp')
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QtnPropertySetFormImageProp::propertyDidFinishEditing() in ..\Sources\formimageprop.cpp:19
QObject::connect:  (sender name:   'FormImageProp')
QObject::connect:  (receiver name: 'FormImageProp')
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QtnPropertySetFormImageProp::propertyDidFinishEditing() in ..\Sources\formimageprop.cpp:19
QObject::connect:  (sender name:   'FormImageProp')
QObject::connect:  (receiver name: 'FormImageProp')
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QtnPropertySetFormImageProp::propertyDidFinishEditing() in ..\Sources\formimageprop.cpp:19
QObject::connect:  (sender name:   'FormImageProp')
QObject::connect:  (receiver name: 'FormImageProp')
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QtnPropertySetFormImageProp::propertyDidFinishEditing() in ..\Sources\formimageprop.cpp:19
QObject::connect:  (sender name:   'FormImageProp')
QObject::connect:  (receiver name: 'FormImageProp')
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QtnPropertySetFormImageProp::propertyDidFinishEditing() in ..\Sources\formimageprop.cpp:19
QObject::connect:  (sender name:   'FormImageProp')
QObject::connect:  (receiver name: 'FormImageProp')
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QtnPropertySetFormImageProp::propertyDidFinishEditing() in ..\Sources\formimageprop.cpp:19
QObject::connect:  (sender name:   'FormImageProp')
QObject::connect:  (receiver name: 'FormImageProp')
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal QtnPropertySetFormImageProp::propertyDidFinishEditing() in ..\Sources\formimageprop.cpp:19
QObject::connect:  (sender name:   'FormImageProp')
QObject::connect:  (receiver name: 'FormImageProp')
libpng warning: iCCP: known incorrect sRGB profile
Loading cubemaps folders:
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Reading the list of available configs settings:
Loading cubemaps folders:
Looking for enviromental maps in Core/2D/skyboxes:
Reading new cube map: ("./Core/2D/skyboxes//posx.jpg", "./Core/2D/skyboxes//negx.jpg", "./Core/2D/skyboxes//posy.jpg", "./Core/2D/skyboxes//negy.jpg", "./Core/2D/skyboxes//posz.jpg", "./Core/2D/skyboxes//negz.jpg")
Generated number of mipmaps: 10
Cannot load cube map: check if images listed above exist.
Skipping glWidget repainting during first Env. maps. load.
Parsing shaders in Render folder:
Looking for shaders in Core/Render directory
ASSERT failure in QVector<T>::operator[]: "index out of range", file C:\Qt\5.5\msvc2013_64\include\QtCore/qvector.h, line 401
Debug Error!

Program: C:\Qt\5.5\msvc2013_64\bin\Qt5Cored.dll
Module: 5.5.1
File: global\qglobal.cpp
Line: 2974

ASSERT failure in QVector<T>::operator[]: "index out of range", file C:\Qt\5.5\msvc2013_64\include\QtCore/qvector.h, line 401

(Press Retry to debug the application)
calling  void __cdecl GLImage::initializeGL(void)
Loading filters (fragment shader)
done
Loading filters (vertex shader)
done
FBOImages::creating new FBO( 256 , 256 ) with id= 2
FBOImages::creating new FBO( 1024 , 1024 ) with id= 3
FBOImages::creating new FBO( 1024 , 1024 ) with id= 4
void __cdecl GLImage::resizeGL(int,int)
  activeImage is null
Initializing 3D widget: detected openGL version: "4.1"
Loading quad (geometry shader)
done
Loading quad (vertex shader)
done
Loading quad (tessellation control shader)
done
Loading quad (tessellation evaluation shader)
done

Stack:

1   QVector<UniformData>::size  qvector.h   82  0x7ff711eb76da  
2   Dialog3DGeneralSettings::updateParsedShaders    Dialog3DGeneralSettings.cpp 114 0x7ff711eb1a2a  
3   GLWidget::initializeGL  glwidget.cpp    301 0x7ff711cca3dc  
4   QGLWidget::glInit   qgl.cpp 4526    0x604bc288  
5   QGLWidget::resizeEvent  qgl.cpp 4413    0x604bc168  
6   QWidget::event  qwidget.cpp 8840    0x5fb0986f  
7   QGLWidget::event    qgl.cpp 4375    0x604bbf67  
8   QApplicationPrivate::notify_helper  qapplication.cpp    3716    0x5faa1fb6  
9   QApplication::notify    qapplication.cpp    3681    0x5fa9f773  
10  QCoreApplication::notifyInternal    qcoreapplication.cpp    965 0x609ac9a4  
11  QCoreApplication::sendSpontaneousEvent  qcoreapplication.h  227 0x60b0e4ec  
12  QWidgetWindow::handleResizeEvent    qwidgetwindow.cpp   696 0x5fb4fb72  
13  QWidgetWindow::event    qwidgetwindow.cpp   233 0x5fb4e3ba  
14  QApplicationPrivate::notify_helper  qapplication.cpp    3716    0x5faa1fb6  
15  QApplication::notify    qapplication.cpp    3160    0x5fa9ccdb  
16  QCoreApplication::notifyInternal    qcoreapplication.cpp    965 0x609ac9a4  
17  QCoreApplication::sendSpontaneousEvent  qcoreapplication.h  227 0x60b0e4ec  
18  QGuiApplicationPrivate::processGeometryChangeEvent  qguiapplication.cpp 2069    0x7ffeca9a02c3  
19  QGuiApplicationPrivate::processWindowSystemEvent    qguiapplication.cpp 1594    0x7ffeca9a0c0b  
20  QWindowSystemInterface::sendWindowSystemEvents  qwindowsysteminterface.cpp  626 0x7ffeca9662fc  
... <More>              

Code:

    GLSLShaderParser* parsedShader = currentRenderShader;
    int maxParams      = settings3D->ParsedShader.MaxParams;
    int noParsedParams = parsedShader->uniforms.size(); <<<<<<<<<<<< parsedShader == nullptr >>>>>>>>
    // Check if parsed number uniform is greater than supported number of params
    // if YES display warning message.
    if(noParsedParams > maxParams){

Windows: program does not start, fails silently, no error in log

This is on recent Intel integrated graphics, 64-bit Windows 8.1. Program version is 3.0.2, downloaded from the releases page. No window appears on the screen when the program is started, but a log is created.

Here is the log:

[30/03/2015 11:16:19] {Debug}        Starting application:
[30/03/2015 11:16:19] {Debug}        "Running the AwesomeBump v3.0.2 "
[30/03/2015 11:16:19] {Debug}        Checking OpenGL version...
[30/03/2015 11:16:19] {Debug}        Widget OpenGL:  4 . 3
[30/03/2015 11:16:19] {Debug}        Context valid:  true
[30/03/2015 11:16:19] {Debug}        OpenGL information: 
[30/03/2015 11:16:19] {Debug}        VENDOR:  Intel
[30/03/2015 11:16:19] {Debug}        RENDERER:  Intel(R) HD Graphics 4400
[30/03/2015 11:16:19] {Debug}        VERSION:  4.3.0 - Build 10.18.10.3960
[30/03/2015 11:16:19] {Debug}        GLSL VERSION:  4.30 - Build 10.18.10.3960
[30/03/2015 11:16:19] {Debug}        Version: 4.3
[30/03/2015 11:16:20] {Debug}        Reading the list of available configs settings: ("28_asd.ini", "36_Dragon.ini", "37_Bricks.ini", "38_Doors.ini", "39_guy1.ini")
[30/03/2015 11:16:20] {Debug}        Loading Settings: "Configs/28_asd.ini"
[30/03/2015 11:16:20] {Debug}        Loading Settings: "Configs/36_Dragon.ini"
[30/03/2015 11:16:20] {Debug}        Loading Settings: "Configs/37_Bricks.ini"
[30/03/2015 11:16:20] {Debug}        Loading Settings: "Configs/38_Doors.ini"
[30/03/2015 11:16:20] {Debug}        Loading Settings: "Configs/39_guy1.ini"
[30/03/2015 11:16:20] {Debug}        Supported GUI styles:  "Windows, WindowsXP, WindowsVista, Fusion"
[30/03/2015 11:16:20] {Debug}        Calling void MainWindow::loadSettings()  loading from  "config.ini"
[30/03/2015 11:16:20] {Debug}        void FBOImageProporties::init(QImage&)
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 2
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 3
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 4
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 5
[30/03/2015 11:16:20] {Debug}        void FBOImageProporties::init(QImage&)
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 7
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 8
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 9
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 10
[30/03/2015 11:16:20] {Debug}        void FBOImageProporties::init(QImage&)
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 12
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 13
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 14
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 15
[30/03/2015 11:16:20] {Debug}        void FBOImageProporties::init(QImage&)
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 17
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 18
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 19
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 20
[30/03/2015 11:16:20] {Debug}        void FBOImageProporties::init(QImage&)
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 22
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 23
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 24
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 25
[30/03/2015 11:16:20] {Debug}        void FBOImageProporties::init(QImage&)
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 27
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 28
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 29
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 30
[30/03/2015 11:16:20] {Debug}        void FBOImageProporties::init(QImage&)
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 32
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 33
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 34
[30/03/2015 11:16:20] {Debug}        FBOImages::creating new FBO( 512 , 512 ) with id= 35
[30/03/2015 11:16:20] {Debug}        Loading cubemaps folders:
[30/03/2015 11:16:20] {Debug}        Enviromental map: "1SaintLazarusChurch"
[30/03/2015 11:16:20] {Debug}        Enviromental map: "LancellottiChapel"
[30/03/2015 11:16:20] {Debug}        Enviromental map: "MarriottMadisonWest"
[30/03/2015 11:16:20] {Debug}        Enviromental map: "Park"
[30/03/2015 11:16:20] {Debug}        Enviromental map: "PereaBeach"
[30/03/2015 11:16:20] {Debug}        Enviromental map: "White"
[30/03/2015 11:16:20] {Debug}        Enviromental map: "Yokohama"
[30/03/2015 11:16:20] {Debug}        Reading new cube map: ("Core/2D/skyboxes/1SaintLazarusChurch/posx.jpg", "Core/2D/skyboxes/1SaintLazarusChurch/negx.jpg", "Core/2D/skyboxes/1SaintLazarusChurch/posy.jpg", "Core/2D/skyboxes/1SaintLazarusChurch/negy.jpg", "Core/2D/skyboxes/1SaintLazarusChurch/posz.jpg", "Core/2D/skyboxes/1SaintLazarusChurch/negz.jpg")
[30/03/2015 11:16:20] {Debug}        Generated number of mipmaps: 10
[30/03/2015 11:16:20] {Debug}        Skipping glWidget repainting during first Env. maps. load.
[30/03/2015 11:16:20] {Debug}        calling  virtual void MainWindow::resizeEvent(QResizeEvent*)
[30/03/2015 11:16:20] {Debug}        calling  virtual void GLImage::initializeGL()
[30/03/2015 11:16:20] {Debug}        Loading filters (fragment shader)
[30/03/2015 11:16:20] {Debug}        done
[30/03/2015 11:16:20] {Debug}        Loading filters (vertex shader)
[30/03/2015 11:16:20] {Debug}        done

Versions 2.1 and 1.0 of the program do not work either, they have the same problem.

Baking maps from high resolution models

This is a feature request. There is a program called xNormal that bakes normal maps from high-resolution meshes, and it does it very well. There is another program called Knald that does this too. Would this be a difficult feature to implement?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.