From: C R Onjob Date: Sun, 21 Sep 2014 17:00:02 +0000 (+0800) Subject: Automatic commit of irc logs X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=b60f2ed0ccbcafab270a410be92df9b38586dd08;p=ipdf%2Fdocuments.git Automatic commit of irc logs "You have been in Afghanistan, I perceive." -- Sir Arthur Conan Doyle, "A Study in Scarlet" --- diff --git a/irc/#ipdf.log b/irc/#ipdf.log index 96b59b7..7c4fda2 100644 --- a/irc/#ipdf.log +++ b/irc/#ipdf.log @@ -5054,3 +5054,31 @@ 21:39 <@matches> Also the compiler seems to occasionally just use the standard delete anyway which just makes everything TOTALLY INSANE 21:39 <@matches> WHY 21:39 * matches grumbles and prepares to write "Delete" and "New" +--- Day changed Sun Sep 21 2014 +16:43 <@matches> I think I'm just an idiot +16:47 <@matches> Arena doesn't help that much +16:47 <@matches> Which is odd +16:48 <@matches> If anything it is slower :( +16:49 <@matches> It's hard to profile something that doesn't work in valgrind +17:00 <@matches> On the other hand, removing all the "SanityCheck" calls is surprisingly effective... +17:48 <@matches> Damn +17:48 <@matches> I guess new and delete isn't as expensive as just doing a craptonne of branches +22:33 <@matches> So, probably a better idea is to stop the CPU renderer from recalculating the object bounds every single frame +22:33 <@matches> And update the object bounds when the view is changed instead +22:34 <@matches> Since we don't really care what the original bounds are +22:37 <@matches> This is basically what the quad tree does... +22:37 <@matches> Well it changes coordinate systems as well +22:37 <@matches> But I can zoom in a lot further now than I could before... +22:38 <@matches> Until eventually there is a sigfpe +23:19 <@matches> Ok +23:19 <@matches> This is slightly worrying +23:19 <@matches> I can zoom to {0.5,0.5,1e-41,1e-41} and insert things without any problem +23:21 <@matches> The CPU renderer does tend to sigfpe +23:27 <@matches> Man I feel really foolish now +23:27 * matches makes plans to delete the IRC logs again +23:32 <@matches> So +23:33 <@matches> The good news is that GMP rationals are pretty effective when you do cumulative transforms on the object bounds as opposed to keeping the bounds static and transforming them to view coordinates +23:34 <@matches> The bad news is that so are regular floats +23:34 <@matches> I'm pretty sure it just means we need a better tester +23:38 <@matches> Or +23:38 <@matches> We lie