Notifications
Clear all

[Closed] scripted render effect – assertion error

this one’s driving us crazy – we just don’t get around it…
we’re using max 7 SP1 with standard scanline renderer. the coder wrote a script that crates a blur render effect (radial blur) and saves the images of a sequence in .bmp-format (24 bpp).

the problem now is that the following error comes up:
“Debug Assertion information: in File blurmgr.cpp Line:684
In File:_blurtypes\blurradial.cpp Line:737″”

here’s a part of the script:


 -- create blur effect
 blurFilter = blur()
 blurFilter.name =  "myBlur"
 blurFilter.blur_type = 2
 blurFilter.bRadialPixRad =  10
 blurFilter.bRadialTrail = 100
 
 -- set  target
 blurFilter.bRadialNode = blur-object-2410'
 blurFilter.bRadialUseNode=true
 
 addEffect  blurFilter
 
 -- render avi
 
 aviFileName =  "E:/blur-2400-2410.avi"
 
 aviFile = bitmap 720 480 filename:aviFileName  
 
 for i = 1 to numberOfFrames by stepSize do
 (
 render camera:cam  frame:i to:aviFile vfb:on
 save aviFile
 )
 
 close (aviFile)
 

we already tried to save as .avi directly, that didn’t help though. any ideas?

1 Reply

still hoping someone knows what’s this error caused by…