Giter Club home page Giter Club logo

Comments (8)

Daandelange avatar Daandelange commented on August 16, 2024 3

A new update to this :)
Ping: @jvcleave , @prisonerjohn .

New Native OpenFrameworks Backend

I found a way to propose the legacy (jvcleave) implementation as an alternative. The main difference is that it uses imgui_impl_opengl2+3 instead of a custom renderer backend. This way, half the backend becomes indirectly maintained by ImGui, needing only to keep the platform backend up to date.

  • This brings back support for ofApps running on any platform (Tested: Mac, Windows, Linux, rpi, iOS simulator)

Native ImGui Backend Hacks

  • imgui_impl_opengl2 has been hacked to support GLES1, which OpenFrameworks still supports but not ImGui.
  • imgui_impl_glfw is hacked to support multiple imgui contexts (needed to support multi-window ofApps) (can be disabled).
  • Both hacks have an automatic update script (patch) and are documented for manually applying them.

Debug window

I'm working on a nice little debug window to help transition to the new ofxImGui
image

I hope to merge develop into master soon, what do you think ?
I have also added a note in master about develop. (a002b3a)

from ofximgui.

Daandelange avatar Daandelange commented on August 16, 2024 2

I just updated ImGui to 1.87 in develop, and there's some sweet news.
There were lots of changes on the official GLFW backend, notably io.BackendRendererUserData : maybe multi-ofAppWindows (example-multiwindows) will make it ! :D (this remains to be fixed for it and here)

Meanwhile, any feedback is still welcome.

from ofximgui.

Daandelange avatar Daandelange commented on August 16, 2024 1

Note: oF is getting updated to GLFW 3.3.7, which is gonna improve the GUI & simplify the setup. :)

from ofximgui.

moebiussurfing avatar moebiussurfing commented on August 16, 2024 1

cool! demo example compiled fine here using oF patch-release branch under Windows 10 / VS 2022. thanks for the update!

from ofximgui.

jvcleave avatar jvcleave commented on August 16, 2024 1

I don't think OF-VK is being developed any further. I would say remove it (at least for know) if it doesn't cause any issues

from ofximgui.

jvcleave avatar jvcleave commented on August 16, 2024

Nice! sounds good to me!

from ofximgui.

prisonerjohn avatar prisonerjohn commented on August 16, 2024

from ofximgui.

Daandelange avatar Daandelange commented on August 16, 2024

Ok, awesome :)
@prisonerjohn I saw your contributions to OF-VK/ofxImGui. Vulkan should not be hard to get running while it won't compile out of the box. What's the current OF-Vulkan state ? It seems to never have been merged into OF; is it still worth looking at of-vk + ofxImGui ?

from ofximgui.

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.