Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
SpawnCharacter uses the current state of the vertices to generate a new morph. Actually, it spawns a morph target, just like one could do manually.
It should not ignore magnets, I'll have to look into that when I have time.
When you spawn a morph target manually, a morph delta for EVERY vertex is generated, even if the delta is zero. SpawnCharacter strips out deltas that are smaller than 10 to the power of (- morph precision).
TBH, a morph precision of 8 is a waste. A morph precision of 4 would mean that deltas smaller than 0.25 millimeter would get stripped, So a morph precision of 5 (strips deltas smaller than 0.025 millimeter) should be good enough for just about anything.
I put this functionality in the script to make the resulting .pz2 files smaller.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
hi! Q:"It should not ignore magnets, I'll have to look into that when I have time." well, may i send you the morph-setting pz2 and the mags of one of my v3 characters? then we can compare the results - maybe there is something wrong on my end of the line ... ;) Q:"When you spawn a morph target manually, a morph delta for EVERY vertex is generated, even if the delta is zero." i am sorry but i have to disaggree in this point. i still use p5 in 99.9%, my system's too old for the newer versions (to rotate the camera around v3 is a slideshow). and p5 writes only deltas for the vertices that actually have been moved. is that different in p6/7? i haven't tried it yet... Q:"I put this functionality in the script to make the resulting .pz2 files smaller." definitely a good and smart idea! the only thing that worries me is the seams between bodyparts (like the crappy area around v3's sternum).
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.
first of all: thx to svdl, not only for this script which is a valuable timesaver, but also for all the other goodies! there's 2 things about this script i just don't understand... 1. it seems to ignore magnets. does it 'simply' merge already existing and nonzeroed morphs or am i doing something wrong? as a workaround i spawn morphs manually and run the script with these new morphs... 2. ...but when i compare the new pz2 with the cr2 i see that the morphs often have less deltas. is this due to the 8-digit-limit? tia A.