Tue, Feb 4, 6:45 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 03 12:46 am)



Subject: Is there a Python Script that....


pjanak ( ) posted Thu, 11 November 2004 at 12:40 AM · edited Tue, 04 February 2025 at 6:44 AM

We already have a python script that will "drop figure" to the floor across the entire animation. ANd thers is already a Pythin script that will position the figures feet in a high heel style. But is there a Python scripot that will position the actors feet in a high heel stile across all frames and also drop the figure to the floor across all frames so that the highheeled feet are not underground and the toes are bent. Even better, a Pythion script that drops the figure to the floor based on whats on her feet. I.E. if she's whereing elevator like shoes, dont drop her so low that the show goes mostly underground Pete Janak


xantor ( ) posted Thu, 11 November 2004 at 7:49 AM

That might work in poser 5 but in poser 4 and propack you would have to know how high off the ground her feet were. A script would be good to make the figure at any height you want, a bit like the drop to floor one but you type in a height, that could be used for high heel shoes etc. The only problem then would be working out the height that the figure is off the floor.


ockham ( ) posted Thu, 11 November 2004 at 10:37 AM

Possible, but a bit more complicated than the plain drop-to-floor. The script would have to "examine" each shoe to locate the actual lowest point on the shoe, then move the figure up or down to compensate. (The examination of actual vertices is necessary because the usual EndPoint value wouldn't necessarily agree with the bottom of shoes.)

My python page
My ShareCG freebies


pjanak ( ) posted Thu, 11 November 2004 at 1:09 PM

Im Actually Suprised that the various makers of Poser havent made something availble that would work. Because we've been complaining for years about the feet going undeground and all that. I know Curious Labs cannot do it all. But why not that. OH well, Python isnt exactly like learning your abc's. Its much harder to grasp.


Tguyus ( ) posted Thu, 11 November 2004 at 7:24 PM · edited Thu, 11 November 2004 at 7:25 PM

ockham, I'm not very facile with parenting props and all the rules which go along with doing it, but I wonder if there isn't some way to use a phantom prop parented to the shin or foot (and the toes parented to the prop with a subroutine to see if they need to bend to some degree?), combined with "drop to floor" and/or the collision detection routine you did awhile back. I haven't thought this through carefully, but I wonder if it wouldn't be easier to have the script detect the position of a (parenting and/or parented) prop rather than examine vertices. But I'm probably just displaying the extent of my ignorance here...

Message edited on: 11/11/2004 19:25


ockham ( ) posted Thu, 11 November 2004 at 10:43 PM · edited Thu, 11 November 2004 at 10:44 PM

Modesty unnecessary. The 'marker' trick
does help in many cases, so the
suggestion is welcome.

But I suspect it won't help in this case.
For any drop-to-floor action, some checking
of the vertices is necessary. Why?
Because the parameters like Y Tran or
Y Origin don't have any constant relationship
to the real surfaces of the model.

Those easy-to-get numbers can be wild,
as you've probably noticed with some models
that load up in the heavens, or
way off in left field! On a well-built
model, the Origin is set by experiment
so that the feet come in flat. But even
that correlation disappears when the
knees are bent or the legs are splayed.

So the only way to get a foot (or a shoe)
on the floor is to examine the actual
mesh at this moment, see how far it is
from the actual mesh of the floor at this
X and Z, and move the whole body up or
down to counteract the difference.

Message edited on: 11/11/2004 22:44

My python page
My ShareCG freebies


nerd ( ) posted Fri, 12 November 2004 at 12:52 AM
Forum Moderator

Shamless self promotion... You could use my Walk Designer mods. There is one for V2 and one for V3. The high heel walk cycles DO leave the figures toes below the "ground", but you can easily fix that by changing the "Y Tran" setting for the figures body at frame 1 and deleting the "Y tran" on the body for all the rest of the frames. I do this with the graph tool. http://market.renderosity.com/softgood.ez?Who=nerd


pjanak ( ) posted Fri, 12 November 2004 at 5:25 AM

Hey nerd. But wont that get rid of any natural up down motion in thw walk cycle? Or it wont because its the Y tran for the body and not the hip.


nerd ( ) posted Fri, 12 November 2004 at 8:05 AM
Forum Moderator

The up-down of the walk cycle is in the Hip so moving the body doesn't mess that up. Nerd


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.