Timestamps are in GMT/BST.
13:32:56 | | watusimoto has joined |
13:32:56 | | ChanServ sets mode +o |
13:33:58 | | raptor has joined |
13:33:58 | | ChanServ sets mode +o |
13:34:06 | watusimoto | hi raptor |
13:34:11 | raptor | hi |
13:34:22 | watusimoto | I got the entire Sep 5 patch applied to the bf source last night |
13:34:31 | watusimoto | it doesn't build yet, but the grunt work is done |
13:34:44 | watusimoto | happy new year, by the way |
13:34:55 | raptor | happy new year! |
13:35:19 | watusimoto | I told a friend about your stars in win 31 in dos in the browser; he thinks you are insane. |
13:35:26 | raptor | :) |
13:35:31 | watusimoto | he's probably right |
13:35:31 | raptor | I almost have it, too |
13:35:46 | raptor | heh |
13:36:42 | raptor | this project has been getting me back into the web programming scene a little - things have sure changed! |
13:36:42 | watusimoto | you need to run your browser in a windows session in a VM on linux |
13:36:51 | watusimoto | yes |
13:37:09 | raptor | BrowserFS is one really neat project |
13:37:14 | watusimoto | though not as much as you'd think... it's still mostly college bros making their own frameworks and grabbing 15 seconds of attention |
13:37:25 | raptor | yeah, that's totally true |
13:37:54 | watusimoto | browserfs... that looks insane |
13:38:03 | raptor | yeah |
13:39:50 | raptor | after using it a little, it's why I think we could release something like the bitfighter editor for the browser and still have local saves (in the browser) |
13:41:09 | watusimoto | after spending a lot less time in Bitfighter for a while, going back in makes me realize how crappy the menu system looks |
13:41:35 | raptor | haha |
13:41:52 | watusimoto | the font upgrade was a huge step forward (except for the solid blocks you get in your dev environment, of course) |
13:41:55 | raptor | kaen always wanted to use some sort of official GUI toolkit |
13:42:06 | raptor | so we didn't have to manage the UI libraries so much |
13:42:10 | watusimoto | I'm more open to that than I was in the past |
13:43:22 | watusimoto | that's why that libretro looked attractive... you get a menuing library as well as the possibilty of abstracting away your opengl code |
13:43:30 | raptor | yes |
13:44:01 | watusimoto | what BF does, graphics wise, is so minimal that we could tolerate another layer of abstraction |
13:44:35 | watusimoto | especially if it provided flexibility in the realm of running in the browser or on other hardwares not yet envisioned |
13:45:08 | raptor | I wonder if there is some opengl GUI toolkit that also handles font caching and rendering abstraction to various GL backends, and is lightweight |
13:47:02 | raptor | oh yeah, this: https://github.com/memononen/NanoVG |
13:47:07 | raptor | by the fontstash author |
13:47:44 | raptor | except we'd have to move to OpenGL 2.0 |
13:47:53 | raptor | which maybe it's time to do that |
13:48:17 | raptor | which means dropping support for native winxp without special graphics drivers |
13:49:01 | watusimoto | After using xp in your setup (and mine, when I was trying to get my dev environment set up), I realized how archaic it was |
13:51:03 | watusimoto | at least we know nanovg works with fontstash! |
13:52:51 | watusimoto | nanovg will do gles2,3 |
13:52:52 | watusimoto | #if defined NANOVG_GL2_IMPLEMENTATION# define NANOVG_GL2 1# define NANOVG_GL_IMPLEMENTATION 1#elif defined NANOVG_GL3_IMPLEMENTATION# define NANOVG_GL3 1# define NANOVG_GL_IMPLEMENTATION 1# define NANOVG_GL_USE_UNIFORMBUFFER 1#elif defined NANOVG_GLES2_IMPLEMENTATION# define NANOVG_GLES2 1# define NANOVG_GL_IMPLEMENTATION 1#elif defined NANOVG_GLES3_IMPLEMENTATION# define NANOVG_GLES3 1# define NANOVG_GL_IMPLEMENTATION 1#endif |
13:53:01 | watusimoto | oops... that didn't work |
13:53:18 | raptor | gles2 ! |
13:53:44 | watusimoto | I'm basing that statement on the ifdefs I tried to paste |
13:53:55 | watusimoto | sorry... #defs |
13:54:00 | watusimoto | man where is my mind? |
13:54:27 | raptor | partying too much yesterday? :) |
13:54:33 | watusimoto | sadly, no |
13:55:03 | watusimoto | I had a bad experience with my son's new soldering iron |
13:55:07 | raptor | the highway patrol here changed all the electronic traffic signs to read: "don't start 2017 behind bars. driver sober" |
13:55:08 | watusimoto | maybe inhaled too much flux |
13:55:15 | watusimoto | ha |
13:55:25 | watusimoto | we had a bit of wire that just would not take solder |
13:55:57 | raptor | was it coated in something? |
13:56:03 | watusimoto | I don't think so |
13:56:20 | watusimoto | it was inside insulation that we stripped away |
13:56:42 | watusimoto | and other wire from the same "collection" worked fine (albiet it was different colors) |
13:57:02 | raptor | We have a squirt bottle of flux in the lab for issues like that |
13:57:17 | watusimoto | and it was stranded, so I'd expect some of the solder would flow into the wires even if it was coated |
13:57:33 | raptor | sometimes the stubborn wires are completely oxidized and so the solder doesn't even flow on them |
13:57:35 | watusimoto | that might have helped |
13:58:03 | watusimoto | part of the problem is that we do our soldering outside, and our work spot is highly unergonomic |
13:58:24 | watusimoto | and we were working with tiny wires |
13:58:30 | watusimoto | and the light was poor |
13:58:34 | watusimoto | and we were shivering |
13:58:42 | watusimoto | and the wire sucked |
13:59:54 | watusimoto | I don't know if I told you about this project... we took an old metal toy car that Ian had, ripped out the little "pull it back to wind the spring" motor, and replaced the headlights with leds and installed wifi |
14:00:15 | watusimoto | so the car will connect to the bitfighter server, see how many people are playing, and will light up the healights accordingly |
14:00:31 | raptor | haha, that's awesome! |
14:00:51 | raptor | is it a suped-up arduino running it? |
14:00:52 | watusimoto | the electronics are dead simple, but the packaging has been a HUGE challenge |
14:01:34 | watusimoto | it's an esp8266 on a breakout board |
14:01:38 | watusimoto | cost about $5 |
14:01:54 | watusimoto | has more memory than an arduino |
14:02:15 | watusimoto | but all we need is 5 io pins, and about 100B of memory |
14:02:24 | raptor | oh wow, not even a CPU |
14:02:30 | raptor | that's neat! |
14:02:44 | watusimoto | it has more computing power than an arduino |
14:02:47 | raptor | oh no, wait |
14:02:56 | raptor | yeah, sorry, i was just looking a tthe wifi component |
14:04:00 | watusimoto | I'm always looking for smaller and less powerful chips |
14:04:04 | raptor | Tensilica RISC... sounds like the Chinese can hack it |
14:04:16 | watusimoto | I'm sure they can |
14:04:33 | watusimoto | we'll probably be helping ddos some kindergarten or hospital |
14:05:02 | raptor | oh wow - that's the same company that owns that horrible transistor layout software we use (cadence) |
14:05:04 | watusimoto | but that's the price you pay for making a bitfighter powered car! |
14:05:49 | watusimoto | the thing I love about bitfighter is that it has offered numerous opportunities to learn new tech, and spinoff kind of crazy projects like pleaides and this car project |
14:07:10 | raptor | yes i agree |
14:08:39 | watusimoto | it has the right level of complexity |
14:12:19 | raptor | I caught 4 people playing on a private server 2 nights ago |
14:14:19 | watusimoto | great! |
14:15:49 | raptor | huh - it looks like nanovg does almost everything we need it to... |
14:19:15 | watusimoto | like what? |
14:19:52 | watusimoto | you mean navigating between gl versions? |
14:19:56 | raptor | it uses fontstash, does all the vector shapes has gl2 and gles2 backend, is lightweight |
14:20:17 | raptor | the only thing that would be hard to port would probably be the teleporters |
14:20:27 | watusimoto | ha... I was thinking the same thing |
14:20:48 | watusimoto | those dang teleporters |
14:20:50 | raptor | which maybe we could redesign to be more vectory |
14:21:57 | watusimoto | we tried that... |
14:23:24 | raptor | yeah... but we had to do it in raw GL 1 before |
14:23:45 | watusimoto | you mean keep the design the same, but reimplement the logic? |
14:24:41 | raptor | no, use the new abstraction layer to redesign it instead of having to figure out all the object coords |
14:26:48 | watusimoto | redoing it would be great; it's redesigning the way it appears where we stumbled |
14:27:16 | raptor | yes |
14:27:50 | watusimoto | I think you did a lot of internal reworking on that, right? |
14:28:13 | raptor | I attempted some |
14:28:20 | raptor | got it to at least conform to GLES 1 |
14:28:30 | watusimoto | I remember you being unhappy |
14:28:38 | raptor | ha |
18:54:21 | watusimoto | I've been thinking we should allow jpg/bnp/gif files to be used for things like achievements (because we have such an awful time drawing them from scratch). I wonder how nanovg works with images. The home page sample shows images embedded in the page, so it should be fine. |
18:56:06 | watusimoto | also, it looks like we could remove fontstash as an explicit lib if we used nanovg, and use the nanovg text handling instead |
18:56:19 | watusimoto | (which probably uses fontstash behind the scenes) |
19:01:31 | raptor | nanovg uses stb_image: "image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC" |
19:05:12 | raptor | there is also this, that takes nanovg and wraps it in a windowing system (replacing SDL fro that with GLEW): https://github.com/wjakob/nanogui |
19:08:14 | raptor | I think we should keep SDL, though |
19:09:34 | raptor | oh wait, here is an SDL port: https://github.com/dalerank/nanogui-sdl |
19:10:11 | raptor | ah, and it uses c++11 |
19:10:37 | raptor | hmm.. maybe it's time to just burn it all down and use newer technologies everywhere |
19:12:11 | raptor | i guess nanovg isn't a full gui toolkit, but nanogui-sdl is |
19:23:58 | watusimoto | nanonvg looks like a good way to make our code a bit cleaner |
19:24:57 | watusimoto | nanogui-sdl looks pretty... it uses C++11 though |
19:25:57 | watusimoto | if we adopt a gui lib, I want to make sure it is future compatible (i.e. would work on the web for an editor, for example) |
19:26:31 | raptor | yes, so I think it should stay SDL2 |
19:26:38 | watusimoto | the editor is the biggest place I could see benefiting from an improved UI |
19:26:38 | raptor | or something that hooks into it |
19:27:21 | watusimoto | especially as the editor UI does not need to be navagable by a joystick |
19:28:24 | raptor | haha |
19:33:37 | watusimoto | there's always qt |
19:49:47 | raptor | but qt -> browser isn't so straightforward, I think |
20:00:07 | raptor | ah, you're probably joking.. I should stop taking things s oliterally |
20:03:08 | watusimoto | actually I wasn't, but probably should have been :-( |
20:39:34 | | Nothing_Much has joined |
20:39:57 | | Nothing_Much Quit (Remote host closed the connection) |
21:40:05 | raptor | well, i compiled the nanovg examples - runs pretty good, does lots of pretty moving things |
22:00:11 | raptor | here is a video of the demo: https://www.et.byu.edu/~buckd/screenie.mp4 |
22:15:52 | | watusimoto Quit (Quit: Leaving.) |