#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2017-01-02

Timestamps are in GMT/BST.

13:32:56watusimoto has joined
13:32:56ChanServ sets mode +o
13:33:58raptor has joined
13:33:58ChanServ sets mode +o
13:34:06watusimotohi raptor
13:34:11raptorhi
13:34:22watusimotoI got the entire Sep 5 patch applied to the bf source last night
13:34:31watusimotoit doesn't build yet, but the grunt work is done
13:34:44watusimotohappy new year, by the way
13:34:55raptorhappy new year!
13:35:19watusimotoI told a friend about your stars in win 31 in dos in the browser; he thinks you are insane.
13:35:26raptor:)
13:35:31watusimotohe's probably right
13:35:31raptorI almost have it, too
13:35:46raptorheh
13:36:42raptorthis project has been getting me back into the web programming scene a little - things have sure changed!
13:36:42watusimotoyou need to run your browser in a windows session in a VM on linux
13:36:51watusimotoyes
13:37:09raptorBrowserFS is one really neat project
13:37:14watusimotothough 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:25raptoryeah, that's totally true
13:37:54watusimotobrowserfs... that looks insane
13:38:03raptoryeah
13:39:50raptorafter 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:09watusimotoafter spending a lot less time in Bitfighter for a while, going back in makes me realize how crappy the menu system looks
13:41:35raptorhaha
13:41:52watusimotothe font upgrade was a huge step forward (except for the solid blocks you get in your dev environment, of course)
13:41:55raptorkaen always wanted to use some sort of official GUI toolkit
13:42:06raptorso we didn't have to manage the UI libraries so much
13:42:10watusimotoI'm more open to that than I was in the past
13:43:22watusimotothat's why that libretro looked attractive... you get a menuing library as well as the possibilty of abstracting away your opengl code
13:43:30raptoryes
13:44:01watusimotowhat BF does, graphics wise, is so minimal that we could tolerate another layer of abstraction
13:44:35watusimotoespecially if it provided flexibility in the realm of running in the browser or on other hardwares not yet envisioned
13:45:08raptorI 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:02raptoroh yeah, this: https://github.com/memononen/NanoVG
13:47:07raptorby the fontstash author
13:47:44raptorexcept we'd have to move to OpenGL 2.0
13:47:53raptorwhich maybe it's time to do that
13:48:17raptorwhich means dropping support for native winxp without special graphics drivers
13:49:01watusimotoAfter 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:03watusimotoat least we know nanovg works with fontstash!
13:52:51watusimotonanovg will do gles2,3
13:52:52watusimoto#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:01watusimotooops... that didn't work
13:53:18raptorgles2 !
13:53:44watusimotoI'm basing that statement on the ifdefs I tried to paste
13:53:55watusimotosorry... #defs
13:54:00watusimotoman where is my mind?
13:54:27raptorpartying too much yesterday? :)
13:54:33watusimotosadly, no
13:55:03watusimotoI had a bad experience with my son's new soldering iron
13:55:07raptorthe highway patrol here changed all the electronic traffic signs to read: "don't start 2017 behind bars. driver sober"
13:55:08watusimotomaybe inhaled too much flux
13:55:15watusimotoha
13:55:25watusimotowe had a bit of wire that just would not take solder
13:55:57raptorwas it coated in something?
13:56:03watusimotoI don't think so
13:56:20watusimotoit was inside insulation that we stripped away
13:56:42watusimotoand other wire from the same "collection" worked fine (albiet it was different colors)
13:57:02raptorWe have a squirt bottle of flux in the lab for issues like that
13:57:17watusimotoand it was stranded, so I'd expect some of the solder would flow into the wires even if it was coated
13:57:33raptorsometimes the stubborn wires are completely oxidized and so the solder doesn't even flow on them
13:57:35watusimotothat might have helped
13:58:03watusimotopart of the problem is that we do our soldering outside, and our work spot is highly unergonomic
13:58:24watusimotoand we were working with tiny wires
13:58:30watusimotoand the light was poor
13:58:34watusimotoand we were shivering
13:58:42watusimotoand the wire sucked
13:59:54watusimotoI 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:15watusimotoso the car will connect to the bitfighter server, see how many people are playing, and will light up the healights accordingly
14:00:31raptorhaha, that's awesome!
14:00:51raptoris it a suped-up arduino running it?
14:00:52watusimotothe electronics are dead simple, but the packaging has been a HUGE challenge
14:01:34watusimotoit's an esp8266 on a breakout board
14:01:38watusimotocost about $5
14:01:54watusimotohas more memory than an arduino
14:02:15watusimotobut all we need is 5 io pins, and about 100B of memory
14:02:24raptoroh wow, not even a CPU
14:02:30raptorthat's neat!
14:02:44watusimotoit has more computing power than an arduino
14:02:47raptoroh no, wait
14:02:56raptoryeah, sorry, i was just looking a tthe wifi component
14:04:00watusimotoI'm always looking for smaller and less powerful chips
14:04:04raptorTensilica RISC... sounds like the Chinese can hack it
14:04:16watusimotoI'm sure they can
14:04:33watusimotowe'll probably be helping ddos some kindergarten or hospital
14:05:02raptoroh wow - that's the same company that owns that horrible transistor layout software we use (cadence)
14:05:04watusimotobut that's the price you pay for making a bitfighter powered car!
14:05:49watusimotothe 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:10raptoryes i agree
14:08:39watusimotoit has the right level of complexity
14:12:19raptorI caught 4 people playing on a private server 2 nights ago
14:14:19watusimotogreat!
14:15:49raptorhuh - it looks like nanovg does almost everything we need it to...
14:19:15watusimotolike what?
14:19:52watusimotoyou mean navigating between gl versions?
14:19:56raptorit uses fontstash, does all the vector shapes has gl2 and gles2 backend, is lightweight
14:20:17raptorthe only thing that would be hard to port would probably be the teleporters
14:20:27watusimotoha... I was thinking the same thing
14:20:48watusimotothose dang teleporters
14:20:50raptorwhich maybe we could redesign to be more vectory
14:21:57watusimotowe tried that...
14:23:24raptoryeah... but we had to do it in raw GL 1 before
14:23:45watusimotoyou mean keep the design the same, but reimplement the logic?
14:24:41raptorno, use the new abstraction layer to redesign it instead of having to figure out all the object coords
14:26:48watusimotoredoing it would be great; it's redesigning the way it appears where we stumbled
14:27:16raptoryes
14:27:50watusimotoI think you did a lot of internal reworking on that, right?
14:28:13raptorI attempted some
14:28:20raptorgot it to at least conform to GLES 1
14:28:30watusimotoI remember you being unhappy
14:28:38raptorha
18:54:21watusimotoI'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:06watusimotoalso, it looks like we could remove fontstash as an explicit lib if we used nanovg, and use the nanovg text handling instead
18:56:19watusimoto(which probably uses fontstash behind the scenes)
19:01:31raptornanovg uses stb_image: "image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC"
19:05:12raptorthere 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:14raptorI think we should keep SDL, though
19:09:34raptoroh wait, here is an SDL port: https://github.com/dalerank/nanogui-sdl
19:10:11raptorah, and it uses c++11
19:10:37raptorhmm.. maybe it's time to just burn it all down and use newer technologies everywhere
19:12:11raptori guess nanovg isn't a full gui toolkit, but nanogui-sdl is
19:23:58watusimotonanonvg looks like a good way to make our code a bit cleaner
19:24:57watusimotonanogui-sdl looks pretty... it uses C++11 though
19:25:57watusimotoif 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:31raptoryes, so I think it should stay SDL2
19:26:38watusimotothe editor is the biggest place I could see benefiting from an improved UI
19:26:38raptoror something that hooks into it
19:27:21watusimotoespecially as the editor UI does not need to be navagable by a joystick
19:28:24raptorhaha
19:33:37watusimotothere's always qt
19:49:47raptorbut qt -> browser isn't so straightforward, I think
20:00:07raptorah, you're probably joking.. I should stop taking things s oliterally
20:03:08watusimotoactually I wasn't, but probably should have been :-(
20:39:34Nothing_Much has joined
20:39:57Nothing_Much Quit (Remote host closed the connection)
21:40:05raptorwell, i compiled the nanovg examples - runs pretty good, does lots of pretty moving things
22:00:11raptorhere is a video of the demo: https://www.et.byu.edu/~buckd/screenie.mp4
22:15:52watusimoto Quit (Quit: Leaving.)

Index Search ←Prev date Next date→

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