[Closed] Exporting instances in terms of transforms of original
Hi,
Has anyone had any experience of exporting instanced objects as transforms based on the original object…? As an example, if I had a building which was then instanced several times in a scene, I would ideally wish to just store the relevant data for the original mesh (vertices, UVs, etc) and, for each subsequent instance, just store the required transformation of the original mesh (i.e position, rotation, scale) so as to reduce the amount of data being exported.
I’ve had a brief look at the docs and it seems it should be slightly fiddly but possible, probably requiring comparisons/corrections between the instanced mesh and original, to check the transforms are correct. However, it occurred to me that there may be additional caveats to this approach (for example, what if one of the instanced meshes has had its pivot point moved…) which make me think that there are some aspects that I haven’t considered yet.
It would be lovely to discover that there are some existing maxscript functions to help with this exact task with all its subtleties but that doesn’t seem to be the case! Thus I would be immensely grateful if someone experienced with maxscript or who has tried such an approach could provide some thoughts before i embark on this.
Thanks