Forum Moderators: Staff
Poser Technical F.A.Q (Last Updated: 2024 Nov 13 12:50 am)
Welcome to the Poser Technical Forum.
Where computer nerds can Pull out their slide rules and not get laughed at. Pocket protectors are not required. ;-)
This is the place you come to ask questions and share new ideas about using the internal file structure of Poser to push the program past it's normal limits.
New users are encouraged to read the FAQ sections here and on the Poser forum before asking questions.
the operative term in the "name getStringRes(n,n)" command is the second numberical term, which identifies the label for the parameter dial. the code is below. (at least for the numbers poser currently uses; i don't know if there are more.) 2 = "twist" 3 = "side-side" 4 = "bend" 24 = "front-back" 53 = "up-down" for example, the xrot, yrot, zrot labels for the abdomen are as follows: xrot -- name getStringRes(1028,4) "bend" yrot -- name getStringRes(1028,2) "twist" zrot -- name getStringRes(1028,3) "side-side" for the shoulders, which uses both different rotation orders & labels: xrot -- name getStringRes(1028,2) "twist" yrot -- name getStringRes(1028,24) "front-back" zrot -- name getStringRes(1028,3) "bend" in order to completely hide a rotation control (you'll note the eyes only have 2 axes, not 3), change the "hidden" command parameter from 0 (the default value) to 1. this command usually follows the "name" command a few lines down. i've tried using global replace to rename the dial labels, but it can be tricky, esp. after making a mistake; you can't simply replace all the "1028,2" occurrences since you won't be able to globally distinguish the correct ones from the incorrect ones. in the end, some manual hunting & replacing is always required. as for your last question, none of the body parts nor their subroutines need appear in any particular order, as long as all the abdomen routines are properly nested under "actor abdomen", etc., and all the relevant ones are present.
The GetStringRes bit is a call into the RSR or data segment that replaces the number with the name. Meta uses codewarrior to set this up, so they don't have list either. Odd and strange things can happen if you try to rearrange dials. Morph targets can be done however you want, but it appears that a lot of the dials are dependent in some fashion on earlier dials. So you can rearrange them but the figure might break. Always test a copy.
If you re-arrange the orders in the cr2. The rotation order is changed to match it. That's how I know what rotation order is used. I look at the order of the dials. There is no way to change the location of the dials and keep the rotation orders where they are at. The rotation order in the .cr2 determines the location of the dials. ScottA
heyas; dave; i was using the right numbers, they just... didn't translate. :: oh well. scott: um... hmm. i thought there was another tag that told the twist section that it was a twist, and the bend it was a bend. in the phi, the order defines twist/bend/bend, but... oh well, the less i mess with things the better, right? :) thanks guys!
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.
heyas; i was going through the detail gruntwork of setting joint limits and naming the xrot, yrot, zrot dials to real names. but then i came to my senses! in some of my figures, the rotation orders are all (or 90%) the same. so i went through cr2editor and did a search and replace. first, i changed the hip by hand, and saved the cr2. then i searched for zrot, which happened to be the twist axis, and i replaced "name zrot" with "name GetStringRes{1028,2)" (or whatever secret # 'twist' is), which is what comes out in the cr2 if you use a standard poser name like 'twist.' same for the bend and side-side. THEN i saved and opened the search/replaced figure, and what's the name on all the dials? GetStringRes(blahblahblah). now how the heck do you figure that??? sheesh. anyrate, i went through and just changed name zrot to name twist. but it isn't internationally compatible ;) oh, another thing! if i change the order of the rotatey rotatex rotatez things in the cr2, just to change the order of the dials when you use poser, will that screw up the cr2 for 'knowing' which one is the twist?