Forum: Poser - OFFICIAL


Subject: New Python Script - to create morphed figure prop...

Spanki opened this issue on Nov 01, 2005 ยท 7 posts


Spanki posted Tue, 01 November 2005 at 1:11 AM

Attached Link: http://www.renderosity.com/messages.ez?ForumID=12390&Form.ShowMessage=2447155

I just posted a new script that I wrote to address some issues with exporting morphed Poser figures and the errors induced by Poser's rigging. So that I don't have to type it again, here's the details from the comments in the script:

#--------------------------------------------------------------------------------
#------------------------------- UniMorph.py ------------------------------------

by Keith 'Spanki' Young

http://www.skinprops.com

Based on the UnimeshDemo.py script

Function:

Creates a unimesh geometry from the current figure, applying any currently active

morphs on the figure to the unimesh prop.

Purpose/Background:

When designing clothing for Poser characters, a common practice is to load the

existing character's .obj file into a 3D editor and form the clothing around that

mesh... when designing morphs for that clothing but still want to use an external

3D App, you need a way to get the morphed figure into your 3D App. The most common

way of doing this is to morph the character inside Poser and then export the

morphed geometry...

BUT - the problem with this is that Poser's rigging process induces 'errors' into

the figure's shape... the legs are no longer exactly where they would be if you

just loaded the .obj file as a prop, and pretty much every other body part except

for the hip is shifted as well (no amount of zeroing the figure's rotations or

translations will fix this).

When you are creating the clothing to begin with, this slight rig-induced error is

not a problem, because the conforming clothing mesh will use the same rig as the

figure, so it will get the same rig-induced errors applied to it.

When designing morphs for the clothing, it's a different matter. For most clothing,

this slight shifting of mesh is not significant enough to really matter much, but

for tight-fitting clothing, it can be enough to cause poke-through.

The morphed unimesh prop resulting from this script can be used in the Poser Cloth

Room or exported (be sure to check the 'As Morph Target' option) and used in other

3D Modelling Apps as an acurate target to morph or design clothing to.

Cheers,

Keith

#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------

...to get the script, see the attatched thread.

Message edited on: 11/01/2005 01:11

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.