sprite transparency

moorooduc's picture

hello everyone, I have asked this question some time ago in the vidvox forum. I might go into some details at explaining my problem again. I have an image of some birds sitting on a power line. I cut out the birds and saved them as a png file with a transparent background. I want to overlay them to original image. the final composition for vdmx should be able to zoom in to the "cut out-picture. thus, the birds will change size, while the rest of the picture remains just a still. the problem is quite simple: I want to overlay a png or psd file wit a transparent background. I have tried to change the blending of the sprite to OVER. and it doesn't work. Someone has sent me his qtz-file, which worked fine on his laptop, but not on mine. I don't understand why this happens. The only difference was the version of QC. On his system, her was running some older version. I am running QC 4 with snow leopard. Are there known issues with QC4 and snow leopard? Is there some way to go back to QC 3 (but keep snow leopard)? has anyone suggestions for how to solve this problem? best, moorooduc

smokris's picture
Re: sprite transparency

Do you perchance have an old version of Kineme GLTools installed (check in [your home directory]/Library/Graphics/Quartz Composer Patches/ and /Library/Graphics/Quartz Composer Patches)?

Improper compositing is a known issue with earlier versions (1.2 and earlier, I believe). Replace it with the latest version, 1.6 at the moment.

Scratchpole's picture
Re: sprite transparency

Just noticed that GL tools 1.6 is still named as 1.5 ???

hiltmeyer's picture
Re: sprite transparency

Changes since 1.5

not named. version number is a few lines higher.

Scratchpole's picture
Re: sprite transparency

No it is: when you download/install version 1.6 it is still named 1.5.

smokris's picture
Re: sprite transparency

It's named correctly in the plugin bundle's Info.plist (which is displayed by Finder). Where do you see the incorrect version?

PreviewAttachmentSize
Screen shot 2010-06-15 at 12.13.07.png
Screen shot 2010-06-15 at 12.13.07.png60.06 KB

vade's picture
Re: sprite transparency

There is a bug in the finder which does not always display the proper versions if you replace a bundle in the same directory and little changes in it. I see this all the time doing dev work. Move it out of the folder to a different one, new version. Move the same bundle back, old version. Stupid caching. Ha. Anyway maybe thats your issue?

moorooduc's picture
Re: sprite transparency

thanks smokris, this worked!! but of course other problems occurs now. when I load me qtz into VDMX I have something like a 'trail'-effect of every movement. I don't know what causes it. maybe, I should just update all my kineme plugins. can I just delete everything in the QC-patches and QC-plugins folder? and then download/install everything again (sorry about this newbie question). ,moorooduc

smokris's picture
Re: sprite transparency

I haven't used VDMX much, but often trails appear because the rendering context hasn't been cleared prior to drawing. Try inserting a Clear (or Gradient or any other renderer that overwrites the entire screen) on the first layer of your composition.

moorooduc's picture
Re: sprite transparency

thanks smokris. I didn't see the obvious: my composition was missing the clear patch. ah!!! all good now. (but I will be back with more newbie questions soon)

Scratchpole's picture
Re: sprite transparency

It's when I get info in finder, it's like Vade says I guess.

usefuldesign.au's picture
Re: sprite transparency

I had issues with contradictory version info a year or so ago with GL Tools. One earlier version of GLTools didn't bundle a version number that showed in get info either, so I guess Vade's comment explains why that was and maybe why I was getting the confusing answers when I swapped different builds of the (unofficial api) plug-in.