Forum: Poser 11 / Poser Pro 11 OFFICIAL Technical


Subject: Headaches when creating a figure

arrowhead42 opened this issue on Jul 21, 2019 ยท 27 posts


an0malaus posted Thu, 25 July 2019 at 6:00 AM

OK, problem solved, I think. Within an obj file, facets can belong to multiple groups, as groups can be used for more than just actor assignments. The format of the grouping statement in OBJ files is as follows:

g groupname1 groupname2
f 1/1/1 2/2/2 3/3/3 1/1/1
...

The characters which delimit group names are spaces, therefore you cannot have spaces within a group name. Since your internal body part names contain spaces, the group parsing algorithm in the obj file loader will fail to match the actor internal names in the Poser CR2 file, since the obj reader will terminate the group name at the first space.

You could get around this, since the Poser CR2 obj group definition for an actor is not exactly tied to the actor's internal name, but for the purposes of the Setup room, it is.

If I have an actor object declaration in a CR2 like:

actor Right Front Wheel:1
    {
    storageOffset 0 0 0
    geomHandlerGeom 13 RightFrontWheel
    }

...

actor Right Front Wheel:1
    {
    ...
    name Right Front Wheel
    ...
    }

In this example, the actor's internal, external and obj group names are all different, which is legal, but the Setup Room doesn't work that way. It wants an exact match between the actor internal name and the group name, so forces actor internal names to exclude spaces. This isn't really a problem if one knows that, but Poser could really help figure creators by warning them when actor internal names contain spaces, which it notably does not.



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.