Sat, Feb 1, 4:52 PM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: P5 Animated shader node parameter TypeCode list update for Ockham


an0malaus ( ) posted Sun, 13 March 2005 at 5:48 PM · edited Sat, 02 November 2024 at 2:55 AM

Here's another list of the Poser 5 Python accessible parameter TypeCodes(). Most of these are exposed via kParmCode constants (the list was previously expanded by searching the Poser5 binary executable for such strings), but a fair number are not. The latest addition is the TypeCode 102 for ShaderNodeParms. Whenever a Material Room nodeInput has animation enabled (click on the key and select Animated from the popup then the key turns green) it is exposed to the Poser Parameter GUI for the BODY of a figure (or a prop) in a new parameter group called ShaderNode. These can be selected from the list of BODY (or prop) actor parameters by comparing the parameter's TypeCode() = 102. myParmCodes = { 'Null' : 0, 'kParmCodeXROT' : 1, 'kParmCodeYROT' : 2, 'kParmCodeZROT' : 3, 'kParmCodeXTRAN' : 4, 'kParmCodeYTRAN' : 5, 'kParmCodeZTRAN' : 6, 'kParmCodeXSCALE' : 7, 'kParmCodeYSCALE' : 8, 'kParmCodeZSCALE' : 9, 'kParmCodeASCALE' : 10, 'aspect' : 11, 'kParmCodeFOCAL' : 12, 'aperture' : 13, 'kParmCodeHITHER' : 14, 'kParmCodeYON' : 15, 'blank16' : 16, 'xOffset' : 17, 'xTranB' : 18, 'yOffset' : 19, 'yTranB' : 20, 'zOffset' : 21, 'zTranB' : 22, 'kParmCodeKDRED' : 23, 'kParmCodeKDGREEN' : 24, 'kParmCodeKDBLUE' : 25, 'kParmCodeTAPERX' : 26, 'kParmCodeTAPERY' : 27, 'kParmCodeTAPERZ' : 28, 'kParmCodeKDINTENSITY' : 29, 'jointx' : 30, 'jointy' : 31, 'jointz' : 32, 'twistx' : 33, 'twisty' : 34, 'twistz' : 35, 'scalesmooXY' : 36, 'blank37' : 37, 'blank38' : 38, 'blank39' : 39, 'kParmCodeDEPTHMAPSIZE' : 40, 'kParmCodeDEPTHMAPSTRENGTH': 41, 'kParmCodeTARGET' : 42, 'kParmCodeGEOMCHAN' : 43, 'kParmCodeCENTER' : 44, 'kParmCodeCURVE' : 45, 'kParmCodeGRASP' : 46, 'kParmCodeTGRASP' : 47, 'kParmCodeSPREAD' : 48, 'deformerPropChan' : 49, 'kParmCodeWAVEAMPLITUDE' : 50, 'kParmCodeWAVEFREQUENCY' : 51, 'kParmCodeWAVELENGTH' : 52, 'kParmCodeWAVESTRETCH' : 53, 'kParmCodeWAVESINUSOIDAL' : 54, 'kParmCodeWAVESQUARE' : 55, 'kParmCodeWAVETRIANGULAR' : 56, 'kParmCodeWAVETURBULENCE' : 57, 'blank58' : 58, 'kParmCodeLITEFALLOFFSTART' : 59, 'kParmCodeLITEFALLOFFEND' : 60, 'kParmCodeLITEATTENSTART' : 61, 'kParmCodeWAVEPHASE' : 62, 'kParmCodeWAVEAMPLITUDENOISE' : 63, 'kParmCodeWAVEOFFSET' : 64, 'kParmCodeVALUE' : 65, 'kParmCodePOINTAT' : 66, 'kParmCodeLITEATTENEND' : 67, 'kParmCodeHAIRDYNAMICS' : 90, 'kParmCodeDYNAMICPARENT' : 92, 'kParmCodeCLOTHDYNAMICS' : 91, 'shaderNodeParm' : 102 }



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.


ockham ( ) posted Mon, 14 March 2005 at 10:56 AM

Good piece of research! Might consider putting these into Underdog's Python archive website?

My python page
My ShareCG freebies


an0malaus ( ) posted Mon, 14 March 2005 at 8:35 PM

Point me there and it's done.



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.


an0malaus ( ) posted Mon, 14 March 2005 at 9:31 PM

Found it. Fantasy3D.com. Just emailed Underdog to register.



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.


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.