Code Monkey home page Code Monkey logo

Comments (6)

smcameron avatar smcameron commented on May 19, 2024

Bear in mind, this is the first time I've ever touched any opengl stuff, so I'm not familiar with what opengles even is... quick googling makes me think it's a subset of opengl.

I am using gtk for all the mouse/keyboard events and for windowing stuff, and for the main game loop, so, without some considerable work, I'm stuck with gtk. For opengl, I'm using gtkglext, which allows using opengl on a GdkDrawable. It's not clear there's any other reasonable way to combine gtk and opengl. It's also not clear to me whether or not gtkglext supports opengles, or whether it requires full opengl. To some extent, it is what it is. What's driving me down this road is performance problems with the software renderer. So... does it work right now for you on raspberry pi?

-- steve

from space-nerds-in-space.

smcameron avatar smcameron commented on May 19, 2024

This thread is not encouraging... :(

https://mail.gnome.org/archives/gtkglext-list/2012-June/msg00002.html

shit And I was hoping this change would make it work better on raspberry pi, not make it quit working altogether.

-- steve

from space-nerds-in-space.

smcameron avatar smcameron commented on May 19, 2024

An idea....

It occurs to me that the "Main Screen" is really the only one that needs the opengl accelleration. I could potentially change the code to allow building a limited client which supports all the screens except "Main Screen" and do not require opengl. That way, the Rasp. Pi could at least be used for all those screens, though you'd still need a system with OpenGL support for the main screen.

So instead of "snis_client" and "snis_server", you'd have "snis_client", "snis_limited_client", and "snis_server". Better than nothing. I'll try to get that working.

from space-nerds-in-space.

kwadroke avatar kwadroke commented on May 19, 2024

a Limited client could work. Although I'd still like an all Raspberry Pi setup.

from space-nerds-in-space.

smcameron avatar smcameron commented on May 19, 2024

Ok, just pushed up a change that makes a limited no-opengl client. Let me know if you encounter any issues with it.

from space-nerds-in-space.

smcameron avatar smcameron commented on May 19, 2024

Ok, for now, the limited client has main screen support too. However, this will likely cease to be the case at some point as I make the opengl 3d rendering code better.

For now I'm going to close this issue. Feel free to re-open it when it breaks at some point in the future - which is pretty likely. I will try to make sure the other screens besides the main screen continue to work without opengl though.

from space-nerds-in-space.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.