Fri, Jan 3, 8:47 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 03 8:14 am)



Subject: Python Script to Set Joint Falloff?


bloodsong ( ) posted Tue, 05 February 2013 at 1:41 PM · edited Thu, 28 November 2024 at 7:34 PM

heyas;

 

   what i want/need to do is set a joint falloff 'heat' setting to be the same across a material.  is there any way a python script could accomplish this?  if so, can someone make one (or has someone)?

 

ie:

i want to select a material (a material that exists in the joint parent and/or child):

1: select METAL

then i want to assign a percentage of bend.

2: set to 50%

and then i want all the vertices in that material to be assigned that value.

 

ya know?


Cage ( ) posted Tue, 05 February 2013 at 4:11 PM

Unless there's been a big change in the latest SR, Poser Python provides no tools to work with falloff zones.  So a script would need to modify the pz3 or cr2 file directly and it would need to be written by someone who actually understands the mathematics used by the joint falloff zones.  I think Kuroyume figured them out, for his C4D plugins, and there's some discussion of the matter in the Python forum archives.  I don't recall that he ultimately shared with the rest of us exactly how the math works, however.  Matrices, that's all I know about it.  :lol:

I hope someone with a solid grasp of the matter can come along and address this question, however.  Such a script would be useful.  :thumbupboth:

===========================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.


lesbentley ( ) posted Tue, 05 February 2013 at 8:58 PM

Quote - what i want/need to do is set a joint falloff 'heat' setting to be the same across a material.

You mean "material" as in "material zone"? I don't think there is any way to apply a falloff to a material zone. However with weight mapped joints, you should in principle be able to assign a value (say 50%) to a group of vertices that correspond to a material zone. I say "in principle", I'm not sure how you could do that in practice.


bloodsong ( ) posted Tue, 12 February 2013 at 9:03 AM

ah, okay.

 

hahhaah, les, you mean as in 'manually paint all the vertices in the material to be the same shade of bend percentage colour'?  yeahhhhhh, i tried that.  with the airbrushyness and no, say, 'bucket fill,' that didn't work so great....  :X

 

ah well, just checking.  :/


Privacy Notice

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.