insomniaworks opened this issue on Feb 09, 2004 ยท 11 posts
maclean posted Sat, 14 February 2004 at 3:01 PM
Attached Link: http://groups.yahoo.com/group/PoserTECH/
OK, marty. You're doing fine so far. A lot faster than I did it the first time.First problem, The material order. I don't quite know why this happens. If you order the squares in uv mapper, going from left to right and top to bottom, they should (in theory) be in order, But it doesn't always happen that way. I often have to re-order them manually inside the dummy obj file with notepad. But it's not a problem. You can either re-type them or copy/paste them, moving the 'usemtl' lines around to get it right. What governs the materials is the facet order of the box and I haven't quite worked that out yet.
The second problem is that the dummy obj needs to be a part of figure obj. The normal way to do that would be to import each piece into poser one by one, always importing the dummy obj first, so it appears in the final obj first. Now, you already have the figure built, so you have 2 choices. You can either re-build it (remembering to import the dummy before anything), export all the pieces as your final obj, and move it to your Geometries folder. Now you can either make a new cr2 or try adding the new part yourself.
If you use the old cr2, you need to add a dummy actor and body part. This is pretty easy. Post #3 above has the full body part for a dummy, and in poser the part will be hidden and locked, and won't appear in the menu, so there are no distractions. You can copy/paste it as it is and add it to the cr2 as the 1st body part. That means it goes in between BODY and whatever your 1st body part is. One thing to note is that I call my dummy 'blank', so you'd need to change the line
actor blank:1 to actor mydummyname:1
That is, the name you use when you import it to poser - 'dummy' or whatever.
You also have to add the dummy actor in the first section of the cr2. Here's what it looks like.
{
version
{
number 4.01
}
figureResFile :Runtime:Geometries:room creator:01main room.obj
actor BODY:1
{
}
actor blank:1
{
storageOffset 0 0 0
geomHandlerGeom 13 blank
}
actor back_wall:1
{
storageOffset 0 0 0
geomHandlerGeom 13 back_wall
}
actor back_1:1
{
storageOffset 0 0 0
geomHandlerGeom 13 back_1
}
more body parts, etc, etc
What you have to do is insert the lines
ADD THESE LINES----------------
actor blank:1 <<<<< INSERT YOUR DUMMY NAME
{
storageOffset 0 0 0
geomHandlerGeom 13 blank <<<<< INSERT YOUR DUMMY NAME
}
------------------------------------ Add them immediately after the BODY statement
actor BODY:1
{
}
Again, you have to change 'blank' to your name (where I've indicated).
The other way to do it is to add the dummy obj information to your own figure obj as the first group. I'm not sure on this method, because there's no way of adding the actual geometry, just the materials, so I can't guarantee what will happen. What you'd have to do is open the dummy obj and cut out the material information. It starts with the line 'g Figure1' (It's easy to search obj files with either 'gSPACEBAR' or 'usemtl'). Cut out from g Figure1 to the end, then paste it into your figure obj ABOVE the first g line (g is for 'group'). The dummy obj materials are now the first body part in your obj. You must change the g line 'Figure1' to whatever you're calling the dummy actor in the cr2.
I hope this helps. As I say, it all sounds ridiculusly complicated, but it's easy when you're doing it from the start with a figure. You have your figure built, so you're having to backtrack.
Yell if you need more.
mac
Things to remember
Always delete the geometry .rsr before opening the new figure in poser.
Remember to check that the cr2 materials are in the same order as the obj before you open the figure in poser
If you don't have cr2Editor, I recommend strongly getting it. Get v1.51, NOT 1.52, as it was buggy. It may be in Freestuff here, if not you can get it at the link above, but you have to join the Yahoo group. No big deal. It's a good place to get tech info.