Forum: Poser - OFFICIAL


Subject: Creating Binary INJ files manually, questions....

DarksealStudios opened this issue on Jun 07, 2010 ยท 26 posts


lesbentley posted Thu, 10 June 2010 at 6:16 PM

Sorry phionix. I made a mistake when I told you to delete the brace, you were correct in the first place, and should not have done that. Below is the text of the INJ as it should look. If you paste your deltas into it, it should work. The red lines are comments, and should not be included in the final file. The numbers in the "indexes" lines are specific to the morph you are injecting, and represent the number of delta (d) lines in the morph. The numbers in the "numbDeltas" lines are specific to the actor you are injecting into, and represent the number of vertices in that actor (I know this sounds the wrong way round, but that's how it is). I have taken those numbers from your file, and assume them to be correct.

If you have added the PBMCC channels, including 'valueParm' channels in the BODY, you do not need the "createFullBodyMorph", as you can use the "valueParm PBMCC_01" for the FBM dial.

{
<span style="color:rgb(255,0,0);"># "Smaller 1.pz2"</span>
version
        {
        number  4.01
        }

actor BODY
        {
        channels
                {
                valueParm       PBMCC_01
                        {
                        name    Smaller 1
                        hidden  0
                        keys
                                {
                                static  0
                                k       0       1
                                }
                        }
                }
        }
actor chest
        {
        channels
                {
                targetGeom PBMCC_01
                        {
                        name    Smaller 1
                        hidden  0
                        keys
                                {
                                static  0
                                k       0       0
                                }
                        valueOpDeltaAdd
                        Figure
                        BODY
                        PBMCC_01
                        deltaAddDelta   1.000
                        indexes 7954 <span style="color:rgb(255,0,0);"># This number is specific to the morph you are injecting.</span>
                        numbDeltas 13183 <span style="color:rgb(255,0,0);"># This number is specific to the actor you are injection into.</span>
                        deltas
                                {
                                <span style="color:rgb(255,0,0);"># deltas go here.</span>
                                }
                        }
                }
        }
actor rNipple
        {
        channels
                {
                targetGeom PBMCC_01
                        {
                        name    Smaller 1
                        hidden  0
                        keys
                                {
                                static  0
                                k       0       0
                                }
                        valueOpDeltaAdd
                        Figure
                        BODY
                        PBMCC_01
                        deltaAddDelta   1.000
                        indexes 1299
                        numbDeltas 1299
                        deltas
                                {
                                <span style="color:rgb(255,0,0);"># deltas go here.</span>
                                }
                        }
                }
        }
actor lNipple
        {
        channels
                {
                targetGeom PBMCC_01
                        {
                        name    Smaller 1
                        hidden  0
                        keys
                                {
                                static  0
                                k       0       0
                                }
                        valueOpDeltaAdd
                        Figure
                        BODY
                        PBMCC_01
                        deltaAddDelta   1.000
                        indexes 1299
                        numbDeltas 1299
                        deltas
                                {
                                <span style="color:rgb(255,0,0);"># deltas go here.</span>
                                }
                        }
                }
        }
}