Fri, Nov 29, 4:09 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 29 1:45 am)



Subject: 2 Part Question ~Object origin & Parameter dials


thewebflea ( ) posted Tue, 14 June 2011 at 2:47 PM · edited Mon, 18 November 2024 at 2:18 AM

Hi there to whom reads this
I have 2 Questions
1~ can i import an object into poser with its orgin set where I want or ... do i havta allways use the joint editor ?

2~ can I create parameter dials to use as ERC's
example( a louver frame with louvers )
I'd like to put the Open/Close dail in the frame parameter( Body) and hide the louver parameter (Body parts) ?

Hope i said that correctly


markschum ( ) posted Tue, 14 June 2011 at 5:19 PM

1.  No - an obj file has no specification for pivot point. The lw file format may work for setting it in lightwave but I havent tried it.

  1. Yes.  You can hide the body part dials  - hidden 1 in the file

If each louver is a seperate body part you would want erc to open them as a group.

www.atlantis23.comerc_download.html


lesbentley ( ) posted Tue, 14 June 2011 at 5:30 PM

Quote - 1~ can i import an object into poser with its orgin set where I want or ... do i havta allways use the joint editor ?

When you import an obj file you will always have to set its origin, there is no way to set the origin of an obj file. However after importing the obj it becomes a prop, if you then set its origin, then Memorize the prop and save it to a Props palette, the origin will be in the same place the next time you load the prop (pp2).


thewebflea ( ) posted Tue, 14 June 2011 at 6:06 PM

thanks for the replys


markschum - i Know how to hide the dials ... i want to hide the part parameter the from showing ... can that be done ???


lesbentley - i set the orgin in blender but when i bring it in ..... its in the center of  object..
setting it in poser can be a pain
    example if  u have 30 louvers .. all of differnt shapes ( louvers for a round Duct )  then its gonna be a lil much as we say in philly


lesbentley ( ) posted Tue, 14 June 2011 at 6:20 PM

2~ can I create parameter dials to use as ERC's
example( a louver frame with louvers )
I'd like to put the Open/Close dail in the frame parameter( Body) and hide the louver parameter (Body parts) ?

In P6 and above you can apply a pose file to a figure to create valueParm channels in the BODY actor to serve as master channels in an ERC relationship. the format is:

{

version
    {
    number 6
    }
    createFullBodyMorph NameOfChannel
}

You would also need to place slaving code in the channels to slave them to the master channel. This can also be done via a a pose file. Assuming the correct channel to rotate the louvres is 'xrot', and that the louvre actors are named "Louvre_01", "Louvre_02", etc, the pose file might look like this:

{
version
    {
    number 6
    }

    createFullBodyMorph Louvres_Open-Close

actor Louvre_01
    {
    hidden        1
    addToMenu    0
    channels
        {
        rotateX xrot
            {
            valueOpDeltaAdd
                Figure
                BODY
                Louvres_Open-Close
            deltaAddDelta 10.000000
            }
        }
    }

actor Louvre_02
    {
    hidden        1
    addToMenu    0
    channels
        {
        rotateX xrot
            {
            valueOpDeltaAdd
                Figure
                BODY
                Louvres_Open-Close
            deltaAddDelta 10.000000
            }
        }
    }

etc...

}

In the above example the code below is the part used to hide the actor from the menus:

    hidden        1
    addToMenu    0

The above code is meant for injection from a pose (pz2) file. If you were editing the cr2 directly in a text editor, you would use figure numbers in the slaving code, eg:

            valueOpDeltaAdd
                Figure 1
                BODY:1
                Louvres_Open-Close
            deltaAddDelta 10.000000

You might need to adjust the value in the 'deltaAddDelta' line of the slaving code, and/or the 'trackingScale' of the valueParm channel, to get it working exactly how you want.


thewebflea ( ) posted Tue, 14 June 2011 at 7:08 PM

Thank yu very much lesbentley

Thats exactly what i was talking about

i guess i'll havta do each louver ( move origin top top like natural exhaust duct ) 1 at a time

or keep them in middle (being lazy)

unless some 1 has a better work flow


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.