Texture animation - sequentially named files

Explanations, Walk through, tips and techniques related to LightUp
Post Reply
slugore
Posts: 21
Joined: Tue May 20, 2014 10:15 pm
Location: Toronto, Ontario, Canada

Texture animation - sequentially named files

Post by slugore » Mon Nov 10, 2014 11:43 pm

I understand the strip animation process of animating textures, as Adam had posted on YouTube, but I don't quite understand the process of sequential naming of image files in a folder and getting the texture to animate that way. I have a folder that has a bunch of jpegs that I was able to yank out of an .avi (each named in the format -> screen_frame0001.jpg) that I made and I want to make that sequence of jpgs animate in lightup.
Anyone have a tutorial for that? Is that really possible?
Win10 64bit|Intel i7 930@2.80ghz, 24GB ram | Radeon HD5880 | SketchUp Pro 2019 64bit | LightUp 5.8

User avatar
AdamB
Site Admin
Posts: 2294
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: Texture animation - sequentially named files

Post by AdamB » Tue Nov 11, 2014 10:12 am

Yes, you can simply apply a material that uses the first image of the sequence and LightUp will pull the rest in.

However. :)

You do need to use a specific supported file naming. It can be of the form (ignoring file extensions):

foobar_frame0, foobar_frame1, foobar_frame2 .... (NB no space between 'frame' and frame number)

OR

foobar_frame 0, foobar_frame 01, foobar_frame 02, .... (NB space between 'frame' and frame number and 1 leading zero)

OR

foobar_frame 00, foobar_frame 001, foobar_frame 002, .... (NB space between 'frame' and frame number and 2 leading zeros)
Developer of LightUp http://www.light-up.co.uk

slugore
Posts: 21
Joined: Tue May 20, 2014 10:15 pm
Location: Toronto, Ontario, Canada

Re: Texture animation - sequentially named files

Post by slugore » Tue Nov 11, 2014 4:50 pm

EDIT:
Renamed the files to screen_frame 01; screen_frame 02; ... etc.
An animation of a sort has started though it appears a a series of lines and flickers... it may be my that my files have fallen out of sequence in the renaming process.


I must be a nightmare customer and I apologize for this... I am just so excited to be able to do these things... yet I am unable to get it to work so far.
I have a folder with 24 images (22.8 KB each)
screen_frame1.jpg; screen_frame2.jpg; screen_frame3.jpg ... etc.
I have created a new material by using the first jpg and named the material as screen.
The model and the images are all in the same folder located currently on the desktop.
I do a full burn ignoring cache.
I don't get an animated result.
What have I missed?
Do I need to tell LightUp that the texture is animated?
Does the folder of images have to be a Sketchup texture library?
Should I stop bothering you?
Win10 64bit|Intel i7 930@2.80ghz, 24GB ram | Radeon HD5880 | SketchUp Pro 2019 64bit | LightUp 5.8

User avatar
AdamB
Site Admin
Posts: 2294
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: Texture animation - sequentially named files

Post by AdamB » Tue Nov 11, 2014 9:57 pm

OK, I neglected to explain that the images do need to be dimensions that is a power-of-2. 64,128,256,512,1024 etc
The software should quietly handle this for you - which it does for still textures, but here it is not.

Adam
Developer of LightUp http://www.light-up.co.uk

slugore
Posts: 21
Joined: Tue May 20, 2014 10:15 pm
Location: Toronto, Ontario, Canada

Re: Texture animation - sequentially named files

Post by slugore » Tue Nov 11, 2014 10:45 pm

Do they need to be powers of 2 in both x and y?
Win10 64bit|Intel i7 930@2.80ghz, 24GB ram | Radeon HD5880 | SketchUp Pro 2019 64bit | LightUp 5.8

User avatar
AdamB
Site Admin
Posts: 2294
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: Texture animation - sequentially named files

Post by AdamB » Tue Nov 11, 2014 11:01 pm

Yes, its a limit that many (older) graphics cards impose on images. Normally apps would do this conversion 'behind the scenes' for you.
Developer of LightUp http://www.light-up.co.uk

Post Reply