hi there,
i just wrote a little script to save out my VrayRT Render over time..
but while running the script i got only the 1st frame till the script is finished
Someone knows what im doing wrong?
yours
Thorsten
here my script:
d=(vrayGetRTBitmap())
if d != undefined do
(
for i= animationrange.start to animationrange.end do
(
slidertime= i
completeredraw()
sleep 0.5
d=vrayGetRTBitmap()
d.filename=“d:\\test\\test_”+ (i as integer /190) as string + “.tga”
-- print d.filename
save d
close d
I’ve been using this script and it seems to work fine:```
rollout test “RT Animation” (
timer clock “rtClock” interval:5000 --tick once every 5 seconds
local cframe=animationRange.start
label Frame “—”
on clock tick do (
b=vrayGetRTBitmap()
b.filename=“c:/temp/test” + (formattedPrint ((cframe as integer)/160) format:“04i”) + “.png”
save b
cframe = cframe+1f
Frame.text = cframe as string
if (cframe>animationRange.end) then DestroyDialog test
sliderTime=cframe
)
)
fn rtAnimation=(
sliderTime=animationRange.start
createDialog test
)
Hi there,
I have put you script as a .ms file in max and run it but could find the script in max.
Does this script work with max2008 ?
And am I oblige to use VrayRT SP1 to use this feature ?
I managed to make the script work but had to change the last lines.
Changed :
fn rtAnimation=(
sliderTime=animationRange.start
createDialog test
)
and leaved only :
createDialog test
Don’t know why you script don’t work.
But with 3dsmax 2008, max crash often using the script.
Don’t know if it due to my os or the RT DR? I’m on windows 7 64Bit and max 2008 64.
Is it possible that it will less crash in max2010?