pirracas
03-03-2006, 03:40 PM
Hi all,
I am writing a script where I need to set an animated background image, using a sequence of images in the form image.000.jpg, image.001.jpg, image.002.jpg...
I have done the following:
b=openBitMap("C:\projects\source_images\image.000.jpg")
b.numframes = 50
b.aspect =1.0
setAsBackground b
setBkgImageAnimate true
setBkgImageAspect #output
setBkgFrameRange [0,49,1]
setBkgStartTime 0
setBkgSyncFrame 0
but still it is not animated.
When I do it interactively using the viewport background dialog, I have to check the 'sequence' tickbox to make it work properly, I think this is the problem with the script.
What is the MAXscript equivalent of that 'sequence' tickbox?
Thanks a lot
I am writing a script where I need to set an animated background image, using a sequence of images in the form image.000.jpg, image.001.jpg, image.002.jpg...
I have done the following:
b=openBitMap("C:\projects\source_images\image.000.jpg")
b.numframes = 50
b.aspect =1.0
setAsBackground b
setBkgImageAnimate true
setBkgImageAspect #output
setBkgFrameRange [0,49,1]
setBkgStartTime 0
setBkgSyncFrame 0
but still it is not animated.
When I do it interactively using the viewport background dialog, I have to check the 'sequence' tickbox to make it work properly, I think this is the problem with the script.
What is the MAXscript equivalent of that 'sequence' tickbox?
Thanks a lot
