Wed, Sep 18, 11:22 AM CDT

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Sep 18 7:39 am)



Subject: Trying to edit CR2 to slave a morph


santicor ( ) posted Fri, 21 January 2011 at 9:59 AM · edited Sat, 17 August 2024 at 5:14 AM

Hi  there.

I am not even  sure  where the problem  exists exactly

maybe my lines  are written  incorrectly - just  not putting in  the correct language??

maybe I am not properly editing and saving the CR2?

( i dont have a good  CR2 editor)

or  maybe i am getting the names of the figure master  or slave wrong  out of  misunderstanding.

 

I have a saved  figure -  it loads in  Poser and becomes  named  Figure 2  so  i  guess that  is the figure name

This figure also  has a morph for the rCollar -  the morph target  is called  armpit_rCol.

 

in the CR2 of the figure i have added the  text that  is here in  italics:

 

targetGeom armpit_rCol
**   {**
**   name armpit_rCol**
**   initValue 0**
**   hidden 0**
**   forceLimits 1**
**   min -100000**
**   max 100000**
**   trackingScale 0.02**
**   keys**
**    {**
**    static  0**
**    k  0  0**
**    }**
**   interpStyleLocked 0**
*** ValueOpDeltaAdd   Figure 2    rCollar    zRotate    deltaAddDelta  -.5   *    **

indexes 271

 

but I get no  results -

 

please note i have entered the  value of  -.5  because it is the negative Z rotation that  I want controlling the morph

I might add i am  a novice at  editing CR2  i  am  actually using  notepad - is that  a joke or should it work??

I wonder about that because there seems to  be something wrong ..... as even  when  pasting here it does not seem  formatted  correctly ( ignoring the italics of course)

 

can  anyone help  me?

 

Thanks

 

S
   




______________________

"When you have to shoot ...

SHOOT.

Don't talk "

 

   - Tuco

 

Santicor's Gallery:

 http://www.renderosity.com/homepage.php?page=3&userid=580115

 


PhilC ( ) posted Fri, 21 January 2011 at 10:07 AM

You have the ERC code on one line, it needs to be on five seperate lines.


santicor ( ) posted Fri, 21 January 2011 at 10:10 AM

Thanks Phil

 

wow new avatar!

 

Phil , being a dummy and using notepad,  how  do  i format that  text to  occupy separate lines  ... i notice that  little square thing in notepad  -  must be a line break  indicator -  this little square thingy  appears after each piece of Poser generated data  but I ned to  get that  line  break into  my added code

 

how do  i get that  same effect??

 

Thanks




______________________

"When you have to shoot ...

SHOOT.

Don't talk "

 

   - Tuco

 

Santicor's Gallery:

 http://www.renderosity.com/homepage.php?page=3&userid=580115

 


santicor ( ) posted Fri, 21 January 2011 at 10:21 AM

file_464287.PNG

top line in this screenshot

 

notepad shows these line breaks  ( little square indicator) and i knew i had a prob  as i enetered my data - see , there are no  line breaks for my 5  lines




______________________

"When you have to shoot ...

SHOOT.

Don't talk "

 

   - Tuco

 

Santicor's Gallery:

 http://www.renderosity.com/homepage.php?page=3&userid=580115

 


markschum ( ) posted Fri, 21 January 2011 at 10:34 AM

I use wordpad , it seems to do better than notepad.

To put things on seperate lines just place the cursor at the end of the line and press Enter

Poser uses a Unix like end-of-line indicator and that sometimes gives problems wirh dos style text editors.

 

 


pjz99 ( ) posted Fri, 21 January 2011 at 10:40 AM

Do yourself a favor and switch to a serious CR2 editor (I recommend Dimension3D's Poser File Editor).  This stuff is just way too easy to screw up with a plain text editor.

My Freebies


heddheld ( ) posted Fri, 21 January 2011 at 10:48 AM

or if your on a budget try notepad++ its free  (or theres other free editors)

 

trying to work like that in notepad must be a nitemare


lesbentley ( ) posted Fri, 21 January 2011 at 11:13 AM · edited Fri, 21 January 2011 at 11:15 AM

Try this:

           targetGeom armpit_rCol
                        {
                        name armpit_rCol
                        initValue 0
                        hidden 0
                        forceLimits 1
                        min -10000
                        max 10000
                        trackingScale 0.02
                        keys
                                {
                                static  0
                                k  0  0
                                }
                        interpStyleLocked 0
                        valueOpDeltaAdd
                                Figure 2 <span style="color:#99cc00;">[must be consistant with number used in rest of figure]
</span>                         rCollar:2 <span style="color:#99cc00;">[must be consistant with number used in rest of figure]
</span>                         zRotate
                        deltaAddDelta  -.5

Sometimes Notepad does not format the text correctly. Try using EditPad Lite, its free and a better editor. A cr2 editor can also be usefull (eg Poser File Editor, or the free CR2Builder).


santicor ( ) posted Fri, 21 January 2011 at 11:18 AM

Thanks for everyone's advice !

 

thanks  yes markschum  yes it was the simple sollution of the return  key - it worked in  basic notepad.

 

JCM  works .. my  first  one  I am psyched !

 

 




______________________

"When you have to shoot ...

SHOOT.

Don't talk "

 

   - Tuco

 

Santicor's Gallery:

 http://www.renderosity.com/homepage.php?page=3&userid=580115

 


lesbentley ( ) posted Fri, 21 January 2011 at 11:21 AM

P.S.
The code in my above post is double spaced, this is an artefact of "improvements" they made recently to the replay box. It should really be single spaced.


santicor ( ) posted Fri, 21 January 2011 at 11:40 AM

"rCollar:2 [must be consistant with number used in rest of figure]"

* *

Les it still  works  without the number "2" here - is it important I add it?

 

Thanks

 




______________________

"When you have to shoot ...

SHOOT.

Don't talk "

 

   - Tuco

 

Santicor's Gallery:

 http://www.renderosity.com/homepage.php?page=3&userid=580115

 


markschum ( ) posted Fri, 21 January 2011 at 10:31 PM

It is important that the number match up with the figure number , otherwise you can wind up responding to9 a different figure. 


lesbentley ( ) posted Sat, 22 January 2011 at 6:51 AM

Yes, what markschum  said.


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.