FXScript drawing problems
FXScript drawing problems
- Subject: FXScript drawing problems
- From: Martin Baker <email@hidden>
- Date: Thu, 25 Feb 2010 00:29:21 +0000
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden