SteveJax opened this issue on Sep 22, 2011 · 118 posts
Cage posted Wed, 05 October 2011 at 1:07 PM
Quote - Cage, you should know I've encountered some mystery snag injecting the data. Some figures it works, some it doesn't and I can't figure out why the ones that don't are being stubborn. One of them is Andy the P9 manequin. If I inject the joints by PZ2 it works fine. If I try a CR2 hot load it never reads the pose file. >.<
I've picked through the Pose and Hot Load files line by line and I can't figure out what's derailing the process. I even tried putting the joint data right in the Hot Load CR2 -- no luck.
That's interesting... and bad news. :scared: No patterns have become apparent?
I've only tested loading the weights from a pose once, and in that case some of the joints didn't update until after the file was saved and reloaded. But the process worked.
The work Diogenes has been doing on Antonia has made me wonder whether we need another approach. He's adding new "helper bone" actors to the .cr2, as well as magnets to help correct some tricky areas. I'm not sure whether Poser will be able to add the actors or magnets using the readScript approach revealed near the top of the thread.
The backup plan I've been considering is a script to actually merge the pose into the .cr2 on the file level, using Python instead of relying on Poser's native loading process. We know we can distribute the weight data via a pose, so presumably that should work. Not as convenient for users, perhaps, but it's beginning to sound like it could be a more reliable approach. :unsure:
Unfortunately that means more work for the scriptwriter(s). :lol: When I rewrote the script yesterday, I was partially thinking about extensibility. I think the current framework could be used as the basis for a merging script as well as the pose creation script.
Is there anything I can do to help with testing of this new problem?
===========================sigline======================================================
Cage can be an opinionated jerk who posts without thinking. He apologizes for this. He's honestly not trying to be a turkeyhead.
Cage had some freebies, compatible with Poser 11 and below. His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.