Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
I don't know much about Python (beyond that it's going to enable some amazing things to be done with Poser) but think this wish is a fairly simple variation on the built-in utilities scripts: it would be super-useful to have a script/button that would pop up a list of morph dials on the selected body part and their current settings. It would save a ton of scrolling up and down the dials, especially when you're exporting a morph and need to make sure everything else is at zero, to avoid doubling an effect. Sometimes there's a very low setting that reads as zero on the dial, or you've had to give the dial a name that's long enough to obscure the reading. And we would be able to cut and paste such a list for a record of how a character was morphed. Not a flashy project, but would probably get used a lot and make life easier for us. Hoping one of you thinks this is worth your time!
That's almost definitly not feasible. The face can be done since its basically one geometry and all that's happening is the right side vertices are being replaced with left side vertices. Fot a left arm to right arm transfer that would be almost impossible since both are seperate geometry parts. If you want to reflect an MT for say the left forearm so it mirrors the MT already in the left forearm then that can be done. MTs are very vertex order, numebr and position sensitive. The left arm just amy not have the same # of vertices the right one has or the left may have its vertices recorded in a different order so an right arm MT would move the wrong vertices or the actual postions of each vertex in the left arm maybe reflectivily different so when the MT is applied it may create unwanted results (dimples instead of buldges). Hope that helps. Keep them ideas coming though and thanks for participating.
I request some universal command that work on each frame of an animation. Examples- 1)drop to floor- range of frames or all frames. 2)A way to import matireals (ie scalp, side face)from 1 cr2 to another 3)A way to rein in wayward spline extrapolations that go wacko between keyframes of an animation I had some others but forgot.
TJ - I've been thinking about a body randomizer. I think a first step would be a little script that would set the 'superhero' MT dials to the same value for all parts that have the MT. That would save a bunch of time instead of having to set each one seperately. I'd probably use a slider running from -1.0 to 1.0 and an alternate function to set a random value. What do you think?
Well I'm not certain if this is possible but I thought I'd toss it out here and see if anyone could help. I'm looking for a way to transfer the 'joints' in poser to 'bones' in Lightwave. While the plugin for PoserPro allows you to import all your hard work from Poser into Lightwave, it removes all information about bones and leaves you with a solid lump (which moves by morphs) that you have to regroup and fight with to make it then work with sasquatch and the cloth programs (which doesn't understand morphs but does understand movement)..... this is a real nightmare, especially considering the 'joints' themselves are already defined and Lightwave's specs are publicly available...... HELP!?!?
littlefox - You might want to post a message that has the locations for the docs you refered to so folks can take a look. It would really help in getting an answer to your question. paulgregory & mcpcrae - Could you flesh this out a little? From what I understand you'd like to give a script a list of files and have Poser render them. That doesn't say anything about how you see this happening. What does it do with the files after they're rendered, where does it go to get the files to render, where does it get the settings for the renders, that kind of stuff. Some details would help quite a bit. As with most things programmatic, all of these are probably do-able. It just depends on how much time and effort have to be expended to reach the goal.
The info should be on www.lightwave6.com then select developer's hub. That's where you'll find the publically available specs for how objects, scenes, scripts and so forth work. Basically all I'm looking for is something that can take the poser hiearchy/grouping into Lightwave as bones or skelegons.... the current setup imports it as a solid object with no groups and no understanding of the poser joints.
Attached Link: http://flashcardsonline.tripod.com/pinstall.html
paulgregory, For some reason there is a script to do this with flash, but not avi. Why they did that I have no idea. Very frustrating. The MoveMaker class only seems to be able to render flash so we can't write our own script.Script to take a set of obj's and apply them to their corresponding objects on a figure as morph targets. Automatically give each morph target the same name. Perhaps this could be qued by the name of the morph file, i.e. large_rshldr. Script would load all morph files out of a directory then sort and assign based on part of the file name. This would sure help when making full body morphs! Random copies of an object, prop or figure. For example, My idea is if you have a square that you have a transparency tree mapped to it you could make a forest. Select the prop. Script would have menu for number of copies, random seed, rnd elevation on/off, (off they would all have the same elevation, y ), -z direction only on/off (all copies would be behind the prop if this is on, rnd height and width, (% of prop size, ie. +/- 5%) 0% would be no variation. If anyone actually does these I sure would like a copy :)
I have an idea for a script. Poser croaks when you have scenes with large numbers of characters, and props. Does anyone think it would be feasible to write a script that would sequentially turn on the visability opf each item in the scene and then render the scene/animation. Each sequence would have to be composited together after the renders were through.
Attached Link: http://www.renderosity.com/messages.ez?ForumID=12356&Form.ShowMessage=518184
jamball, Please see attached link. This may be what you want.I would Like to see a script that puts a sequenced image files (movies) as a texture. I think it would be quite easy to do.Each frame would have to have a different texture map applied to it. this would save me lots of time.right now I have to load a texture map render scene then go the next frame-load the next sequenced image file,render again and again. When you do this for 1000 frames it quite tiring.
ofcourse if it is possible to have an avi as a texture it would be even cooler.
I would love to see the following scripts. A script that would let me modify a mimic file. Sometimes the files need to have bigger lip movements (Cartoons), more blinks, more eye movements etc. Another scripts class that would be great is physics effects. It would be great to have Vicki walk around and have her hair flops automatically and correctly depending on her walk/run/head turns. This same idea on different body part (like her breast). This can also work for any large body part that should move when you do an animation. (I've seem this somewhere but it was just a specific model). I would also like to have one that took care of breathing effect, eye tracking/movements and other common thing a human may do (like sneezing, wheezing) - with control options. Oarman
Now I dont understand this python thingy one bit. But heres a 'wish' from me. As I composite a lot of my animations with bryce, wouldn't be great if the shadows would become part of the alpha channel? Then I could place some transparent objects around the scene that match the the bryce scene, then hey presto!. Shadows. Also, objects in the foreground that allow parts of the poser scene to be clipped off.
I'm wondering if it would be possible for a script to alter the IK's. I'd like to be able to move the goal up and down at will whilst animating. For example, from the feet to the thighs (for when a character is kneeling). Either that or some other way to pin a limb part in position, try animating a kneeling position and you'll see what I mean...
The up-and-coming Montressor's Poser Aid actully has several displays like this - and you can cut/copy/paste. Anyone interested in being an Alpha (naw, it isn't even Beta yet) tester?
Here is a sample, copied from the list:
--------------- start of sample --------------------
#--- Figure:Figure 1
#---Actor Body
poser.scene.Figure('Figure 1').Actor('Body').Parameter('Scale').SetValue('1.0')
poser.scene.Figure('Figure 1').Actor('Body').Parameter('xScale').SetValue('1.0')
poser.scene.Figure('Figure 1').Actor('Body').Parameter('yScale').SetValue('1.0')
poser.scene.Figure('Figure 1').Actor('Body').Parameter('zScale').SetValue('1.0')
poser.scene.Figure('Figure 1').Actor('Body').Parameter('yRotate').SetValue('-0.0778781995177')
poser.scene.Figure('Figure 1').Actor('Body').Parameter('xRotate').SetValue('-0.00994206033647')
poser.scene.Figure('Figure 1').Actor('Body').Parameter('zRotate').SetValue('0.0')
poser.scene.Figure('Figure 1').Actor('Body').Parameter('xTran').SetValue('0.0')
poser.scene.Figure('Figure 1').Actor('Body').Parameter('yTran').SetValue('0.0')
poser.scene.Figure('Figure 1').Actor('Body').Parameter('zTran').SetValue('0.0')
#---Actor Hip
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('Taper').SetValue('0.0')
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('Scale').SetValue('1.0')
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('xScale').SetValue('1.0')
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('yScale').SetValue('1.0')
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('zScale').SetValue('1.0')
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('Twist').SetValue('0.0')
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('Side-Side').SetValue('0.0')
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('Bend').SetValue('0.0')
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('xTran').SetValue('-3.0254798844e-007')
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('yTran').SetValue('-0.00356700993143')
poser.scene.Figure('Figure 1').Actor('Hip').Parameter('zTran').SetValue('0.00275287008844')
------------------------ end of sample --------------------
Montressor
I would like to see the following: 1. A COM interface (I could do it from a REAL version of Python, rather than one from 1999) 2. A way to use a current version of Python. Say 2.2.1 I understand (from the folks up there) that there is no one there who knows how to do this. I humbly offer my services.
Attached Link: http://www.ifam.net/online_zooarium/zooarium1.htm
It would be cool to see some scripts that take a selected bone and then subject all the bone's children to transformations and keyframing that would result in undulating tentacles and whipping tentacles. I don't think that the math involved is too complicated. If there is someone out there that would like to churn out such scripts, I'll make some monsters groove to them. danWell, I would like to make 3D computer games with Poser, I currently have Poser 3.0 with the 3.1. updater and hope to upgrade to Poser 4 soon, The Kind of game I wish to do would be a 3d r.t.s similar to Battlezone, with autoejecting pilot's and allowing A.I. and enemy pilots to get into and out of empty vehicles except mine would have Hover and hovercraft tanks, aircraft and spacecraft. The thing is, I don't really know Python all that well in a Gaming capacity and I am ony just started to learn some instructions, would it be possible to to this or even make a gaming engine? and is anybody interested in doing a gaming engine, because I am
I was thinking (again) if y (hip) is raised x amount then both feet rise x amount, then it would be much easier to clean up mo cap files (they often come in half way through the floor and this way the motion would be retained)). Also, how about constrain x or z trans for specified frames (again to clean up mo caps - they sometimes wander about) and come to think of it a way of catching errant frames would be good so if previous frame = x and present frame = bloody hell! and subsequent frame = x + 2 then present frame = x + 1 Just a thought...
What I see a need for is a script to calculate and either display or insert in the Render Options the distance from the current camera to the selected object in P5 for the depth of field setting. Anyone? If I knew which variables to use, I'd script it myself. My Python skills are a tad rusty since I shut down my last OS/2 system in 2000.
Attached Link: http://www.poserpython.com/
bushi already did it, it's called lights out, check the freebie section of his siteA script that can conform clothes to the correct shape and size of the poser figure? You know...a script to make Vic's clothes fit one of her morphed sisters. I guess something along the line of "auto sizing interchangable clothes" so Vic can wear P4 and P4 can wear Vic's etc. Is that possible in Poser?
A script which renders from fram A to frame B of an animation. this allows for rendering small parts of an animation after updates (instea dof the whole thing) or completing an animation wher ePsoer has crashed (provided one renders to bitmaps of course - rendering to .avi's doesn't leave any recovery option tha tI know of). I really need this so if no-one can help I'm gonna hafta learn enough Poser Python to attempt it myself . Cheers, Cliff Bowman
Well, I doubt it's even remotely possible, but here's what I want. When I make something, say an outfit for Vicki, I hate going throw the long process of splitting in the group editor. I want a script that will automatically group at the approximate edges. Even if it was close, then I'd have something to go by in UV editor. I don't know anything about Python, but I've seen it do some impressive things, so that's my wish. Me
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.
Are you wanting a script to do something useful or cool and hoping someone will write one, or are you a script writer looking for something cool to write? Enter a detailed request below of what kind of script you would like to see and maybe someone else on the forum might find time to write it. There are no promises that anyone can or will write any of these but, since there are so many ideas floating around, this link can act as a central clearing house for script requests and ideas.