midnight_stories opened this issue on Mar 19, 2011 · 9 posts
midnight_stories posted Sat, 19 March 2011 at 9:49 AM
OK this is another tricky one, you guys amazed my last time!
This may not be possible in poser but it works in DS.
I’ve created a Morph for the Left thigh and I want to drive it with the side-side or Zrot rotation of the figure it’s conformed to using it’s Left Thigh, Zrot. I actually used easypose to do it but had no luck here’s the code below.
targetGeom L-Thigh-Side-Side
{
name L-Thigh-Side-Side
initValue 0
hidden 0
forceLimits 1
min -100000
max 100000
trackingScale 0.02
keys
{
static 0
k 0 0
}
interpStyleLocked 0
valueOpDeltaAdd
conformingTarget
lThigh:1
zrot
deltaAddDelta -14.000000
valueOpDeltaAdd
Figure 1
BODY:1
L-Thigh-Side-Side
deltaAddDelta 1.000000
indexes 501
numbDeltas 4363
deltas
I know I will have to set
forceLimits 1
min 0
max 1
But not sure what
conformingTarget
is ?
conformingTarget BODY:4
was in the “secret of figure creation with poser 5” book but could find what the options were. I tried this but no good. Any ideas or point me to a tutorial for it.
Thanks in advance
Midnight
Dead_Reckoning posted Sat, 19 March 2011 at 10:20 AM
Have you tried using "Dependant Parameters"?
Semiedieu gives a short tutorial here.
http://tutorials.shaderworks-studio.com/DP_ArmLength/index.html
"That government is
best which governs the least, because its people discipline
themselves."
Thomas Jefferson
midnight_stories posted Sat, 19 March 2011 at 11:02 AM
That's quite a good tutorial Thanks I picked something up there, but this has to work in poser 7 as it's being tested by DAZ. I'm trying to do what they have with their bodysuit.
Cage posted Sat, 19 March 2011 at 11:29 AM
You can set up a conforming figure to "super-conform" (slave ERC to the conforming parent) by stripping the figure numbers from the ERC listings in the conformer .cr2, then saving it to the library.
Quote - valueOpDeltaAdd
Figure
BODY
L-Thigh-Side-SidedeltaAddDelta 1.000000
When loaded into the scene, the conformer ERC will automatically point toward whichever figure is currently selected. So select the conforming parent figure, load the conformer, then conform it. The ERC should super-conform.
===========================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.
midnight_stories posted Sat, 19 March 2011 at 11:39 AM
Excellent idea my friend I think you have it !!!
SO a big thanks :)
msg24_7 posted Sat, 19 March 2011 at 12:16 PM
Quote - That's quite a good tutorial Thanks I picked something up there, but this has to work in poser 7 as it's being tested by DAZ. I'm trying to do what they have with their bodysuit.
Dependent parameters do work in Poser 7.
They have been available since then, but you had to do them by hand using a text editor.
Yesterday's the past, tomorrow's the future, but today is a gift. That's why it's called the present.
markschum posted Sat, 19 March 2011 at 3:45 PM
Some of the items done with dependant paraneters in P8 screw up badly in Poser 7 sr2. I converted a couple of freestuff items to work in Poser 5,6,7.
lesbentley posted Sat, 19 March 2011 at 7:32 PM
Delete all this:
valueOpDeltaAdd
conformingTarget
lThigh:1
zrot
deltaAddDelta -14.000000
valueOpDeltaAdd
Figure 1
BODY:1
L-Thigh-Side-Side
deltaAddDelta 1.000000
Replace it with this:
valueOpDeltaAdd
Figure
lThigh
zrot
deltaAddDelta -14.000000
Before you load the conformer, make sure some part of the character figure is selected.
midnight_stories posted Sat, 19 March 2011 at 10:34 PM
Quote - Delete all this:
valueOpDeltaAdd
conformingTarget
lThigh:1
zrot
deltaAddDelta -14.000000
valueOpDeltaAdd
Figure 1
BODY:1
L-Thigh-Side-Side
deltaAddDelta 1.000000Replace it with this:
valueOpDeltaAdd
Figure
lThigh
zrot
deltaAddDelta -14.000000Before you load the conformer, make sure some part of the character figure is selected.
Yes I got it in the end very similar but just one change to your code where Figure is you put the actual name of the figure and it works great. Thanks for the Tip !!!