nathanwallis
02-10-2005, 11:41 PM
Hi there,
I have a basic pflow birth script that generates new particles according to a wave file, you can check out the relevant thread in my signature. It generates fine when i scrub the time slider and does fine when i render a preview animation. But when I go to do a production render of the same time frame it renders nothing....???? Anyone know why???
Sphere02's z position is controlled by an audio float.....
on ChannelsUsed pCont do
(
pCont.usePosition = true
)
on Init pCont do
(
global oldPos
global currPos
)
on Proceed pCont do
(
currPos = $Sphere02.pos.z
if currPos > 5 and currPos < 20 do
(
oldPos = currPos
if oldPos > currPos then newPos = oldPos - currPos
if currPos > oldPos then newPos = currPos - oldPos
if currPos == oldPos then newPos = currPos
if newPos > .1 then pCont.addParticle()
--print currPos
)
--Check to see the particles don't drop out
count = pCont.NumParticles()
for i in 1 to count do
(
pCont.particleIndex = i
if pCont.particlePosition.z <= -130 then pCont.deleteParticle (i)
--print pCont.particlePosition.z
)
)
on Release pCont do
(
)
I have a basic pflow birth script that generates new particles according to a wave file, you can check out the relevant thread in my signature. It generates fine when i scrub the time slider and does fine when i render a preview animation. But when I go to do a production render of the same time frame it renders nothing....???? Anyone know why???
Sphere02's z position is controlled by an audio float.....
on ChannelsUsed pCont do
(
pCont.usePosition = true
)
on Init pCont do
(
global oldPos
global currPos
)
on Proceed pCont do
(
currPos = $Sphere02.pos.z
if currPos > 5 and currPos < 20 do
(
oldPos = currPos
if oldPos > currPos then newPos = oldPos - currPos
if currPos > oldPos then newPos = currPos - oldPos
if currPos == oldPos then newPos = currPos
if newPos > .1 then pCont.addParticle()
--print currPos
)
--Check to see the particles don't drop out
count = pCont.NumParticles()
for i in 1 to count do
(
pCont.particleIndex = i
if pCont.particlePosition.z <= -130 then pCont.deleteParticle (i)
--print pCont.particlePosition.z
)
)
on Release pCont do
(
)
