#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2017-01-03

Timestamps are in GMT/BST.

01:50:18raptor 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:52raptor has joined
10:21:52ChanServ sets mode +o
11:49:59raptor Quit ()
12:41:33bobdaduck has joined
13:09:53watusimoto has joined
13:09:53ChanServ sets mode +o
13:16:49raptor has joined
13:16:49ChanServ sets mode +o
13:18:25raptorwatusimoto: did you see the video i posted of the nanovg demo?
13:21:18watusimotohey
13:21:19watusimotono
13:21:44watusimotooh, there's the link
13:21:47watusimotoclicking now
13:22:23watusimotoThe eyes are what convinces me
13:22:55raptorhaha
13:23:53watusimotoIs 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:25watusimotothat 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:10raptoryes, i think we can do it iteratively
13:25:20watusimotoI think so too
13:27:33raptorso if I attempt it - should I start with the current revision, or go back to before attempting the fontstash+GLES2 patches?
13:27:52watusimotowell... that's a good question
13:28:17watusimotoyou would want to start with at least what's in the repo now
13:28:33watusimotothere was a lot of refactoring that went along with the fontstash which is good
13:28:43raptoryeah, because your fontstash work was to use upstream
13:29:20watusimotoyes; and if we remove fontstash proper, doing it from the new or an older codebase will be equally hard (or not hard)
13:29:51watusimotoA 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:11watusimotoit's a tiny bit less efficient, but would probably be easier to port to nanovg
13:31:24watusimotothe 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:53watusimoto(zap did everything from the top, but that screwed up text rotation, which requires a bottom coordinate)
13:32:03raptorah yes
13:32:09watusimotoneither of those two refactors is yet 100%, but are close
13:32:29watusimotoanyway, almost all text now uses the bottom coordinate
13:34:00watusimotowhere 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:42watusimotobut there's still the question of the spetember 5 patch
13:34:50watusimotowhich I've appied, but not checked in
13:34:50raptorhmmm, yeah
13:35:16watusimotoI fell asleep again last night :-(
13:35:19raptorif we iteratively use nanovg, eventually we shouldn't need that patch
13:35:21watusimotoso did not get it compiling
13:35:57bobdaduckI hate it when I fall asleep at night
13:35:57watusimotoi.e. if all code uses nanovg, we can compile agains gles?
13:36:03raptoryes
13:36:10bobdaduckAwfully inconvenient
13:36:19raptorthe API is fully abstracted to the various GL backends
13:36:44watusimotowell, here is what we could do...
13:37:12raptorhi bobdaduck
13:37:14watusimotoI could create a new patch, call it the Jan 3 patch, which we could apply later if need be
13:37:27raptorok
13:37:34watusimotothen we could start nanovg work from what's in github now
13:38:01watusimotothe jan 3 patch would actually be a bit simpler and smaller than the sep 5 patch
13:38:20watusimotobecause I omitted a bunch of function renames
13:38:40watusimotoand that accounted for well over half the changes
13:38:53raptorif I remember, those were necessary
13:38:57watusimotothey are
13:39:06watusimotoI discovered too late
13:39:17watusimotobut I have resharper at home, which makes renaming functions a snap
13:39:34watusimotothat's part of fixing the compile issues, is renaming at least some functions
13:39:51watusimotoactually, I think there's only one or two that actually need renaming; the rest are for consistency
13:40:13watusimotobut that could happen later, if we had to go back to the patch
13:40:23watusimotowhich, with nanovg, we might not need to do
13:40:33raptorok
13:41:02watusimotothe danger I see is that by hitching our wagon to nanovg, we depend on that to remain supported.
13:41:50raptoryeah, true
13:42:04watusimotoI see there are some recent contributions from people other than memononen
13:43:05watusimotothe project looks quiet but not dead
13:43:15raptorbut is it worth it if we get gles2?
13:43:22watusimotoprobably
13:43:33watusimotowe also get a more rational rendering system
13:43:38raptoror should we continue to roll our own... which hasn't been very exciting
13:43:52watusimotono
13:44:14watusimotocode excitement is about all we've got :-)
13:44:20raptorhaha
13:44:54watusimotolet's do it
14:06:36watusimotoit looks like there are lots of little projects using nanovg; someone will probably be willing to support it in future
14:12:11watusimotowhat would be really cool is if there were a way to dump a frame to svg -- imagine an svg screenshot!
14:16:44raptori've coded that before
14:17:11watusimotoin bitfighter?
14:17:49raptoryep - it was an experimental patch: http://sam6.25u.com/upload/gl2svg_bitfighter.diff
14:17:59raptor(just found it again)
14:18:09watusimotodid it work well? I don't remember that at all
14:18:21raptorit's from November 2014
14:18:37raptorit worked fine
14:18:59raptorit used some old library I found that convered fixed function openGL commands intoe SVG paths
14:19:48raptorthe output was an SVG and it looked fine but was very messy - almost every line was its own path
14:23:39watusimotoha
14:26:23watusimotowell, with nanovg it might be cleaner... the nanovg code looks a lot like svg
14:51:43watusimotoI found a reference to another developer only partially converting their game to nanovg, so looks like we're right about that
14:58:17raptorwhere is that?
14:58:41watusimotoI'm embarrassed to say
14:59:14watusimotohttps://www.garagegames.com/community/forums/viewthread/140328
14:59:18watusimotolink seems broken now
14:59:37watusimotoit worked 5 mins ago
15:01:48raptorhaha, no way
15:03:04raptorgoogle cache works
15:03:37raptorhuh, links to this: another solution we could use: https://github.com/bkaradzic/bgfx
15:04:43raptorexcept that's not so slightweight
15:22:59watusimotoI was looking at that.
15:23:46watusimotonot 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:54watusimotomaybe for the teleporters :-)
15:26:28watusimotoI could not find a concise explanation of what bgfx was useful for
15:26:37raptoryeah, me neither
15:27:00raptorit sort of seems like you use it's methods to draw instead of GL or D3D
15:27:08raptorthen just compile with the correct backend
15:28:08raptorI thought garagegames was dead - and yet they have a github project
15:28:59watusimotothey're just pining for the fjords
15:30:24raptorputting on a good face for the investors?
15:53:07raptor Quit (Ping timeout: 240 seconds)
16:41:03raptor has joined
16:41:03ChanServ sets mode +o
18:22:31bobdaduck Quit (Quit: Page closed)
19:01:50raptor Quit (Ping timeout: 245 seconds)
19:55:57raptor has joined
19:55:57ChanServ sets mode +o
19:56:06watusimotohe's back!!!!!!!!
19:56:33raptorwhat ho!
20:01:44raptorwe got 8-12 inches of snow last night and the roads are an absolute mess
20:02:26raptorthere are random giant piles in turning lanes
20:02:38raptorand people still drive likes its summer
20:14:12watusimotowow... you guys don't get snow very often, right?
20:14:23watusimotopeople drive like idiots
20:15:44raptorha
20:15:59watusimotoI am convinced that most peopel don't understand the damage they can do to themselves or other people with a car
20:16:26raptorthe 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:38watusimotoawesome!!
20:17:22raptoryeah, i almost got into a wreck with someone gunning it blind behind a small snow pile
20:20:16watusimotobe careful
21:19:20raptor Quit (Ping timeout: 245 seconds)
21:40:20watusimoto Quit (Quit: Leaving.)
23:31:58raptor has joined
23:31:58ChanServ sets mode +o
23:51:57Lamp89 has joined
23:54:20raptorwhere is watusimoto..

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.