SewerRat opened this issue on Dec 14, 1999 ยท 10 posts
Maz posted Tue, 14 December 1999 at 4:40 PM
In the absence of phibuilder you can do it handraulically with a text editor. Here's a phi file for an obj file called poserthing.obj which is stored in the Mazstuff directory. Not the upper and lower case letters. Poser is very case sensitive and this is a major source of errors. objFile :Runtime:Geometries:Mazstuff:poserthing.obj 1 mainbit yzx 2 secondbit yzx 3 thirdbit yzx 4 lastbit yzx 2 anothersecondbit The first line tells the hierarchy converter where to find the related obj file. I stress again, get the case right. The next line defines the major part of the object that everything else is connected to. In a human this is the hip, in this object it is mainbit. Labouring the point again, case must be the same in obj and phi files. The next line (beginning with 2) describes a part that is directly connected to the main part. The line beginning with 3 describes a part that is directly connected to the second part, and so on. There are two lines beginning with 2 because this particular object has two parts connected to the main part. The indenting of different lines is to make it easier for you to understand the hierarchy that you are describing. Poser doesn't care whether it's there or not. The yzx at the end of each line defines the main, secondary and third axes of rotation. For the time being don't worry about it until you've got the hang of the basics. It's as simple as that. I suggest you look at a few phi files and their associated obj files in a text editor and you'll get the hang of it. Start with small ones.