loocas
08-23-2004, 04:26 AM
Hi there guys, I'm here again with a plea, again :)
but, I'm a very rook programmer and this is a bit too much for me, but I really need a script, which would intelligently, and mainly automaticly, interpolate two bitmaps between each other, here's what I need,
those who played DOOM III will know immediately: I need to create a spotlight, in an animation, and I will use a projection map to simulate the nice spotlight edges and stuff, but as long as it is in the animation, I can't use area shadows to calculate blurriness of the projector map based on the distance of a surface it hits. So, I was thinking of creating a script, that would interpolate two bitmaps (one nicely sharp/crisp and the other, guess, blurred a lot) based on the distance of the surface it lits, or based on attenuation distances, for example when the surface is close to NEAR atten. it renders nicely crisp projector map of the light, when it's close or farther from FAR atten. it renders, obviously, the blurry p. map of the light. Now, it would be pretty simple to do this effect for a still image, I'd just use whatever is visible etc... and for a simple animation, which doesn't need to look very realistic, it wouldn't be a problem, I'd just use a one projector map, and that'd be it. But I want the spotlight to look very realistic, including the blurriness. So, if anyone knows about an already existing script/utility whatever, let me please know, or if it doesn't exist yet, give me some hints/tips to be able to write the script, I'm a really bad programmer, so, go easy on me pls. :thumbsup:
And most of all, I need this script to work with finalRender stage-1 sp2b! so the more universal it will be, the better.
Thanks and cheers...
but, I'm a very rook programmer and this is a bit too much for me, but I really need a script, which would intelligently, and mainly automaticly, interpolate two bitmaps between each other, here's what I need,
those who played DOOM III will know immediately: I need to create a spotlight, in an animation, and I will use a projection map to simulate the nice spotlight edges and stuff, but as long as it is in the animation, I can't use area shadows to calculate blurriness of the projector map based on the distance of a surface it hits. So, I was thinking of creating a script, that would interpolate two bitmaps (one nicely sharp/crisp and the other, guess, blurred a lot) based on the distance of the surface it lits, or based on attenuation distances, for example when the surface is close to NEAR atten. it renders nicely crisp projector map of the light, when it's close or farther from FAR atten. it renders, obviously, the blurry p. map of the light. Now, it would be pretty simple to do this effect for a still image, I'd just use whatever is visible etc... and for a simple animation, which doesn't need to look very realistic, it wouldn't be a problem, I'd just use a one projector map, and that'd be it. But I want the spotlight to look very realistic, including the blurriness. So, if anyone knows about an already existing script/utility whatever, let me please know, or if it doesn't exist yet, give me some hints/tips to be able to write the script, I'm a really bad programmer, so, go easy on me pls. :thumbsup:
And most of all, I need this script to work with finalRender stage-1 sp2b! so the more universal it will be, the better.
Thanks and cheers...
