General Category > ASL Scripts

Animated Textures Using Controller Scripts

<< < (3/8) > >>

dancingshoes:
Raxx!

Only recently came across your animated texture scripts.

However, when I try to load either of your examples, Anim8or crashes as soon as I go to the scene mode.

Tried 1250 & 1258. 64 bit Win 7.

I accomplished a similar thing using an autoit script that manipulated the an8 file. It eats a lot of memory. Does yours?

Hope it goes native in Animator.

Thanks.

Dan

Raxx:
Hi dancingshoes, I gave it a shot and it doesn't crash when I go into scene mode. I suppose it's due to some ghostly reason that it crashes for you, I've never really figured it out and I think it's something only Steve can address.

I created a new set of files with the sprites_enabled controller set to 0, effectively disabling it so that it *shouldn't* crash when you enter the scene editor. Just set the controller back to 1 in the time track when you get in. Click this link to download it.

As for the amount of memory it uses, theoretically it shouldn't use any more or less than with normal non-animated textures. What it'll do is increase the CPU cycles and harddrive activity when switching between frames since it's swapping out the files in the material.

daniel99:
     I have a project now where I really need animated textures. The problem: it won't work for me at all. When I open your projects, they crash every time in scene mode. 

   I tried following your tutorial step by step, and it doesn't animate my textures. I can't understand what the problem is. Please help.
   Mine doesn't crash in scene mode, but it doesn't work either. The texture is  w001.jpg to w120.jpg, 800/800

Raxx:
Can you share your project, or a lesser example of with your step by step approach? Also, attached is a modified version of the first post's an8 files. These don't have the sprites_enabled controller, so it shouldn't crash when you go to the scene editor.

You'll have to add the boolean sprites_enabled controller to these files via Edit->Controllers and give it a boolean value of 1 in the timeline in order to see the animation(s) play.

daniel99:
     These didn't crash. I've added sprites enable controller and they animate.
     Although I don't totally understand how this script works yet, it seems. For my material, I need the normal map. So I tried to add the same fire texture to a normal map as well and now it crashed. So, if I make any changes to the material after the script is in place, it supposed to crash?
     I kept saving over my project, and delete it after a few tries.
But mine is simple. I'd appreciate if you'll find the time to create a new project, and I'll add my textures in the ./sprites" folder afterward. You can use any images named "w001.jpg to "w150.jpg'. Size is 800x800. It's gonna be a sandy terrain, where the wind kinda blows the sand slightly, and that's why I use only the normal map for it.
     I'm sure I'm doing somethin' wrong, but I haven't figured out what...yet!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version