Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
22nd July 2015, 23:42 | #1 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,492
|
"Polygon" - polygon drawing, feedback requested
Download: polygon0.1.zip
This is the very raw beginning of a plugin I'm working on for drawing high quality polygons (mainly with a view to being used as masks) in Avisynth, presented at this early stage mainly as a request for feedback. It makes use of Windows's GDI+ API, so who knows what problems that might cause Usage: 1. Define a polygon with pg_define: Code:
poly=pg_define(x1,y1, x2,y2, x3,y3 ...) # output is a specially formatted RGB32 clip # floating point values ARE supported Code:
pg_draw(blankclip(100,720,480),poly) # 100 frames, NTSC resolution
Feedback please! Last edited by wonkey_monkey; 23rd July 2015 at 01:16. |
Thread Tools | Search this Thread |
Display Modes | |
|
|