I apologize if this has been posted elsewhere, I've had no luck searching. Are the Noesis functions (that are exposed to plugins) documented anywhere? (I'm currently looking for the definition of noesis.mat43TransformPoint but I suspect eventually I'll need others.)
My current project is to try to transform a cloth mesh in Atelier Ryza (the so-called 4D mesh) into 3D coordinates in a manner identical to Joschuka's amazing fmt_g1m / Project G1M, so that I can import them using the 3dmigoto Blender plugin. (I'm aware I can export with Noesis, but this isn't useful for re-injection back into the game as far as I know because the repack tools are designed to work with the 3dmigoto format files.)
When I saw this in Joschuka's fmt_g1m plugin:
Code: Select all
Line 2017: p = boneMatrixTransform.transformPoint(p)
But then I see this (unrelated) line:
Code: Select all
Line 2029: updatedPosition = boneMatrixUpdateTransform.transformPoint(NoeVec3())
I've tried looking on Noesis' website (lol), the online manual, plugins/python/__NPExample.txt, and have found nothing. I'm very confused, and I would appreciate help. Thanks!
EDIT: I figured it out. noesis.mat43TransformPoint(self, other) is essentially ((self[3x3] dot other) + self[3]). Which, now that I have read more and (roughly) understand the difference between rotation and transformation, makes sense. Thanks!