FXScript drawing problems
site_archiver@lists.apple.com Delivered-To: Pro-apps-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=Q5Cm8Q8qBbmRdDoAFIbUNqii1GdeVSeIu2UetbMQpMA=; b=n5fR+yq67w90fHvmsJa8LtYN9fRj7Tt05hsRFacI2mZVGIx6n1loRw8zENAZ5snrmC 1wNm7R8ujrE2v2FCpeuB0++4n/3Cxyc+qpa5Unyo0BfMS/cLfWEVYYo+HjPitN6UCvh4 AXV+FTxNuS2QX5PwkxhWVvMXvGZjYKUYfjFqc= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:content-type:content-transfer-encoding:subject:date :message-id:to:mime-version:x-mailer; b=MttFPVx/HgQNis3edpKJPouvj0DtK/Xr9P3Chwtno86EPJbrwbmZuKuMedgrtdjIl9 qllcxodS6irPT3pYMJK2WqCFC90Q3xSSRP2JODM2USRnor5Ut1o4FN0K9zxYJiHwfWPC 9ypxPAT1Ws9bUDN7I1OL+WPTUicNV04kC+leM= I'm writing a custom FXScript filter plug-in which uses corner pin position data to manipulate the source image. Nothing too complicated - put the position data into an array, and depending on the frame number, pull out the correct data and create a poly that is used to blit the source image to dest. But unfortunately things aren't that simple and I'm seeing problems. Using BlitRect, produces strange 1px wide notches at the top of the image. http://img.skitch.com/20100225-eju98ny9eki68bpwyskmigbbsd.jpg When using Blit, the notches are gone but there are now near-horizontal missing lines on certain frames, depending on the corner coordinates of the poly. http://img.skitch.com/20100225-kqwcghsxfc4h264uwksagnx9kd.jpg So then I thought I'd workaround it and create a separate alpha channel, using FillPoly but that won't work because it seems to ignore subpixel values as the poly moves around. It's a long shot but anyone on the list ever seen these issues before and got any handy workarounds? I did try drawing the top 5% of the image using Blit and the remaining 95% using BlitRect :-) but the antialiasing is slightly different on the vertical edges so you can see the join. Martin Baker www.digital-heaven.co.uk www.twitter.com/digitalheaven www.videospaceonline.com www.finalcutters.com www.funkycloud.com/lifeshaker ------------------------------------------------------ Digital Heaven Ltd is registered in England and Wales Company registration number: 3628396 Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE VAT registration number: GB 736 0989 03 _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... This email sent to site_archiver@lists.apple.com
participants (1)
-
Martin Baker