X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fdocuments.git;a=blobdiff_plain;f=irc%2F%23ipdf.log;h=18a4e5801ad4d98251e360696652f2a25b700bff;hp=c8c17c93ac4160223f5f0864c18104ac0dc633d1;hb=f51317aa7bb8b5d2429f2991dd1e6c9652bede66;hpb=b63206e3974de26097a2c9f0e1dedeec06ea66fb diff --git a/irc/#ipdf.log b/irc/#ipdf.log index c8c17c9..18a4e58 100644 --- a/irc/#ipdf.log +++ b/irc/#ipdf.log @@ -4148,3 +4148,54 @@ 23:07 < matches> 8 hours in the future 23:07 < matches> I really should fix my system clock 23:07 < matches> One of these days... +--- Day changed Mon Sep 01 2014 +17:05 < matches> The wobbly lines on things are irritating me +17:10 < matches> There doesn't seem to be anything wrong with Bresenham, which means the actual line endpoints are wrong +17:11 < matches> The GPU does everything from floats and magically they go to the right spot in the buffer +17:11 < matches> The CPU has to calculate integer pixel coordinates +17:16 < matches> I need a magnifier I can't see the pixels that are in the wrong spot +17:16 < matches> I know they are there +17:21 < matches> ... ok maybe the Bresen Ham was a little past its use by date +19:48 < matches> The more I try and get these lines to not look dumb, the more convinced I become that glDrawLines is doing something fancy +19:56 < matches> You end up with wiggles in the line because the end points round to a different pixel to what you end up at by drawing the line +19:57 < matches> If you make sure you start from where the last line ended, you still get a bend because of the left over error from the last line +19:58 < matches> ... +19:58 < matches> Drawing a single line when you know the Bezier is actually a single line is probably going to be less rage inducing than trying to fix this +21:01 < matches> The Beziers are now classified according to Loop and Blinn +21:01 < matches> Well +21:01 < matches> Maybe +21:01 < matches> It at least knows what lines are +21:01 < matches> ... +21:02 < matches> Ok all the ttf beziers are SERPENTINE and LOOP so that's probably wrong +21:43 < matches> Ah, floating point precision strikes again +21:43 < matches> That's kind of annoying +21:47 < matches> But I suppose it's relevant +21:47 < matches> Unless I'm totally screwing something up +21:48 * matches adds in arbitrary fabs(x) < 1e-6 checks +21:58 < matches> On the other hand, if you use DeCasteljau and stop the sub dividing whenever you get to something that classifies as a line, it's actually pretty cool +21:59 < matches> But if you zoom in too far it starts to get classifications totally wrong +22:02 < matches> Yeah I have an abstract due in 2 weeks +22:02 < matches> so screwed +--- Day changed Tue Sep 02 2014 +13:42 < matches> Ok, let's not use floating point values for colours +13:42 < matches> Baad +13:43 < matches> Bad bad +13:43 < matches> Bad sheep +13:43 < matches> The project isn't about precision of representable colours +13:44 < matches> So I'm perfectly OK with using uint8 for colour components +18:53 < matches> Is it too late to change the aim of the project to "render svg-tests/fox.svg but without antialiasing" +18:54 < matches> "Or using the GPU" +18:55 < matches> Well, I understand why shading doesn't usually use flood fill now anyway +18:55 < matches> But I still kind of think flood fill is better at high resolutions +18:56 < matches> Not parallelisable I guess +18:56 < matches> ... Or is it +18:57 < matches> I was going to try and do arbitrary precision stuff but it seems we can no longer compile unless Real == double or float +--- Day changed Wed Sep 03 2014 +17:26 < matches> It would seem Mr Munroe has beaten us... +17:28 < matches> In Javascript +17:28 < matches> We should die of shame +17:29 < matches> Hahaha +17:29 < matches> "// there is no elegance here. only sleep deprivation and regret" +17:31 < matches> On the bright side, we now have a reason to reference xkcd +17:31 < matches> I guess? +17:59 < sulix> I just saw that, and had planned to use that comment as my next commit message.