Sat, Nov 30, 3:36 PM CST

Renderosity Forums / Poser Technical



Welcome to the Poser Technical Forum

Forum Moderators: Staff

Poser Technical F.A.Q (Last Updated: 2024 Nov 13 12:50 am)

Welcome to the Poser Technical Forum.

Where computer nerds can Pull out their slide rules and not get laughed at. Pocket protectors are not required. ;-)

This is the place you come to ask questions and share new ideas about using the internal file structure of Poser to push the program past it's normal limits.

New users are encouraged to read the FAQ sections here and on the Poser forum before asking questions.



Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Loading several conforming figures with readScript


nerd ( ) posted Sat, 14 June 2003 at 3:29 PM ยท edited Sat, 30 November 2024 at 3:26 PM
Forum Moderator

OK I want to load sevearal conforming figures with the readScript command in a cr2. I would like them all parented to the first item. The problem is they parent to the item listed before them. Is there a way to switch the "focus" back to the first item before the next item loads.

The CR2...
{
version
{
number 4
}
//Load V2
readScript ":Runtime:libraries:character:DAZ People:Victoria 2.cr2"
//First conformer works fine
readScript ":Runtime:libraries:character:Nerd3D Taanis:Taanis.cr2"
//Need to focus figue 1 here
readScript ":Runtime:libraries:character:Nerd3D Taanis:Taanis Arm.cr2"
//And again here
readScript ":Runtime:libraries:character:Nerd3D Taanis:Taanis Boots.cr2"
//Again
readScript ":Runtime:libraries:character:Nerd3D Taanis:Taanis Shldr.cr2"
}
ngsmall02.gif


Migal ( ) posted Sat, 14 June 2003 at 6:42 PM

Charles, I haven't tried it across multiple figures, but it should work. We can control focus with pickActor. It has to be in the doc section and it must be referencing a previously declared item. (It will even work on a prop if the prop is referenced as an actor, which is also the secret to MAT poses for non-parented props) The doc section has to be last. It works just like useCamera at the end of a cm2 file. It will change the focus of the selection menu under the doc window. doc } pickActor hip:1 {


Migal ( ) posted Sat, 14 June 2003 at 6:56 PM

Woops! I inversed the curly braces. It should read: doc { pickActor hip:1 } I think I'd try this after each readscript.


nerd ( ) posted Wed, 18 June 2003 at 5:39 PM
Forum Moderator

This is weird! sometimes the figures conform... Sometimes they don't. I'm not sure if the pick actor thing worked of not. More expiriments are necessary with loading figures using a readScript command. ngsmall02.gif


Migal ( ) posted Wed, 18 June 2003 at 6:23 PM

I haven't had a lot of chances to experiment with it yet, Charles. I've been in the middle of a big project and when I got it to work for what I wanted, I stopped messing with it. I'm currently using it extensively after injection calls and in PAP poses. But, I didn't try anything like pickActor conformingTarget. I know it must be in the doc section, and the doc section needs to be last. Have you tried loading all the clothes, then using a series of pickActor commands in a single doc section to jump back and forth between selecting each conforming item and the conforming target? I'd think that would work.


nerd ( ) posted Wed, 18 June 2003 at 7:21 PM
Forum Moderator

Nawp, it's not getting it. But I've discovered something REALLY interesting sbout loading a figure with a readScript. It does not change the Figure # or the bodyPart:# lines. In the beginning this just made things explode. Now I'm seeing all sorts of interesting possibilities opening up. The thing I'm interested in is bringing SuperConforming back to Poser 5. I believe I've found the magic combo, but it will require some more tests. Poser Clothes Makers Stay Tuned...


Migal ( ) posted Wed, 18 June 2003 at 8:34 PM

Ahhh... Okay. Now I see where you're going. What we really need is control over xtalk, be it in P5 or P4. That thing about readsript ignoring the #... This is why V3 has to be the only figure in a scene in order for her to be injected. This is the particular problem I need to solve. But, I'm anxious to see where you go with the resurrection of superconforming.


nerd ( ) posted Thu, 19 June 2003 at 12:19 AM
Forum Moderator

What I've got so far is a way to load the figure and the conformers all at the same time. Then and only then will they cross talk. (At least that is what I have now) Most of the magic takes place in the "Real" cr2, not the loading script. The really cool thing is this allows complex, composite characters to be loaded and conformed in a single click.


Rebekah ( ) posted Fri, 11 July 2003 at 12:48 AM

We already have a few products out using this method and they have passed testing here at the MP. If anyone is interested in what method I have used let me know and I will put up an example. It was just something that I thought of after reading about the readScript command. I call it an EasyClothes.cr2 Rebekah Garner Sixus1 Media PS....what I was looking for here in the PoserTechnical Forum was if anyone had a way to export Poser animations to MDL format????


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.