Timestamps are in GMT/BST.
| 01:50:18 | | raptor Quit () |
| 07:00:42 | | -christel- [Global Notice] Hi all, we are about to carry out some maintenance and upgrades to the ircd servers, there will be some disruption over the next few days as we bring stuff down -- during the maintenance we would ask that you connect to the main rotation (chat.freenode.net) as this would ensure that you end up on the servers that have already been completed! Thank you! |
| 10:21:52 | | raptor has joined |
| 10:21:52 | | ChanServ sets mode +o |
| 11:49:59 | | raptor Quit () |
| 12:41:33 | | bobdaduck has joined |
| 13:09:53 | | watusimoto has joined |
| 13:09:53 | | ChanServ sets mode +o |
| 13:16:49 | | raptor has joined |
| 13:16:49 | | ChanServ sets mode +o |
| 13:18:25 | raptor | watusimoto: did you see the video i posted of the nanovg demo? |
| 13:21:18 | watusimoto | hey |
| 13:21:19 | watusimoto | no |
| 13:21:44 | watusimoto | oh, there's the link |
| 13:21:47 | watusimoto | clicking now |
| 13:22:23 | watusimoto | The eyes are what convinces me |
| 13:22:55 | raptor | haha |
| 13:23:53 | watusimoto | Is nanovg all-or-nothing? i.e. could we, in the interim, convert most of the gfx to nanovg, but leave some in non-nanovg? |
| 13:24:25 | watusimoto | that would allow us to port part of the game and see how it works in practice, while leaving things like the logo and transporters for later |
| 13:25:10 | raptor | yes, i think we can do it iteratively |
| 13:25:20 | watusimoto | I think so too |
| 13:27:33 | raptor | so if I attempt it - should I start with the current revision, or go back to before attempting the fontstash+GLES2 patches? |
| 13:27:52 | watusimoto | well... that's a good question |
| 13:28:17 | watusimoto | you would want to start with at least what's in the repo now |
| 13:28:33 | watusimoto | there was a lot of refactoring that went along with the fontstash which is good |
| 13:28:43 | raptor | yeah, because your fontstash work was to use upstream |
| 13:29:20 | watusimoto | yes; and if we remove fontstash proper, doing it from the new or an older codebase will be equally hard (or not hard) |
| 13:29:51 | watusimoto | A lot of the work I did was forcing the specification of color when drawing things, relying less on using the color that was last used |
| 13:30:11 | watusimoto | it's a tiny bit less efficient, but would probably be easier to port to nanovg |
| 13:31:24 | watusimoto | the other big thing I did was correct the position of text in many cases -- recall we had two methods for drawing text; one where you specified the position of the top of the text, the other the bottom |
| 13:31:53 | watusimoto | (zap did everything from the top, but that screwed up text rotation, which requires a bottom coordinate) |
| 13:32:03 | raptor | ah yes |
| 13:32:09 | watusimoto | neither of those two refactors is yet 100%, but are close |
| 13:32:29 | watusimoto | anyway, almost all text now uses the bottom coordinate |
| 13:34:00 | watusimoto | where we have two functions (i.e. drawtext and drawtext_fixed), once the first (drawtext) is no longer used, we can remove it and rename drawtext_fixed to drawtext, and, hopefully, get rid of all the _fixed function suffixes. (Suffices?) |
| 13:34:42 | watusimoto | but there's still the question of the spetember 5 patch |
| 13:34:50 | watusimoto | which I've appied, but not checked in |
| 13:34:50 | raptor | hmmm, yeah |
| 13:35:16 | watusimoto | I fell asleep again last night :-( |
| 13:35:19 | raptor | if we iteratively use nanovg, eventually we shouldn't need that patch |
| 13:35:21 | watusimoto | so did not get it compiling |
| 13:35:57 | bobdaduck | I hate it when I fall asleep at night |
| 13:35:57 | watusimoto | i.e. if all code uses nanovg, we can compile agains gles? |
| 13:36:03 | raptor | yes |
| 13:36:10 | bobdaduck | Awfully inconvenient |
| 13:36:19 | raptor | the API is fully abstracted to the various GL backends |
| 13:36:44 | watusimoto | well, here is what we could do... |
| 13:37:12 | raptor | hi bobdaduck |
| 13:37:14 | watusimoto | I could create a new patch, call it the Jan 3 patch, which we could apply later if need be |
| 13:37:27 | raptor | ok |
| 13:37:34 | watusimoto | then we could start nanovg work from what's in github now |
| 13:38:01 | watusimoto | the jan 3 patch would actually be a bit simpler and smaller than the sep 5 patch |
| 13:38:20 | watusimoto | because I omitted a bunch of function renames |
| 13:38:40 | watusimoto | and that accounted for well over half the changes |
| 13:38:53 | raptor | if I remember, those were necessary |
| 13:38:57 | watusimoto | they are |
| 13:39:06 | watusimoto | I discovered too late |
| 13:39:17 | watusimoto | but I have resharper at home, which makes renaming functions a snap |
| 13:39:34 | watusimoto | that's part of fixing the compile issues, is renaming at least some functions |
| 13:39:51 | watusimoto | actually, I think there's only one or two that actually need renaming; the rest are for consistency |
| 13:40:13 | watusimoto | but that could happen later, if we had to go back to the patch |
| 13:40:23 | watusimoto | which, with nanovg, we might not need to do |
| 13:40:33 | raptor | ok |
| 13:41:02 | watusimoto | the danger I see is that by hitching our wagon to nanovg, we depend on that to remain supported. |
| 13:41:50 | raptor | yeah, true |
| 13:42:04 | watusimoto | I see there are some recent contributions from people other than memononen |
| 13:43:05 | watusimoto | the project looks quiet but not dead |
| 13:43:15 | raptor | but is it worth it if we get gles2? |
| 13:43:22 | watusimoto | probably |
| 13:43:33 | watusimoto | we also get a more rational rendering system |
| 13:43:38 | raptor | or should we continue to roll our own... which hasn't been very exciting |
| 13:43:52 | watusimoto | no |
| 13:44:14 | watusimoto | code excitement is about all we've got :-) |
| 13:44:20 | raptor | haha |
| 13:44:54 | watusimoto | let's do it |
| 14:06:36 | watusimoto | it looks like there are lots of little projects using nanovg; someone will probably be willing to support it in future |
| 14:12:11 | watusimoto | what would be really cool is if there were a way to dump a frame to svg -- imagine an svg screenshot! |
| 14:16:44 | raptor | i've coded that before |
| 14:17:11 | watusimoto | in bitfighter? |
| 14:17:49 | raptor | yep - it was an experimental patch: http://sam6.25u.com/upload/gl2svg_bitfighter.diff |
| 14:17:59 | raptor | (just found it again) |
| 14:18:09 | watusimoto | did it work well? I don't remember that at all |
| 14:18:21 | raptor | it's from November 2014 |
| 14:18:37 | raptor | it worked fine |
| 14:18:59 | raptor | it used some old library I found that convered fixed function openGL commands intoe SVG paths |
| 14:19:48 | raptor | the output was an SVG and it looked fine but was very messy - almost every line was its own path |
| 14:23:39 | watusimoto | ha |
| 14:26:23 | watusimoto | well, with nanovg it might be cleaner... the nanovg code looks a lot like svg |
| 14:51:43 | watusimoto | I found a reference to another developer only partially converting their game to nanovg, so looks like we're right about that |
| 14:58:17 | raptor | where is that? |
| 14:58:41 | watusimoto | I'm embarrassed to say |
| 14:59:14 | watusimoto | https://www.garagegames.com/community/forums/viewthread/140328 |
| 14:59:18 | watusimoto | link seems broken now |
| 14:59:37 | watusimoto | it worked 5 mins ago |
| 15:01:48 | raptor | haha, no way |
| 15:03:04 | raptor | google cache works |
| 15:03:37 | raptor | huh, links to this: another solution we could use: https://github.com/bkaradzic/bgfx |
| 15:04:43 | raptor | except that's not so slightweight |
| 15:22:59 | watusimoto | I was looking at that. |
| 15:23:46 | watusimoto | not terribly lightweight, and I think there is a nanovg backed for bgfx, so we might be able to use that in the future without converting from nanovg |
| 15:23:54 | watusimoto | maybe for the teleporters :-) |
| 15:26:28 | watusimoto | I could not find a concise explanation of what bgfx was useful for |
| 15:26:37 | raptor | yeah, me neither |
| 15:27:00 | raptor | it sort of seems like you use it's methods to draw instead of GL or D3D |
| 15:27:08 | raptor | then just compile with the correct backend |
| 15:28:08 | raptor | I thought garagegames was dead - and yet they have a github project |
| 15:28:59 | watusimoto | they're just pining for the fjords |
| 15:30:24 | raptor | putting on a good face for the investors? |
| 15:53:07 | | raptor Quit (Ping timeout: 240 seconds) |
| 16:41:03 | | raptor has joined |
| 16:41:03 | | ChanServ sets mode +o |
| 18:22:31 | | bobdaduck Quit (Quit: Page closed) |
| 19:01:50 | | raptor Quit (Ping timeout: 245 seconds) |
| 19:55:57 | | raptor has joined |
| 19:55:57 | | ChanServ sets mode +o |
| 19:56:06 | watusimoto | he's back!!!!!!!! |
| 19:56:33 | raptor | what ho! |
| 20:01:44 | raptor | we got 8-12 inches of snow last night and the roads are an absolute mess |
| 20:02:26 | raptor | there are random giant piles in turning lanes |
| 20:02:38 | raptor | and people still drive likes its summer |
| 20:14:12 | watusimoto | wow... you guys don't get snow very often, right? |
| 20:14:23 | watusimoto | people drive like idiots |
| 20:15:44 | raptor | ha |
| 20:15:59 | watusimoto | I am convinced that most peopel don't understand the damage they can do to themselves or other people with a car |
| 20:16:26 | raptor | the plow for our neighborhood couldn't finish plowing because people took up too many spots on the roads that there was no space for the snow |
| 20:16:38 | watusimoto | awesome!! |
| 20:17:22 | raptor | yeah, i almost got into a wreck with someone gunning it blind behind a small snow pile |
| 20:20:16 | watusimoto | be careful |
| 21:19:20 | | raptor Quit (Ping timeout: 245 seconds) |
| 21:40:20 | | watusimoto Quit (Quit: Leaving.) |
| 23:31:58 | | raptor has joined |
| 23:31:58 | | ChanServ sets mode +o |
| 23:51:57 | | Lamp89 has joined |
| 23:54:20 | raptor | where is watusimoto.. |