Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
Aaaah super! Thanks so much.
And even one more question: Can one morph the core geometry? (Not make a morph target, but the .OBJ the figure refers to?)
So if you have a figure where all joint zones are converted to weight maps, then one could morph core geometry and joint centers on-the-fly to adapt shape and rig?
You can set individual vertex locations with:
SetX(value)
SetY(value)
SetZ(value)
So yes you can.
If you are getting serious about creating Python scripts for Poser you may find this publication of interest.
I was able to gather some python experience, thanks in any case Phil. What I already did was to make the posed-morph-loader, and now I think of exporting core .OBJ files with the joint centers contained in them as stand-alone-vertices so I can also just move them in an external modeller, and not having to worry about the joint-influence-zones. In my understanding the use of vert maps locks the influence values to the vertices, and thus one can move them around in a modeller, without destroying the rig entirely.
E.g. I wanted to "blend" a weight-mapped V4 to a weight-mapped M4 and see what happens. Genesis for the poor, so to say.
As scaling seems to have some odd effects on bending in general, I thought scaling could be replaced by morphing the core geometry along with move of joint centers and using weightmaps.
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Is there any way to read/write joint data through python? I want to move the joint centers with a script. I saw something that looks like one could read weight maps, but not write, and for joints the text search didnt hit much in the manual :/.
Thanks!