bushi opened this issue on Feb 25, 2001 ยท 7 posts
bushi posted Sun, 25 February 2001 at 5:15 PM
or Using Scripts To Control Figures ... One of the major things that I nave never liked about Poser is that all the actors in a figure have to be positioned seperately. I created a simple figure and PoserPython scripts that demonstrate that this is no longer the case. The figure is just a fly-wheel, a link and a piston simulating a very simple motor. By running the script on the figure, the link and piston are positioned correctly as the wheel spins. There are two flavors of script. One increments the wheel 15 degrees each time the script button is clicked. The other will spin the wheel through four revolutions. This one is basically an animation in real-time without having to render. I've make an animated .gif file of the figure in motion. I used the first script to set a position for a keyframe every 5 frames and bump the wheel to that position. It's a little rough since I don't do much animation work. It's also pretty big (493K) so I'm putting it at a seperate link. You can see it here: http://bushi3d.com/images/Machine1.gif You can also download the scripts and the figure here: http://bushi3d.com/PythonScripts/Machine1.zip Though this is a very simple demo, it does show that complex motions in a figure can be accomplised using scripting. I see a lot of applications for this technique. I hope to have a more complex example done in the near future.