NextPreviousHomeCross fadeing poses problem

Per | 13 years ago | 7 comments | 2.7K views

If you have to PNG's with transparency and you do a "crossfade", ie one starts with transparency of 0 and the one starts with a transparency 1 and you then slowly move the first from 0 to 1 and the other from 1 to 0 - it looks rather weird.

It doesn't smoothly crossfade, but sort of snaps from one picture to other png when you reach zero.

If that isn't a clear description you can see this little example

mediafire.com...

(Assuming it displays the same on all graphic cards)


mediafire.com...

Share this on FacebookShare this on X

I meant "have two" - I forgot the "w"

Per, 13 years ago

video,

LostBoyz, 13 years ago


Heh thanks LostBoyz :)
I should also add that I just used some blocks i quickly made to demonstrated the the problem.

My problem is they need to be very very carefully aligned, so depth arranging them may not work. But I'll try, thanks for your input.

Per, 13 years ago

That's the z-buffer in action.

Here are 2 other ways to fix the problem:
1) Apply the NotLightened_NoZBuffer.fx effect to both layers.
2) Set both layers to 3D IN BACKGROUND with the 2nd dropdown below the textbox.

en.wikipedia.org...

michiel, 13 years ago


Michiel, does the 'z-bias' setting mean we can have two pictures on the same z location but one of them will be "infront" of the other?

Per, 13 years ago

No. In BluffTitler this property changes the sorting order. Not the writing to the z-buffer.

Why don't you use the alpha magic effect:

outerspace-software.com...

michiel, 13 years ago


Thanks

Per, 13 years ago

Comment to this article

You must be logged in before you can comment to this article. Login | Register