Forum: Poser Technical


Subject: Multiple objFileGeom or objFile in a .pp2 ?

Luthoricas opened this issue on Mar 13, 2003 ยท 13 posts


maclean posted Fri, 14 March 2003 at 4:58 PM

The best thing to do would be just to put everything into a cr2 figure. It's not that difficult to do and it would solve all your problems. Here's how. OK. You have these objects. arrow.obj : head1.obj >>> head5.obj. All you need to do is put them all in the poser window at once and export them. Go to Menu/File/Export/Wavefront OBJ and, in the hierarchy box that opens, make sure all your objects are checked. Click OK, give the obj a name and save it in a Geometries folder. In the last box, uncheck ALL options EXCEPT the first one. Check that first one and click ok. Now write a PHI file in notepad. Like this. objFile :Runtime:Geometries:yourfolder:yourname.obj 1 arrow yxz 2 head1 yxz 2 head2 yxz 2 head3 yxz 2 head4 yxz 2 head5 yxz Save this file with the extension .PHI, (anywhere you like), like arrow.PHI. What this does is tell poser where to find the obj, what body parts to look for, and what rotation order to use. The rotation order here is yxz which means that the 1st dial will be Yrot, then Xrot, then Zrot. This is the usual order for non-human figures, but it could be changed to xyz if necessary. 1 before a body part means it's a principal body part, parented only to the body. 2 means it's parented to a '1' body part. So here, you have all the heads parented to the arrow and they'll move with it. If you want nothing parented, change 2 to 1 and they'll all just be children of the body and move with it. Next, go to Menu/File/Open Hier file and find the PHI file. Poser will ask you to confirm the name (new set) and will automatically open the New Figures library. Nothing will appear in the window yet. Don't panic. Double-click on the New set and your arrow will appear. Resave it with your own name (in characters, remember). The only thing you need to do now is select each body part in turn, go to properties and uncheck 'bend'. This is essential. Otherwise, when you move the parts, they'll go mad. That's it really. There are things you can finesse. Like, if you have parented parts, the trans dials will be hidden, so you have to unhide them in the cr2. But see how you get on with this first. Important things. Export all parts. Check 1st option only. Store the obj in geometries. Make sure the PHI file names are the same as your 6 pieces. Uncheck bend. If you have to redo anything, go to the geometries folder first and delete the arrow.rsr (You'll need to close poser to do this). Let me know how it goes. mac