Jump to content
WnSoft Forums

Fading a shadow in...


trailertrash

Recommended Posts

I have an item [a png file] which I want to travel across the screen slowly and as it comes to a halt, I want to fade in a drop shadow. I cant find a way to do this as the minute I tick the shadow box [even at the last keyframe [[KF2]]the shadow appears in the file at the start [KF1]

Anyone know how to do this please?

Andrew

Link to comment
Share on other sites

Andrew,

Peters suggestion is the course I would follow ... it does not require any external editor process and does not require any new additional images to make the shadow effect. Its all simply accomplished within PTE using a copy of the image.

Try using two copies of your PNG object: one with a drop shadow and one without. Fade the one with drop shadow out completely to start with and when you want the shadow to appear, fade this copy up
Link to comment
Share on other sites

I would recommend the use of the parent/child concept: Insert a rectangle (or any image) with the same aspect ratio as the image that you want to show, and give it a drop shadow. Highlight the object and insert the image that you want to see as a child, and it will exactly cover the rectangle. The shadow and all kinds of animation can now be configured via key points for the rectangle.

Regards,

Xaver

Link to comment
Share on other sites

Xaver,

I think Andrew might have a non-rectangular image. In his original post he spoke of a PNG file. I have assumed this to mean it is of an irregular shape and that Andrew wants the shadow to conform to this irregular shape. I agree that your suggestion is ideal for a solid (JPEG) image but I do not think it would give the best result for an irregular shaped image (PNG).

regards,

Peter

Link to comment
Share on other sites

Thanks guys, the object is indeed an iregular shaped object. Thats why I made it .png to preserve the luminosity around the edges.

What I did was to create a shadow .png and use a rectangle container containing the shadow at the places I wanted it. Then just used opacity changes to get it to appear when I wanted it to.

So all advice has been used and indeed has worked.

See...you guys can fix anything...

Andrew

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...