Arranging images on a grid for llSetTextureAnim
|
Enabran Templar
Capitalist Pig
Join date: 26 Aug 2004
Posts: 4,506
|
04-11-2005 11:36
I've seen some really crisp and beautiful animated textures in-world. I think a small, animated texture can really add a lot to a build and I'm always looking for a way to make these things look better.
My question:
Let's say I make a sequence in After Effects. I can export however many frames I like from that sequence into a series of still images. What is the best way of taking those images and arranging them on a grid into a single image file, for use with llSetTextureAnim? Getting these PRECISELY on a grid in Photoshop is a tedious process, and even the smallest error results in an ugly animated texture.
Any advice, texture gurus? Thanks!
|
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
|
04-11-2005 13:09
i use my thumbnail viewer and set the size then take a screenshot it spaces them out evenly. i use PSP8 so im not sure with PS but i would like to know how to use a grid or tile images also. i have a flimstrip jpg prog i used in AW maybe ill try that. -LW
|
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
|
04-11-2005 15:55
Maybe this will help  . Picture Script: default { state_entry() { llSetTextureAnim (ANIM_ON | LOOP, ALL_SIDES, 4, 4, 0, 0, 1.0); } }
|
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
|
An Ode to Midnight
04-11-2005 16:49
From: Enabran Templar Any advice, texture gurus? Thanks! I got a bit bored hehe. Poke If you are using a 4x4 grid and a 512x512 image size, you can place the pics evenly at 64,192,320 and 448 pixels across and down. So move the picture in transformation -> scale mode x,y at 64,64 then 64,192 64,320 64,448 192,64 and so on and so forth.
|
Enabran Templar
Capitalist Pig
Join date: 26 Aug 2004
Posts: 4,506
|
04-11-2005 17:11
From: Cid Jacobs Maybe this will help  . PictureHey, that's a very helpful template! Thank you! It's not automation, but it'll sure make things easier.
|
Travis Lambert
White dog, red collar
Join date: 3 Jun 2004
Posts: 2,819
|
Slice Select Tool
04-11-2005 18:43
Enabran - for ease of making your grid in Photoshop - here's what I do...
-use the "Slice Select Tool", and the "Slice options" button at the top of your screen in Photoshop to create a grid on your blank texture of the number of horizontal & vertical rows you want to create.
-Begin pasting your frames in - as you move them around, you'll notice they'll "snap" where you've seperated your slices.
When you're done, and you save your completed texture... you wont see your slice lines in the final product.
Hope this helps!
|
Enabran Templar
Capitalist Pig
Join date: 26 Aug 2004
Posts: 4,506
|
04-11-2005 19:33
From: Travis Lambert -Begin pasting your frames in - as you move them around, you'll notice they'll "snap" where you've seperated your slices. This is very handy, as well. Thanks for illuminating this feature for me! Never was quite sure what to do with it. 
|
Dirk Gorham
Registered User
Join date: 7 Apr 2005
Posts: 5
|
I could be wrong..
04-11-2005 20:43
I may have misunderstood the question, but making a animation "Stirp" in Photoshop is easy.
just set up your grid to whatever size you want, with 2 subdivisions to find your center point of each frame and just paste each frame as needed. I wouldn't use JPG or anything lossy until your final output. Render out an uncompressed AVI or BMPs and copy and paste each frame as a layer.. then just drag horizontally and you have an amination stip in just a few seconds. I do this for work almost everyday.
good luck
|