PDA

View Full Version : Maya Expression



Xsmoke
01-07-07, 10:10 AM
I am following Alex Alvarez's expression to connect Locators_2_Particles - 3NodeCamera_2_Locators.
But it keeps crashing my BatchRendering.
Can someone tell me if i have an error within this expression, or why it would cause a Fatal Error
with Batch Rendering on Frame10.
My OverSampling is set to 5.

The expression...
float $locPos1[] = `getParticleAttr -at worldPosition pCylinder3ParticleShape.pt[404]`;
locator1.translateX = $locPos1[0];
locator1.translateY = $locPos1[1];
locator1.translateZ = $locPos1[2];

float $locPos2[] = `getParticleAttr -at worldPosition pCylinder3ParticleShape.pt[414]`;
locator2.translateX = $locPos2[0];
locator2.translateY = $locPos2[1];
locator2.translateZ = $locPos2[2];

float $locPos3[] = `getParticleAttr -at worldPosition pCylinder3ParticleShape.pt[4]`;
locator3.translateX = $locPos3[0];
locator3.translateY = $locPos3[1];
locator3.translateZ = $locPos3[2];

Bingo_Jackson
01-07-07, 10:19 AM
Is there some crossed wire on the internet that is mixing traffic between the Zbrush "community" forum and a maya scripting forum somewhere? This is the second such query this week that would otherwise seem outrageously off-topc.

Xsmoke
01-07-07, 04:13 PM
Sorry about that...
I was wondering if i was posting in the wrong place...