Forum: Poser Technical


Subject: Advanced ERC questions in relationship to FBMs and PBMs

insomniaworks opened this issue on Aug 24, 2005 ยท 8 posts


insomniaworks posted Wed, 24 August 2005 at 9:45 PM

I have been working with ERC code for some time, but I am having problems with code in my latest product. I can not get the FBMs working correctly no matter what. I will be glad to share the L3 version of the product shown who wants to examine my .cr2s and tell me specifically what I am doing wrong. I have this code for example and I am testing it in Poser 5 and it isn't working targetGeom Muscular1 { name Muscular1 initValue 0 hidden 0 forceLimits 4 min -100000 max 100000 trackingScale 0.026389 keys { static 0 k 0 0 } interpStyleLocked 0 valueOpDeltaAdd Figure 1 BODY:1 Muscular1 deltaAddDelta 1.000000 Now if I replace it with this code it should not work right? I mean the index being 15 will mess it all up. targetGeom Muscular1 { name Muscular1 initValue 0 hidden 0 forceLimits 4 min -100000 max 100000 trackingScale 0.026389 keys { static 0 k 0 0 } interpStyleLocked 0 valueOpDeltaAdd Figure 15 BODY:15 Muscular1 deltaAddDelta 1.000000 But this works and the correct code isn't!!! I am pulling my hair out here. Like I said, I will be glad to share the Laura 3 version of this product to anyone who can really help. I know the basics of ERC code in relation to FBMs, but I am in need of specific knowledge Here is another question? Is this proper syntax? valueOpDeltaAdd Figure 1 BODY:1 Muscular1 deltaAddDelta 1.000000 Or is this proper syntax? This has the PBM prefix. valueOpDeltaAdd Figure 1 BODY:1 PBMMuscular1 deltaAddDelta 1.000000 I am wondering about the usage of the internal name and the name poser displays to the user. They are two different names. I would suspect that the ERC code would be using the internal name and the second example would be the proper one, but from what I have read, it is not. Why are there two names, an internal and a regular name and how does it apply to this particular usage of ERC? Also, another question, has anyone ever seen this syntax with usage of conformingTarget? valueOpDeltaAdd conformingTarget BODY:1 Muscular1 deltaAddDelta 1.000000 I wish to know more about this and what are the drawbacks and/or advantages. thank you marty