Derelict Assimp RemoveComponent
Lemonfiend
lemon at fie.nd
Wed Sep 25 08:32:06 PDT 2013
This might be OT, or missing in Derelict's Assimp bindings, I'm
not sure.
The aiPostProcessSteps.RemoveComponent flag signals that I want
Assimp to skip importing certain components.
But where/how do I specify these?
The docs only mention
http://assimp.sourceforge.net/lib_html/config_8h.html#afc0a4c00fb90c345eb38fe3f7d7c8637
which is less than helpful..
--
uint flags = aiPostProcessSteps.GenNormals;
flags |= aiPostProcessSteps.RemoveComponent;
// And now for the components?
auto scene = aiImportFile(path, flags);
--
Any ideas?
More information about the Digitalmars-d-learn
mailing list