Vladimír Vondruš
06e039dbe7
Trade: reverse AbstractSceneConverter::convertToFile() argument order.
...
It should be input first, output second, like with all other APIs. I
remember I was trying something else here, but that didn't really make
sense in the end. Also took that opportunity to get rid of one
std::string.
The original signature is a deprecated alias to the new one and will be
removed in a future release.
5 years ago
Vladimír Vondruš
29ac7b5a4d
Trade,ShaderTools: add addFlags() / clearFlags() to all plugin interfaces.
...
There will be Flag::FlipY for images at some point, enabled by default
for compatibility with existing GL code, and so it makes sense to start
discouraging setFlags() as early as possible to avoid people resetting
the default by accident.
Also update the imageconverter, sceneconverter and shaderconverter utils
to use these instead of setFlags().
5 years ago
Vladimír Vondruš
50d187fe83
{scene,shader,image}converter: make output argument treating consistent.
...
If it's ignored, a warning is printed to catch accidents, but not an
error since it should be possible to just append --info to existing
command line to see what the input is about.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
5438b58348
MeshTools: doc++
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š
88879298a7
sceneconverter: enumerate lights in --info.
6 years ago
Vladimír Vondruš
6be0248e9c
imageconverter,sceneconverter: add -I and -C short variants.
...
I'm tired of typing all that.
6 years ago
Vladimír Vondruš
b1a719d67a
sceneconverter: list textures in --info.
6 years ago
Vladimír Vondruš
d3b346eda5
Trade: add a MaterialTextureSwizzle enum.
6 years ago
Vladimír Vondruš
33d1bad2e1
sceneconverter: print material info.
6 years ago
Vladimír Vondruš
cf4dc69f0d
sceneconverter: add a --bounds option.
6 years ago
Vladimír Vondruš
5222cf3478
doc: change all "latest" additions/deprecations to 2020.06.
6 years ago
Vladimír Vondruš
00acfbc659
sceneconverter: add a more complex example.
6 years ago
Vladimír Vondruš
4933b48652
imageconverter,sceneconverter: compact image info if possible.
...
If the images have all just a single level and no names, print each on
just a single line.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
036207f88e
sceneconverter: add --mesh and --level options.
...
Following the addition to imageconverter.
6 years ago
Vladimír Vondruš
fa31202c9c
sceneconverter: show mesh reference count only if there's a scene.
...
Otherwise, for plain formats without a scene graph such as PLY or STL,
the information is useless.
6 years ago
Vladimír Vondruš
f6fdfac27e
sceneconverter: allow to filter attributes on input.
6 years ago
Vladimír Vondruš
3381cedc90
sceneconverter: doc++
6 years ago
Vladimír Vondruš
d843dc2e31
sceneconverter: no, it's not anymore.
6 years ago
Vladimír Vondruš
a91aa47a02
sceneconverter: add --remove-duplicates-fuzzy.
6 years ago
Vladimír Vondruš
add966e0bd
sceneconverter: add a --remove-duplicates option.
6 years ago
Vladimír Vondruš
f8f73d2cbb
sceneconverter: print also reference count for each mesh.
6 years ago
Vladimír Vondruš
749ae985b1
sceneconverter: support chaining converters.
6 years ago
Vladimír Vondruš
fb32dd4c0e
imageconverter,sceneconverter: support option subgroups as well.
6 years ago
Vladimír Vondruš
0da8f89055
sceneconverter: hook scene converter plugins into this thing.
6 years ago
Vladimír Vondruš
08a51215b6
sceneconverter: add a --profile option.
6 years ago
Vladimír Vondruš
b7edd8df25
sceneconverter: move the utility from Trade to MeshTools.
...
So it can make use of all the APIs in here. Having the utility part of
Trade would make the cyclic dependency a bit weird. Not adding MeshTools
as a dependency just yet, will do that once it's actually needed.
6 years ago
Vladimír Vondruš
299cf7740f
imageconverter,sceneconverter: add a --verbose option.
6 years ago
Vladimír Vondruš
6aa232fa0c
Trade: doc++
6 years ago
Vladimír Vondruš
1c51b98d76
Trade: new magnum-sceneconverter tool.
...
Currently provides just the --info option similarly to
magnum-imageconverter, nothing else.
6 years ago