Vladimír Vondruš
0f026cd314
Platform: port EmscriptenApplication away from deprecated string APIs.
...
And avoid a needless std::string allocation as well, heh.
6 years ago
Vladimír Vondruš
46a2711fe9
Pointless Travis CI migration.
6 years ago
Vladimír Vondruš
9fa90997ac
Trade: fix cone angle defaults in LightData.
...
Those were initially implemented and documented when I thought glTF
uses a full cone angle, and I forgot to update them once I discovered
glTF has a half-angle. This is thus now consistent with glTF defaults
again.
6 years ago
Vladimír Vondruš
01cbfc6c3c
MeshTools: adapt compile() test to changes in Phong light falloff.
...
Heh, I forgot to run the full test suite after the changes in
1eb1eec271 and then the CI accidentally
had all rendering tests skipped due to missing plugins (which got fixed
in the previous commit, d1ee0b7f7e ), so
that didn't catch it either. Sigh.
6 years ago
Vladimír Vondruš
d1ee0b7f7e
package/ci: re-enable important plugins in the GLES build.
...
Those were disabled as they don't contain any ES-specific code to test,
however they are needed by various GL rendering tests.
6 years ago
Vladimír Vondruš
08bd6e9ae9
Test: fix wrong plugin name in a message.
6 years ago
Vladimír Vondruš
f30e9911e2
doc: updated changelog.
6 years ago
Vladimír Vondruš
e7b9ca735e
Shaders: make default indentity matrices more explicit in the code.
6 years ago
Vladimír Vondruš
7f5f93f31d
AnyImageImporter: port away from deprecated APIs.
6 years ago
Vladimír Vondruš
e852277905
AnyImageImporter: fix signature printing in the error message.
...
And also test various potential false positives, which shouldn't be
detected as given format.
*Damn*, I need some utility class for printing this, this is
unsustainable.
6 years ago
Vladimír Vondruš
83d6509595
Math: adapt to changes to Tweakable internals.
6 years ago
Vladimír Vondruš
5438b58348
MeshTools: doc++
6 years ago
Vladimír Vondruš
e65d1b8aff
Doc++
...
Ugh, no, this tool is not alive yet.
6 years ago
Vladimír Vondruš
1eb1eec271
Shaders: fix distance attentuation calculation in Phong.
...
Not that either way would be more correct than the other (this is what
three.js uses I think), but it was documented everywhere to be
1/(1 + d^2)
but the calculation instead did
1/(1 + d)^2
This now also means the analytical test equation works. I should have
paid more attention to it not matching before, because that obviously
pointed to this problem.
Point lights are now significantly brighter than before, the tests were
updated to use a larger distance to avoid issues with overflows. Does
not affect the (default) directional lights in any way.
6 years ago
Vladimír Vondruš
19d1693323
Platform: suppress a warning specific to MinGW GCC 8+.
6 years ago
Vladimír Vondruš
de8613e8b1
package/homebrew: update to what's actually recent in the package repo.
6 years ago
Vladimír Vondruš
4efcc78222
Wait, why the heck do I not use the NoCreate tag from Corrade?
...
It's been there since 2018. WTF.
6 years ago
Vladimír Vondruš
253b8b9be7
doc: macOS is GL 4.1, not sure why I thought it's 4.2.
...
And opengl.gpuinfo.org is totally broken, reporting only 2.1 for
everything. Heh heh.
6 years ago
Vladimír Vondruš
c226bc2d63
Doc++
6 years ago
Vladimír Vondruš
e0fd43f6fd
Trade: extract Implementation:setOptions() to core lib.
...
Will be needed by magnum-shaderconverter, which isn't depending on
Trade.
6 years ago
Vladimír Vondruš
8122d85fdd
package/msys: forgot to enable sceneconverter in the stable package.
6 years ago
Vladimír Vondruš
091572e498
GL: doc++
6 years ago
Vladimír Vondruš
7231a48fbf
Trade,Text: this is a much better example for template file callbacks.
6 years ago
Vladimír Vondruš
fce8f18d1c
Text: correctly propagate errors when delegating to *SingleData() APIs.
...
The AbstractFontConverter tests now all pass again.
6 years ago
Vladimír Vondruš
752051b5d2
Text: explicitly test also converter assertions.
6 years ago
Vladimír Vondruš
d91517c799
Text: expand AbstractFontConverterTest like all other converter tests.
...
And clean up the noise from there. This is some very old code, so the
coverage was rather poor, including two uncaught bugs causing
test failures. Fixing that in the next commit.
6 years ago
Vladimír Vondruš
fb972b262b
Trade: explicitly test a case with failed conversion written to a file.
...
Too easy to forget this check, write an empty file and return true.
6 years ago
Vladimír Vondruš
485780af3a
Trade: KDevelop, come on, learn to not do this already.
6 years ago
Vladimír Vondruš
3fd5a734ae
Trade: I'm too old for this much needless code duplication.
6 years ago
Vladimír Vondruš
78f38b89ad
Trade: doc++
...
Huh, so much copypaste bullshit.
6 years ago
Vladimír Vondruš
ff41d45be8
Vk: doc++
6 years ago
Vladimír Vondruš
6e8e78c0e4
GL: verify that NoCreate constructors are explicit.
6 years ago
Vladimír Vondruš
9de4717f0e
Math: add popcount().
6 years ago
Vladimír Vondruš
89e3067009
Math: hmm, why this isn't in the FunctionsBenchmark, then?
...
Probably because it predates it.
6 years ago
Vladimír Vondruš
1510d41c4b
Math: this is also wrongly grouped.
6 years ago
Vladimír Vondruš
8019b285bd
Math: put reflect() and refract() outside of irrelevant group.
...
Got overlooked when merging this contribution.
6 years ago
Vladimír Vondruš
ba156d329a
Shaders: stray semicolon in a GLSL source.
...
Interestingly, this makes only Apple's GLSL compiler throw up.
6 years ago
Vladimír Vondruš
08803885e7
Doc++, updated changelog.
6 years ago
Tracy Ma
6a345ea982
Fix: unable to create gl context on desktop with ANGLE + GLFW3
6 years ago
Vladimír Vondruš
81c9cb48f7
Trade: use setStorage() in the ImageData doc snippet as well.
6 years ago
Vladimír Vondruš
553034da9e
Math: doc++
6 years ago
Vladimír Vondruš
4ceeaee1d6
Trade: shuffle code around to avoid unnecessary assertion checks.
...
It does the same, but better.
6 years ago
Vladimír Vondruš
71b691d3d3
package/ci: a shorter way to specify SwiftShader path.
6 years ago
Vladimír Vondruš
0a505db0c6
package/ci: disable API-independent parts on the desktop GLES builds.
6 years ago
Vladimír Vondruš
567b15486f
Shaders: add an ability to control specular light color to Phong.
6 years ago
Vladimír Vondruš
75d238f50b
GL: implemented ARB_buffer_storage.
6 years ago
Vladimír Vondruš
aa13d08bac
GL: newer SwiftShader implements NV_read_stencil, but it's broken.
...
XFAIl on that.
6 years ago
Vladimír Vondruš
4da3b1fd60
package/ci: rename Windows desktop builds to not include GL anymore.
...
It'll be GL + Vulkan.
6 years ago
Vladimír Vondruš
2e7de5248c
package/ci: use our own compiled SwiftShader.
...
It doesn't build on GCC 4.8 anymore (had to use GCC 5), so I bet things
will catch fire now.
6 years ago
Vladimír Vondruš
b211ace935
Shaders: don't use deprecated functionality in ES builds.
6 years ago