-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Using v1.0.17. Exported model primitives use a geographic center of an object rather than the object origin to determine the reference point used by the BMS engine for alpha sorting. 3ds MAX plugin users are able to functionally alpha-sort primitives by shifting the pivot (origin) of an object in MAX, whereas this does not seem to function in Blender.
This makes the process absurdly difficult to do (using the functions provided in Model Viewer instead) in a model with hundreds or thousands of primitives.
To Reproduce
Using an object with "Do not merge" property in tool panel or by selecting "do not join same materials" in preferences, export and compare the node's reference point in Model Viewer against the listed "BMS Coordinates" panel. Shift the object's origin away in blender and repeat: note no change in Model Viewer.
Expected behavior
Exported BML nodes should derive a reference point from object origin in Blender.
Images show example of provided repro steps. NOTE the "BMS Coordinates" panel uses an incorrect axis convention, same issue as was previous corrected in the 3dbuttons.dat export, but it's pretty easy to decipher the mix-up.

