THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/05/2010 at 02:21, xxxxxxxx wrote:
Cinema 4D Version: latest
Platform: Mac OSX ;
Language(s) : C.O.F.F.E.E ; XPRESSO ;
I'm trying to recreate a simple Xpresso setup with COFFEE in which a spline stays pinned to a polygon mesh. My setup appears to be correct, but the spline in my COFFEE setup will only appear pinned to the polygon mesh when it's selected in the Object Manager in point mode.
My C4D file is available at the link below and I've included some screengrabs of my setup. I would really appreciate it of somebody could tell me what I'm doing wrong...
[FLASH WIDTH=300 HEIGHT=200]http://dl.dropbox.com/u/790386/xpressoVcoffee.flv[/FLASH]
On 30/05/2010 at 06:50, xxxxxxxx wrote:
As in your other thread I've added what's needed.
The global calculation and most important the Update
Message. As stated in the SDK, when dealing with modifying
, the Update is important
var spline = doc->FindObject("Spline.1");
var pList = new(array,4);
pList = 1;
pList = 7;
pList = 5;
pList = 3;
for(i=0; i< sizeof(pList); i++)
pointPos = op->GetPoint(pList[i]);
pointPos = op->GetMg()->GetMulP(pointPos); // Global positions
spline->Message(MSG_UPDATE); // <- IMPORTANT
On 30/05/2010 at 09:24, xxxxxxxx wrote:
Thanks Lennart, I'm really grateful for your help. Gonna look into this now....