Tintifax opened this issue on Jan 16, 2004 ยท 26 posts
lesbentley posted Sat, 17 January 2004 at 11:00 AM
I would think delta (morph) injection is probably a good way to go. An alternative would be geometry injection where you inject a reference to an obj file rather than deltas, this is only a good idea if the item is modular and uses a seperate objFileGeom file for each body part, for example the declarations in your cr2 might look like this:
{
version
{
number
}
actor BODY:1
{
}
actor Part_1:1
{
storageOffset 0 0.3487 0
objFileGeom 0 0 :Runtime:Geometries:props:BOX.OBJ
}
actor Part_2:1
{
storageOffset 0 0.3487 0
objFileGeom 0 0 :Runtime:Geometries:props:CONE.OBJ
}
actor Part_3:1
{
storageOffset 0 0.3487 0
objFileGeom 0 0 :Runtime:Geometries:props:BALL.OBJ
}
prop Prop_1:1
{
storageOffset 0 0.3487 0
objFileGeom 0 0 :Runtime:Geometries:props:BALL.OBJ
}
You could then use a pz2 to substitute geometries rather than adding morphs, the pz2 might look like this: { actor Part_1:1 { storageOffset 0 0.3487 0 objFileGeom 0 0 :Runtime:Geometries:props:torusThin.obj } actor Part_2:1 { storageOffset 0 0.3487 0 objFileGeom 0 0 :Runtime:Geometries:props:cylTex.obj } actor Part_3:1 { storageOffset 0 0.3487 0 objFileGeom 0 0 :Runtime:Geometries:props:SQUARE.OBJ } prop Prop_1:1 { storageOffset 0 0.3487 0 objFileGeom 0 0 :Runtime:Geometries:props:CONE.OBJ } }
If you only need to switch a part off then I guess you could use an empty obj file. !!! WARNING !!! this approach may cause problems in Poser 4 if you try to inject geometry for an actor into a figure that uses a single figureResFile as opposed to individual objFileGeom's for each actor. The same technique can also be used with internal geometry in a geomCustom, in that case the whole geomCustom would be injected into the declaration. You can mix and match, it doesn't matter if the original declaration was an obj or geomCustom, either can be injected into the declaration. Another option rather than injection would be geom swaping via geomCustom, as per the hands in the Skeleton Woman.