Wintermute Engine Forum

Wintermute Engine => Feature requests, suggestions => Topic started by: Stucki on September 25, 2007, 10:28:33 AM

Title: bend sprites
Post by: Stucki on September 25, 2007, 10:28:33 AM
hi again.

would it be possible to have a bend.property like the rotate and scale properties.
i want to do various animation on flowers / plams and wheet shaking in the wind.
and it would be very helpful if it is possible to do it dirket in the engine.
by now i am just using the rotate funktion and it looks good but not perfect .
so now i am thinking to render a lot of animations and put many many animated sprites in the scene. [ a lot of work for me and the engine ]

so it would be perfect for me if there could be a bend attribute ...
what do you think about this. can this be coded ?

greets
stucki
 
 
Title: Re: bend sprites
Post by: Mnemonic on September 25, 2007, 08:49:32 PM
Well, "bend" is a pretty vague term. I suppose you're after some texture modifications, but it sounds to me like quite a specific request, which might be better suited by a plugin? Something like meta's displacement plugin?
Title: Re: bend sprites
Post by: Stucki on September 25, 2007, 10:19:58 PM
yes you are right. its about texture modification and it is specific .
the idea is to have one sprite with a flower for example and an attribute that handles the "bending" of the sprite. negative values for left positive for rigth way. so you can animate this flower like shaking a little in the wind without having to render the complete animation and having far to much sprites in one scene.
but i can understand that it is a very special request.

Can this be achieved with the displacement plugin ??
for i am not able to write plugins myself .. i wouldnt even know where to start looking ...

stucki



Title: Re: bend sprites
Post by: metamorphium on September 25, 2007, 10:58:25 PM
I think you could make it with a displacement plugin, but I don't know about performance. You can try it though (I don't know if it still works). :)
Mnemonic: do you still have it? I accidentaly deleted it from my ftp and it's somewhere in my tons of backup CD's as my hard drive burned back then.
Title: Re: bend sprites
Post by: Mnemonic on September 26, 2007, 07:11:03 AM
I have the compiled version (it's also used in Beyond the Threshold and in Bloody Christmas). I never had the sources, I think.