home.social

#glfw — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #glfw, aggregated by home.social.

fetched live
  1. And another one new! 📰

    I've rename "Dima stand 🧍‍♂️" on "Dima wants crisps 🍟".

    And now this means that Dima now hasn't a plan to stands only 🙂. He also want now to walk, jump, and do more actions! 😎

    The repository now available by this new link 👉 codeberg.org/xolatgames/Dima-w

    #game #games #3d #3dgame #blender #opengl #glfw #cmake #cpp #cplusplus #opensource #gamedev #platformer #blender3d #codeberg #gimp #gimp3 #assimp #bullet3 #3dplatformer

  2. Hi folks! ✌️

    Here's a little update of my game about Dima who doesn't just stand now, but also can jumps and walks 🏃‍♂️

    👉 fediverse.tv/w/vuGvDwkhYvLgSWP

    In this update I've remove that "dumb" background, and change it on a normal one.

    And also I've fix the hairs of Dima 💇‍♂️

    #opengl #cpp #cplusplus #cmake #codelite #glfw #glfw3 #opengl3 #3d #3dgame #platformer #gamedev #PlatformerGame #gimp #gimp3 #blender #blender3d #codeberg #opensource #game #games #3dplatformer #assimp #bullet3 #miniaudio #devlog

  3. Hello everyone again! 👋✌️

    Here's an update of Dima who now can don't just stands, but also walks 🏃‍♂️‍➡️ and jumps!

    fediverse.tv/w/3qhzVPf4Cw4fxkY

    The link to download it you can find in the video description, as always 😉

    Stays awesomes, and I wish ya a good day! 🙂

    #opengl #opengl3 #cmake #cmake3 #codelite #glfw #glfw3 #3d #3dgame #blender #blender3d #game #games #gamedev #platformer #PlatformerGame #codeberg #opensource #assimp #bullet3 #3dplatformer #cpp #cplusplus #gimp #gimp3 #linux

  4. OpenGL в PHP не привлекая внимания санитаров: OpenGL Расширения

    В предыдущей статье мы подключали OpenGL. Но подключали его без уважения… Давайте сделаем это как надо! А ещё признаем неприятный факт: мы тратим непозволительно много времени на бойлерплейт. Подключаем функции, прописываем константы, копируем typedef’ы и в целом занимаемся тем, что хочется автоматизировать уже на второй минуте. Давайте разбираться, как с этим жить.

    habr.com/ru/articles/1017524/

    #php #opengl #glfw #никтонечитаеттеги

  5. OpenGL в PHP не привлекая внимания санитаров: Привет, OpenGL

    В предыдущей статье мы открыли окно. Теперь давайте его не просто игнорировать. Как на счёт вкорячить в него поддержку OpenGL?

    habr.com/ru/articles/1012786/

    #php #opengl #glfw #никтоведьнечитаеттеги

  6. OpenGL в PHP не привлекая внимания санитаров: Hello Window

    Это ведь когда-то должно было произойти... В мире уже есть примерно бесконечное количество туториалов формата "OpenGL Tutorial" (( раз , двас )). Возникает логичный вопрос: Зачем ещё один? Ответ: Чтобы наконец перевести их! Так что я просто их решил перевести с С/С++ на PHP. А вы что подумали? Я с английского их переводить собрался?

    habr.com/ru/articles/1012346/

    #php #glfw #sdl #opengl #никтонечитаеттеги

  7. Wayland's "you can only swap when we say" strikes again (on some compositors):
    github.com/glfw/glfw/issues/28

    We will probably have to code a workaround. The workaround will not be what the Wayland compositors want this to achieve, but will instead waste more system resources as well as peoples time.

    I would be *extremely* pro this option if it was opt-in to only swap if visible.

    #GLFW #Wayland #CrossPlatform

  8. Spent some time today looking at another Wayland event issue in GLFW I can't replicate:
    github.com/glfw/glfw/issues/27

    Do note that the linked code in that issue is *really* rough.

    It appears that an event is being read from the file descriptor to a queue but not dispatched to the event handlers. This appears not to be in GLFW code, but potentially driver code for eglSwapBuffers.

    #GLFW #Wayland #OpenSource

  9. Draft PR for GLFW:

    glfwWaitEvents (and glfwWaitEventsTimeout) which only return if GLFW events are encountered (or timeout).

    This resolves issues with these functions returning early when they shouldn't. I use these to implement Avoyd's power saving for example.

    Since my Mac died I've not yet implemented the Cocoa backend, but will likely rent some remote desktop time at some point to add this. Cross platform open source can get expensive!

    github.com/glfw/glfw/pull/2792

    #GLFW #Wayland #Win32

  10. :mac: 🤘🏻🔻

    #Metal :metal: + #glfw with #cpp code only.
    Had to avoid #objc because my custom build system can't deal with that yet (and I didn't feel like changing that).

    What a pain to get it to compile.

    BUT

    It's using the exact same shader as my #Vulkan :vulkan: #HelloTriangle thanks to #Slang ❤️

    AND

    ```
    $ wc -l src/main.cpp src/shaders/hello_triangle.slang
    134 src/main.cpp
    40 src/shaders/hello_triangle.slang
    164 total 
    ```

  11. If anyone is using GLFW on Windows with raw mouse motion you might want to test a PR branch we're considering merging. It adds buffered raw mouse reading, which can lower the event loop timing considerably when used with high poll rate mice:

    github.com/dougbinks/glfw/tree

    I'd like to get a bit more testing on this before I merge, any help appreciated. Original PR: github.com/glfw/glfw/pull/2750

    #GLFW #Win32 #OpenSource

  12. I recently had time to update the old demo for Runtime Compiled C++, moving it from GLFW2 to GLFW3 along with fixing some warnings:
    github.com/RuntimeCompiledCPlu

    I also updated our newer demos:
    RCC++ with GLFW and Dear ImGui:
    github.com/enkisoftware/RCCpp-

    and RCC++ with DX11 and Dear ImGui:
    github.com/dougbinks/RCCpp_DX1

    #Cpp #RuntimeCompiled #LiveCoding #OpenSource #GLFW

  13. I recently made a mistake in which I accidentally pushed a tag from a repository fork of GLFW used in a PR I was investigating.

    The GLFW tag 3.5.0 has since been deleted, but in the meantime it looks like some distros have pulled the update. We are working to correct that.

    For more information see the issue: github.com/glfw/glfw/issues/27

    #GLFW #GLFW3

  14. That's interesting. A window using assembly with GLFW :)

    I'm surprised how few lines it needs to do that. Fit on one screen.

    Binary is 1546 bytes

    I'm back to my bare-metal OS for now but... I will do some tests and perhaps port my (waiting for finishing) game to 64bit and modern systems :) Would be a perfect learning opportunity for 64bit assembly!

  15. Released emscripten-glfw 3.4.0.20250209:

    * Added support for touch (mobile)
    * Added support for wasm64 (-sMEMORY64 Emscripten option)

    github.com/pongasoft/emscripte

  16. Implemented custom cursors (glfwCreateCursor) in emscripten-glfw v3.4.0.20241004 github.com/pongasoft/emscripte

  17. I know it is silly to be excited about a scrollbar, but my latest emscripten-glfw release actually fixes the "scrollbar stops to work when outside the browser" issue :) github.com/pongasoft/emscripte

    @ocornut

  18. Decided to do the learn OpenGL tutorial in Common Lisp and was kind of set back by the GLFW bindings there are. GLFW is just something I am more familiar with so I chose GLFW despite SDL bindings being better supported in Common Lisp.

    There were 2 GLFW bindings and one of them, the more recent one, crashed with the glfwMakeCurrentContext call and shut down the REPL🙄

    Many of the OpenGL tutorials that exist for common lisp also use the deprecated fixed pipeline.

    Anyways, it took longer than I intended for a triangle, but here it is!

    gist.github.com/somecho/7d19aa

    #opengl #glfw #commonlisp #cl #graphicsprogrammin

  19. Is this AI generated, or someone thinks middleware aimed for game development is the same as a game engine?

    Regardless, can someone help me in finding some kind of #opensource middleware similar to #raylib, #sdl, #sfml, and #glfw? I can't find anything else, especially thanks to #seo and/or people not understanding the difference between engine and middleware. All I need is a fixed buffer audio stream (worst case scenario, I'll use my own that I started writing for my own middleware I can't finish due to lack of time), input handling, and creating an OpenGL window. I don't have enough time to tinker with my own middleware and/or directly hooking into the OS (thanks to SEO, a lot of the search results are also garbage for stuff like rawinput).

    #gamedev

  20. My WebGPU Shader toy is progressing quite nicely...

    * Load external shaders
    * Drag and drop
    * Show Inputs value live
    * Show errors
    * Store current window sizes (local storage)

    youtu.be/Y3PYwwD_cBQ

  21. A much better screenshot with a much better font for Hi Res rendering...