Digital Art Zone

 
     
just a little more detail for Fenric’s weight map utility?
Posted: 25 June 2013 12:41 PM   [ Ignore ]
Power Member
Avatar
RankRankRank
Total Posts:  1317
Joined  2003-10-09

I am trying to use Fenric’s weight map conversion utility to get the Poser Pro default figures (Rex and Roxy) converted for use in Carrara.  (Poser Pro 2014 into C8.5 Beta, windows 7 operating system).  The instructions are in general very good.  However, I could use just a little more help in understanding how to handle the problem of the feet being parented to the body.  The instructions say to edit the CR2 file.  But what specifically do I need to do?  What lines need to be edited to correct such a parenting, and how? 

one old forum post I found through the search is below but it didn’t clear it up.
http://forumarchive.daz3d.com/viewtopic.php?t=186247&postdays=0&postorder=asc&start=60

 

Image Attachments
feet_weightmap_conversion.jpg
Profile
 
 
Posted: 25 June 2013 04:29 PM   [ Ignore ]   [ # 1 ]
Active Member
Avatar
RankRank
Total Posts:  268
Joined  2009-03-09

Just like Tyler and Miki4, Rex and Roxie have a very odd thing in their CR2 files: in the “Figure” section, the rFoot and lFoot are children of the BODY node instead of the rShin and lShin.  You’ll have to fix that manually, it is not something my utility can deal with.

I do not understand why Smith Micro keeps doing that, as it makes no sense at all. 

She does work properly if you fix that foot error and make sure that you zero the figure at every step.

 Signature 

Come visit my store!

http://www.daz3d.com/fenric
http://fenric.com/wordpress/store/

Profile
 
 
Posted: 25 June 2013 06:37 PM   [ Ignore ]   [ # 2 ]
Power Member
Avatar
RankRankRank
Total Posts:  2208
Joined  2008-01-28

thanks for the heads up on that Fenric

 Signature 

http://andrewfinnie.blogspot.com.au/

Profile
 
 
Posted: 25 June 2013 06:59 PM   [ Ignore ]   [ # 3 ]
Power Member
Avatar
RankRankRank
Total Posts:  1317
Joined  2003-10-09

Thanks.  And thanks for creating the plugin.

Profile
 
 
Posted: 03 July 2013 04:13 PM   [ Ignore ]   [ # 4 ]
New Member
Avatar
Total Posts:  25
Joined  2009-05-22

First off, thanks again to Fenric for the generous weightmap injector!

I have a similar problem with Anastasia1. If anyone knows how to fix these problems it would be much appreciated!

1.The forearm does not bend in the Z rotation axis
2.The pelvis distorts hip, thigh, abdomen when moved or rotated, so I locked it (solved unless there is a better solution)

Everything else looks OK.

I looked at the cr2, but the hand seems to be parented properly. The distortion only occurs in forearm z rotation. Forearm x rotation works fine. Forearm y rotation is constrained to 0.

Thanks for any insight on this!

Image Attachments
Doc16.png
Profile
 
 
Posted: 03 July 2013 05:08 PM   [ Ignore ]   [ # 5 ]
Active Member
Avatar
RankRank
Total Posts:  268
Joined  2009-03-09

I assume you mean “Girl Next Door: Anastasia” (GNDA) by Blackhearted?  She’s why I wrote the utilities, and she’s a big reason there are two utilities that you have to run.  Please re-read the instructions and follow them carefully

- First load Alyson2 and inject Anastasia.  It will work best if you have Poser Pro (2012 or 2014) and run “Merge all zones to weightmaps” before continuing.

Save the new figure to your library

Run the “Prepare Poser File” utility on the injected figure.  This is a critical step, otherwise it will fail.

Load the prepared file into Carrara, and save that out to an un-zipped CAR.

Run the “Inject Poser Weighting” using the prepared file and the CAR.

*************

Detailed explanation:

Carrara…
  is allergic to bones that don’t exist.
  is allergic to having more than one “otherActor” for ANY given joint.
  can’t handle Poser 8 style “Capsule” weights

 

 Signature 

Come visit my store!

http://www.daz3d.com/fenric
http://fenric.com/wordpress/store/

Profile
 
 
Posted: 04 July 2013 05:26 AM   [ Ignore ]   [ # 6 ]
New Member
Avatar
Total Posts:  25
Joined  2009-05-22

Fenric,

Thanks for the quick reply.

First, yes I meant “Girl Next Door: Anastasia” (GNDA) by Blackhearted.

After your message, I decided to start again from scratch, so here is what I did:
1. Loaded Alyson2 in Poser2012
2. Applied Anastasia Pose
3. File/Run Python Script…  MergeAllZonesToWeights.py

Output message:
Merging waist twisty
Traceback (most recent call last):
  File “P:\Ghoul\Batch Files\PoserWeightmapInjector\MergeAllZonesToWeights.py”, line 6, in <module>
  param.AddZone(poser.kZoneTypeCodeMERGEDWEIGHTMAP)
AttributeError: AddZone

3. Saved the new character (AnastasiaGND)
4. copied the .cr2 (AnastasiaGND.cr2) to a temporary folder
5. Ran PreparePoserFile.exe and used the AnastasiaGND.cr2 as input. Output: AnastasiaGND_converted.cr2

Here is where I must be doing something wrong:

6. started Carrara 8, File/New/Empty Scene
7. File/Import AnastasiaGND_converted.cr2 (import Morph Targets and Import Deformers checked)
8. Deleted light and camera (only character left in scene) and saved scene uncompressed (Doc22.car)
9. Ran Poser Weightmap Injector and used AnastasiaGND_converted.cr2 and Doc22.car as inputs output:Doc22_converted.car
10. Loaded Doc22_converted.car and tested the figure.

The result is identical to my original post. The “pelvis” needs to be locked and the z rotation of the forearms create the same result.
I can live with the pelvis fix, but not being able to bend the forearms is a killer.

FYI Before running the weightmap injector the forearm bends properly (albeit without weightmap deformation).

Hopefully you can tell what I’ve done wrong as like you, I really wanted to use Anastasia!

Thanks.

 

Profile
 
 
Posted: 04 July 2013 08:12 AM   [ Ignore ]   [ # 7 ]
Active Member
Avatar
RankRank
Total Posts:  268
Joined  2009-03-09
Lordghoul - 04 July 2013 05:26 AM

Output message:
Merging waist twisty
Traceback (most recent call last):
  File “P:\Ghoul\Batch Files\PoserWeightmapInjector\MergeAllZonesToWeights.py”, line 6, in <module>
  param.AddZone(poser.kZoneTypeCodeMERGEDWEIGHTMAP)
AttributeError: AddZone

Ok… this shouldn’t happen, and it does not happen for me.  Do you have the latest service pack (3.1)?  Your Poser version should be 9.0.3.23027

Lordghoul - 04 July 2013 05:26 AM

7. File/Import AnastasiaGND_converted.cr2 (import Morph Targets and Import Deformers checked)

This is your problem.  You would do best to forget that “File/Import” even exists—never, ever load anything but a PZ3 this way, and don’t expect the things in the PZ3 to work very well.  Load Poser figures from the browser, always.

And since you didn’t mention it: zero the figure

Lordghoul - 04 July 2013 05:26 AM

8. Deleted light and camera (only character left in scene) and saved scene uncompressed (Doc22.car)

You don’t need to do this.  Just don’t have any other character - the default light and camera are fine.

Lordghoul - 04 July 2013 05:26 AM

9. Ran Poser Weightmap Injector and used AnastasiaGND_converted.cr2 and Doc22.car as inputs output:Doc22_converted.car
10. Loaded Doc22_converted.car and tested the figure.

The result is identical to my original post. The “pelvis” needs to be locked and the z rotation of the forearms create the same result.
I can live with the pelvis fix, but not being able to bend the forearms is a killer.

FYI Before running the weightmap injector the forearm bends properly (albeit without weightmap deformation).

Hopefully you can tell what I’ve done wrong as like you, I really wanted to use Anastasia!

Thanks.

 Signature 

Come visit my store!

http://www.daz3d.com/fenric
http://fenric.com/wordpress/store/

Profile
 
 
Posted: 04 July 2013 08:18 AM   [ Ignore ]   [ # 8 ]
Active Member
Avatar
RankRank
Total Posts:  268
Joined  2009-03-09

Ok, some research:

You don’t have Poser updated to at least SR2.  There was no weightmap support in Python prior to SP2, so nothing will work properly.

Second, I miss-spoke on an important step: run the “Merge all zones to weights” BEFORE you inject Anastasia.

And zero, zero, zero the figure!  At each and every step: in Poser and in Carrara, always zero the figure before you do anything else.

*****

One more thing: the fake “Pelvis” bone doesn’t work and can’t work in Carrara - just keep it locked.

 Signature 

Come visit my store!

http://www.daz3d.com/fenric
http://fenric.com/wordpress/store/

Profile
 
 
Posted: 04 July 2013 09:57 AM   [ Ignore ]   [ # 9 ]
New Member
Avatar
Total Posts:  25
Joined  2009-05-22

Fenric,

Thanks for the answers!

You were right about both problems. I just built the computer I’m using and had not installed the latest Poser service release. I loaded the character from the browser and now the forearm bends properly.

However, I still need to lock the “Pelvis” but I don’t see that as a big issue.

On a separate note, I’ve written a few python scripts to help me and would gladly give back to the community if they are useful to others. They are:

1.Convert Poses to Rotations only - some pose files include translations and other dials that alter the character when all I want is the actual pose. This script strips all but xyz rotations and writes a new pz2 file.

2.Flip Pose - after converting the pz2 I usually run this to create a “mirror” pose for those sets that don’t provide them.

3.Random Pose Generator - This script can generate hundreds of poses based on min/max values in an input .csv file. I’ve used it on various characters (Apollo Max, Antonia, V4…). While most poses are strange, with tweaking you end up with more organic poses. There are no previews, so you need to render and keep the poses you like.

Is the Freepository the best place for something like this?

Thanks again for all the help!

 

Profile