As default behavior, AssetKit tries convert document coordinate system to default coordinate system which is configurable option AK_OPT_COORD. But the problem is that viewer may not want involve to any coord-sys specific operation.
Making this step optional will improve loading performance
Default is Y_UP but with an option like ak_opt_set(AK_OPT_USE_DOC_COORD, true); loaded document's coord sys can be considered as default coord-sys e.g. if imported document is Z_UP default will be Z_UP and loader will skip converting coord-sys (geometries, transforms, cameras, lights...)
AK_OPT_USE_DOC_COORD should not override AK_OPT_COORD option
As default behavior, AssetKit tries convert document coordinate system to default coordinate system which is configurable option
AK_OPT_COORD
. But the problem is that viewer may not want involve to any coord-sys specific operation.Making this step optional will improve loading performance
Default is Y_UP but with an option like
ak_opt_set(AK_OPT_USE_DOC_COORD, true);
loaded document's coord sys can be considered as default coord-sys e.g. if imported document is Z_UP default will be Z_UP and loader will skip converting coord-sys (geometries, transforms, cameras, lights...)AK_OPT_USE_DOC_COORD
should not overrideAK_OPT_COORD
option