[Closed] Image sequence as a background
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 havent tried this yet, but im guessing that you’ll need to point to the IFL file instead of the JPG file. IFLs are the files that are automatically created when you open files as a “sequence” in max. These files are just simple text list files which you could also create using maxscript.
hope this helps:)