| General SL Discussion Discuss topics related to Second Life |
| |
![]() |
| | LinkBack (1) | Thread Tools | Display Modes |
| |
#1 (permalink)
|
| InfoAddict ![]() ![]()
:V
Join Date: Nov 2007 Location: Michigan, USA
Posts: 114
My Mood: SLShopper Ads: 8 SL Join Date: 9/28/2005 | GIF to SL-Animation-Ready Image Ever seen animated textures in SL? Those are done with a texture tiled with the various animation "frames" and a script that sets the texture offsets quickly. One of these images looks something like this: ![]() The idea of making one of these textures by hand was horrific, so I made a little tool to generate them. Woot, woot! GIF 2 SL Animated Texture The LSL script for playing the animations is on the page too. The program names the created image so that it can just be uploaded and thrown into a prim with the script. Note: Unfortunately it only works on Windows machines for now, and you need the .NET 2.0 Framework. This software is distributed with no guarantees, it doesn't work for all GIF images and sometimes crashes with a cascade of application exceptions! However, it works most of the time ![]() Enjoy! |
| | |
| 4 Users Said Thanks : |
| | #4 (permalink) | |
| Snoring Tiger Clan ![]() ![]()
I nommed yer girlfriend
Join Date: Nov 2007 Location: I'm over there ======>
Posts: 158
My Mood: SL Join Date: May 7, 2006 | Quote:
| |
| | |
| 1 User Said Thanks: |
| | #7 (permalink) |
| Evil Incarnate! ![]() ![]() ![]() ![]() ![]()
Recursion is beautiful!
Join Date: Jun 2007 Location: Philadelphia, PA
Posts: 6,372
My Mood: SLShopper Ads: 1 SL Join Date: 2003-11-14
Business: Peregrine Salon | Very cool! The one I did had several known issues, and I never really had the time to solve them: (1) ImageMagick doesn't carry transparency from GIF through to targa - there is no exception handler for going from the sort of "fake" transparent pixel hack used by GIF 89a through to a true alpha layer in targa. So GIF transparent pixels are forced to white (yuck) instead of 100% alpha. (2) GIFs with a frame count (say, 47) that won't tile nicely into an X by Y grid fail, miserably. You can't really have a 47 x 1 layout with only 1024 pixels. Does yours do any duplicating or dropping of frames to make reasonable X by Y layouts? That was something I wanted to get to, eventually, but never did.(3) Does your program automatically resize to SL conforming graphic sizes - a nice little feature I added since SL's resizing is too brute-force for my liking. Great work! I'll play around with it a bit when I get a chance. I just figured I'd do a brain dump on some of the known issues I ran into. Regards, -Flip
__________________ Peregrine Salon: Flip & Jenn's thang. |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.sluniverse.com/php/vb/general-sl-discussion/12050-gif-second-life-animation-ready.html | ||||
| Posted By | For | Type | Date | |
| Marcus Endicott's Second Life Travel Guide - SecondLife Animation | This thread | Refback | 06-15-2008 06:13 AM | |