How to do an animated painting?
Posted: Sat Sep 28, 2013 10:21 am
I'm thinking about creating a dungeon object - a painting, hanging on the wall with animated content (the daemon painted on it would wave his claws, the person eerily looking left and right etc.). What would be the best way to implement such a thing?
One approach that comes to my mind is to create a number (e.g. 20) objects, each representing one animation frame and then quickly create and destroy them in a loop. Of course the "animation" would be running only if the party was close by. The slight problem with that approach is that if the painting is reasonably big, it will require many textures, so the mod would be somewhat bloated. But I think this is unavoidable anyway.
A side problem: I'd like part of the animation would be to make the object brighten and then get darker over time (sort of like glowing and pulsating). How can I do that without additional textures that only vary in brightness?
Any thoughts? Suggestions?
One approach that comes to my mind is to create a number (e.g. 20) objects, each representing one animation frame and then quickly create and destroy them in a loop. Of course the "animation" would be running only if the party was close by. The slight problem with that approach is that if the painting is reasonably big, it will require many textures, so the mod would be somewhat bloated. But I think this is unavoidable anyway.
A side problem: I'd like part of the animation would be to make the object brighten and then get darker over time (sort of like glowing and pulsating). How can I do that without additional textures that only vary in brightness?
Any thoughts? Suggestions?