Vladimír Vondruš
b18aba5868
AnyShaderConverter: propagate debug info level.
6 years ago
Vladimír Vondruš
709931896d
ShaderTools: doc that optimization / debug info doesn't affect validation.
6 years ago
Vladimír Vondruš
c9d28af5d4
shaderconverter: hmm, this is wrong.
6 years ago
Vladimír Vondruš
d15d024da1
ShaderTools: check for PreprocessOnly also in validate*().
6 years ago
Vladimír Vondruš
0a32b74356
ShaderTools: forgot to test the PreprocessOnly check in link*().
6 years ago
Vladimír Vondruš
bd3903e637
AnyShaderConverter: propagate preprocessor definitions.
6 years ago
Vladimír Vondruš
5c223d2045
doc: reference CLI utils from plugin interface classes.
6 years ago
Vladimír Vondruš
d41e81fa9c
AnyShaderConverter: fix include order.
6 years ago
Vladimír Vondruš
f80b238e27
ShaderTools: intro docs for AbstractConverter.
...
Now that we have AnyShaderConverter we can finally do that.
6 years ago
Vladimír Vondruš
dcbd860f9b
shaderconverter: new tool.
6 years ago
Vladimír Vondruš
6db6a2a5f8
AnySceneConverter: fix a misleading macro name in the test.
6 years ago
Vladimír Vondruš
f1ba6c692b
AnyShaderConverter: new plugin.
6 years ago
Vladimír Vondruš
7c0266f3eb
ShaderTools: add a TODO.
6 years ago
Vladimír Vondruš
b9ef6b4a02
ShaderTools: ability to control optimizations and debug level.
...
So the -O and -g options in magnum-sceneconverter can be implemented in
a generic way.
6 years ago
Vladimír Vondruš
ff7b08a59b
ShaderTools: ability to control the preprocessor.
...
For -E, -D and -U magnum-shaderconverter options.
6 years ago
Vladimír Vondruš
7ee589552f
ShaderTools: expand verbosity levels, add warnings as errors.
6 years ago
Vladimír Vondruš
709ed229f5
ShaderTools: ability to specify input/output shader format and version.
...
For things like converting from GLSL 4.50 to 1.00 ES.
6 years ago
Vladimír Vondruš
332030aaa2
ShaderTools: add a linking API to AbstractConverter.
...
Eh. Am I overdoing it with the tests?
6 years ago
Vladimír Vondruš
ad12575a08
ShaderTools: C++, you're stupid. Fuck you.
...
Like, it's INEVITABLE to have a 100-line std::lerp() implementation for
questionable reasons but such dead-simple thing as std::pair doing moves
instead of copies where expected that should have been done CORRECTLY
back in 2011 still isn't working reliably across implementations?!
I guess I'm doing my Containers::Pair soon as well, then.
6 years ago
Vladimír Vondruš
13dfb6472f
ShaderTools: bootstrap new library.
...
Currently there's just a plugin interface for shader converters. More
stuff (probably something like SPIR-V reflection) will come later.
6 years ago
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