From 34ba6e5f997852c4b46891d32d8e2cca594407b8 Mon Sep 17 00:00:00 2001 From: C R Onjob Date: Thu, 19 Jun 2014 01:00:02 +0800 Subject: [PATCH] Automatic commit of irc logs Are you ever going to do the dishes? Or will you change your major to biology? --- irc/#ipdf.log | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/irc/#ipdf.log b/irc/#ipdf.log index c9ad2dc..8b00f10 100644 --- a/irc/#ipdf.log +++ b/irc/#ipdf.log @@ -1974,3 +1974,21 @@ 22:11 <@matches> But they won't be fixed size 22:12 <@matches> Anyway I will see if you have magically solved the problem for me in the morning :P 22:14 <@sulix> I wouldn't count on it... +--- Day changed Wed Jun 18 2014 +16:50 <@matches> Behold, the glory of Beziers and Bresenham! +16:50 <@matches> Breseniers I shall call them +16:54 <@matches> I'm getting a very strong vibe of "Reinventing graphics technologies from the 1990s" at the moment +16:55 <@matches> I should probably look at floating point some more +16:55 <@matches> And reinvent numerical computation technologies from the 1980s +16:56 <@matches> We need a GPU renderer for the Beziers, and we need to fix save/load to not assume everything is a fixed size, and ... +16:56 <@matches> Argh +16:56 <@matches> All the things +17:00 <@matches> Maybe I'll multithread the CPU rendering too, just to make things more difficult :P +22:48 <@sulix> So I got some béziers rendering on the GPU. +22:48 <@sulix> They're not the ones in the document, and they're not in the right spots, though. +23:12 <@sulix> First 3 béziers are rendering properly on the GPU, then we get corrupted memory or something. +23:14 <@sulix> Ah: I see, I need some way of uploading which bézier IDs are being used. +23:41 <@sulix> Okay, Béziers now render on the GPU as well. +23:43 <@sulix> The code is a little bit ugly, and for that I am sorry, but blame the fact that the GL feature that makes this nice is only about a year old and so nothing supports it. +23:43 <@sulix> So we're basically uploading all of the raw document data into a huge texture. +23:47 <@sulix> (If you ask me, the GPU ones also look slightly nicer, though that's probably a bug) -- 2.20.1