Forum: Poser - OFFICIAL


Subject: Create conforming boots - What am I doing wrong?

bandolin opened this issue on Jan 06, 2009 · 74 posts


svdl posted Sun, 18 January 2009 at 12:00 PM

OK, here we go.

First, you'll have to create the morphs themselves. I assume you've already made matching boot morphs in your modeling program.

Export a morph as Wavefront.OBJ, make sure the vertex ordering is the same as in the unmorphed boots. If you use the HABWare exporter for 3DS Max, you're - well, hosed. I have to check the newer gwObj exporter, it might be better.
Make sure the mesh is split the right way before exporting.

Then load the boots, make sure they're selected, and run this Python script: www.svdlinden.nl/webposerstuff/downloads/morphfromobjP6.zip It'll load the morph in the boots.

Next, conform the boots to Apollo, and save the boots to the library.

Open the resulting .cr2 in a text editor with search/replace capability. Replace all occurrences of : with :1. Thats and <number 1>.
Save the .cr2 file.

Ran into a little glitch: the latest version of CR2Builder (02m) doesn't seem to have the ERC utility anymore.
Version 02k has it though, and is still available from the same site.

It's easiest (but quite repetitive and boring) to build the ERC code using CR2Builder 02k.

Here are the steps:

  1. Load the boots CR2 in the LEFT pane;
  2. On the RIGHT pane, click the tab "RightTV" and load ApolloMaximus.CR2;
  3. Now click the tab "ERC" on the right pane
  4. On the tab "List" in the center of your screen, choose "RightTV" as the source for your ERC code;
  5. Include all "targetGeom" parameters and "Scale" parameters;
  6. and click "Update". The right treeview now gets filled with a subset of Apollo's CR2.

That was the preparation
Now click the tab "Add" in the center of your screen.

  1. In the center of your screen, you see a dropdown with the text "Figure 1" Edit that text and change it to "Figure"
  2. In the "valueOp" pane, make sure the radiobutton is set to "valueOpDeltaAdd";
  3. In the lower text area of the middle pane, make sure the text is set to "deltaAddDelta 1.00000"

Now expand the lShin actor on your boots in the left pane, and the Shin actor on Apollo in the right pane.

  1. Select the text "targetGeom pDevShin" in the RIGHT pane, and click the RIGHTMOST "<-" button.
    The text in the middle text area changes to
    lShin:1

    pDevShin

Remove the ":1" after lShin.

Now expand the lShin actor on your boots in the LEFT treeview pane (the SECOND instance of the lShin actor), expand the channels node and select the "targetGeom pDevShin" channel - I assume you've named the morphs in the boots exactly the same as the morphs in Apollo.

Now click the LEFTMOST "<-" button. This will add the ERC slaving code to your boots. 

Go back to step 10), and select the next targetGeom in Apollo
Select the corresponding targetGeom in the boots.
Click the RIGHTMOST '<-" button, and remove the ":1" again;
and click the LEFTMOST "<-" button again.

Rinse and repeat for all targetGeom and xScale, yScale and zScale channels, rinse and repeat for all actors in the boots.

Tedious work, I agree. And all it does is add five lines to each channel in each actor:

    valueOpDeltaAdd
    Figure
   
   
    deltaAddDelta 1.00000

This is the actual ERC slaving code.
Actually, I think I'd better write a Python script to do this kind of work. Fully automated and all, no chance for errors like forgetting to select the correct channel in the correct actor...

The fact that the figure numbers and body part numbers are left out of the ERC slaving code has a very nice advantage: if you load the boots while a morphed Apollo figure is selected in the scene, the boots will immediately copy the morph settings to themselves! Fully automatic.

Sorry for the long winded post...

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff