Forum: Poser - OFFICIAL


Subject: Loop-making script

Cage opened this issue on Apr 03, 2010 · 610 posts


Cage posted Wed, 05 May 2010 at 8:02 PM

Y'know, I'm not sure everyone should get really excited about this.  :lol:  Looking at the capabilities of MetaForm, I doubt that I can hope to duplicate most of the functionality.  :sad:

Here's the metaball script, however (for what it's worth), for all of you to try.

It's potentially rather slow, using straight PoserPython and Numeric for the calculations (and not using one of the faster metaball functions, my tests of which haven't been promising, so far).  The Weird Juice stuff was compiled, and this can't hope to live up to the speed seen there.

This version is also incomplete.  The Tkinter bug in Poser 8+ which was discovered a week or two ago leaves me uncertain how I could best drive a fully-functional version of the script.  It needs to be able to add metaballs, create the isosurface geometry, and stay active so the user can keep adding balls.  But Tkinter can't be used for this until it's fixed, and the callback method I've been using for the loop scripts develops problems when used for more than one script run.  I'm trying to work out the best way to assemble a final version, and so far I'm not happy with the known options.  So there are delays with a final version due to conceptual problems.

At any rate, this one can't make the actual metaballs and it will shut down after one run.  To use this script:

Some cases may crop up, particularly with lower mesh resolution and balls which have been scaled down, in which polygons end up being skipped.  I haven't found a way to avoid this problem yet, unfortunately.

Sorry this is a bit klunky.  :lol:  It looks like the GUI situation will be a bit of a head-scratcher for me, so I wanted to get this out so people could try it, and not get their hopes up too high while waiting.  😊

===========================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.