Sun, Dec 1, 5:28 PM CST

Renderosity Forums / Poser Technical



Welcome to the Poser Technical Forum

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.



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



Subject: How do you make joint controlled magnets?


insomniaworks ( ) posted Fri, 25 March 2005 at 2:33 PM · edited Fri, 29 November 2024 at 11:45 AM

Here is another one for you philc! I want to make a cr2 that has a magnets applied that do the job of reshaping the breasts during collar movements in an A3 clothing figure.

In other words, I want to make joint controlled magnets. How can I?

marty

Message edited on: 03/25/2005 14:35


PhilC ( ) posted Fri, 25 March 2005 at 4:23 PM

Exactly the same way as any other joint controled parameter. You can slave any channel to any other channel. This includes slaving a magnet translation channel to a shoulder rotation channel. If you need more info tell me what you are slaving to what and I'll set up an example.

philc_agatha_white_on_black.jpg


lesbentley ( ) posted Fri, 25 March 2005 at 6:05 PM

file_207579.jpg

Here is a crude example of a magnet on the P4 Casual Womans "shoulder" (upper arm) where its zScale is controled by bending the forearm to give the impression of muscle bulge. Position the magnet on the figure's shoulder. Save it to a a props pallet, using 'Select Subset' to include the zone and base. Open the resulting pp2 in a text editor. Scrole down to channels section for the magnet.
magnetDeformerProp Mag  1:1
        {
        name    Mag  1

Scrol down further till you find the 'propagatingScaleZ zScale' channel. propagatingScaleZ zScale { name GetStringRes(1028,8) initValue 1 hidden 0 forceLimits 0 min 0.001 max 100000 trackingScale 0.004 keys { static 0 k 0 1 } interpStyleLocked 0 }

Add this code after the 'interpStyleLocked' line. valueOpDeltaAdd figure 1 rForeArm:1 yrot deltaAddDelta 0.010000

The first line tells Poser what type of ERC to use. The second line seems to specify the figure (though in my experience anything can go here). The third is the body part that the slave channel will read from. The fourth line is the channel in that body part that it will read from. The fith line is the control ratio, this line sets the ammount that the slave channel will respond to a change in master channel. You will have to tetermin the best value for this last line by experiment. There are some other parts of the channel that you will probably have to modify. Set the value in the 'forceLimits' line to '4' (on). Set the 'min' line to 'min 1' this will stop the channel from going to a negitive value. Set the 'max' line to 'max 2.000' this will determin the maximum value for the channel. Here is the complete channel from the magnet: propagatingScaleZ zScale { name GetStringRes(1028,8) initValue 1 hidden 0 forceLimits min max trackingScale 0.004 keys { static 0 k 0 1 } interpStyleLocked 0

                        }

I have attached the text of of the magnet described above. You can copy the text, paste it into a text editor and save it to a Props folder as "ERC-Mag.pp2" (for example). This is only a crude example knocked togethr in a few minutes to demonstrate the important points.


insomniaworks ( ) posted Mon, 28 March 2005 at 10:23 AM

Thank you for you help lesbently and philc! I was sick for a few days so I was delayed on working on this. It is a little different than regular jcms, but with lesbently's explanation and a little experimentation, I have made a couple breast, joint controled magnets, that can be applied on a unimesh clothing that no jcms of its own. These magnets will be included in my latest project and soon to be MP item, "V3-A3 Conversion Kit". Thank you, marty


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.