#rust-gamedev

/

      • actual has quit
      • bowlich has quit
      • rschulman
        Oh, it actually looks like it may be a "core version" problem.
      • glxinfo is showing `OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.1.8` as well
      • harrisonclarke joined the channel
      • Jesin has quit
      • adantj has quit
      • richardp_ has quit
      • porky11 joined the channel
      • Norachro__ has quit
      • DevOrc joined the channel
      • mhack has quit
      • SiegeLord joined the channel
      • recondite has quit
      • madmalik has quit
      • Jesin joined the channel
      • Soni has quit
      • DevOrc has quit
      • Soni joined the channel
      • Has anyone seen OpenGL on linux error with "Couldn't find matching GLX visual" before?
      • That's what I'm getting when I try to run this game.
      • Kingsquee
        nope
      • rschulman
        Yeah, and off topic here. Sorry. I'll go ask in a linux channel.
      • Kingsquee
        rschulman, not to sound like a dick, but that seems googlable
      • rschulman
        it is spectacularly ungoogleable, I've been trying for about 3 hours.
      • Kingsquee
      • ytain has quit
      • porky11 has quit
      • if you suspect whatever game you're running should be hardware accelerated rather than software, then that solution is probably not desired
      • rschulman
        I mean, there are definitely results in a google search, but nothing that seems to have a solution.
      • Yes, its a 3d game.
      • harrisonclarke has quit
      • I have the most recent version of Mesa, and my card reports OpenGL 4.5
      • cp joined the channel
      • Who knows.
      • Kingsquee
      • so in these cases it sounds like the symlinks to the graphics drivers weren't set up properly for some reason and reinstalling them fixes it maybe
      • you could check the symlink they mention in that issue thread
      • Icefoz
        rschulman: What are you using to get the opengl context.
      • If it's SDL you need to set a couple flags to tell it what version of OpenGL to ask for.
      • Otherwise I think it asks for "2.1 or whatever sucks most"
      • rschulman
        Oh, its not me, its just a game I'm trying to get running.
      • Icefoz
        Aw.
      • rschulman
        Transport Fever.
      • kimundi has quit
      • Qu4ntum joined the channel
      • Qu4ntum
        Anyone much far in developing a game in Rust atm?
      • Icefoz
        Qu4ntum: A couple people.
      • kimundi joined the channel
      • Qu4ntum
        Alright. Well, I'm interested in doing some 3d OpenGL stuff. gfx-rs seemed like the best bet but I see little info on how to use it and it appears to be having major changes with the core
      • oh, I found docs
      • Icefoz
        Qu4ntum: Your bets are three-rs, glium, and gfx-rs roughly in order of increasing complexity.
      • For windowing you probably want to use glutin, though if you want sdl2 there's a decent crate for it.
      • lpg
        if by "OpenGL stuff" you mean "3D graphics in general" you can extend the list with vulkano
      • Icefoz: what's the scope of ggez?
      • LOVE 0.11.0 has depth buffers and so doing 3D in it is actually reasonable
      • Icefoz
        lpg: Well LOVE is a bit of a moving target.
      • lpg
        well, independently of love, what's the scope of ggez?
      • Icefoz
        Providing fundamental tools for making 2D games without dictating policy too much.
      • So, less than a full game engine, more than SDL.
      • There's a certain amount of 3D stuff that is creeping in just 'cause it's cool that it's possible, but that will always be pretty much roll-your-own.
      • lpg: If you have more specific questions I'd be happy to go in more depth.
      • adantj joined the channel
      • meh has quit
      • adantj has quit
      • TechnoCrunch joined the channel
      • belst has quit
      • belst joined the channel
      • SiegeLord has quit
      • SiegeLord joined the channel
      • projektir joined the channel
      • Noldorin has quit
      • refD
        What are the most popular ECSs? specs/ecs, any others I shouldn't miss (especially ones that are significantly different)?
      • Mako
        Well, there's froggy
      • Which is a different thing
      • But in terms of ECS frameworks
      • I honestly can't think of something that's even second place after specs
      • refD
        I'm mainly just looking for approaches to dynamicism/composition in Rust more than an end product.
      • thanks, will check froggy
      • Mako
      • This project compares lots of stuff
      • refD
        Ahh perfect, I'd forgotten about that, cheers.
      • deedasmi has quit
      • Icefoz
        I like calx-ecs
      • refD
        What do you like about it?
      • Icefoz
        I can read it and understand basically all of it in about 30 minutes.
      • lpg
        alternatively, you can just jam a bunch of hashmaps into a struct until you fully explore the pain space of that approach
      • refD
        Ahahah. I'm traditionally anti-ECS for that reason, but .... I can't express what I'm trying to do in a traditionally typesafe fashion.
      • Houm has quit
      • TechnoCrunch
        Thinkofname, nice blog blog update
      • ... didn't mean to double blog lol
      • lpg
        ooh, a Rust/Lua game?
      • Mraof
        Hmm?
      • adantj joined the channel
      • lpg
      • Mraof
        Oh, okay
      • belst has quit
      • belst joined the channel
      • I'm planning on using lua for parts of my own game
      • AI at least
      • adantj has quit
      • lpg
        I'm hoping to get my compile times down enough and hotload Rust, which is a bit loftier
      • Binding APIs to Lua is still kind of annoying
      • pepper_chico has quit
      • Icefoz
        Anyone used hlua?
      • Or has another lua crate gained dominance?
      • Mraof
        I'm using rlua myself
      • hlua's definitely more popular, though
      • Mako
        lpg: Hotloading Rust sounds like a great idea and I've wasted a lot of time lately trying to figure out how to pull it off
      • Mraof
        I'm mainly using rlua because it's for lua 5.3
      • Icefoz
        I think the spectra crate hotloads Rust code.