All Projects → vaiorabbit → ruby-imgui

vaiorabbit / ruby-imgui

Licence: other
Yet another ImGui wrapper for Ruby

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to ruby-imgui

imgui-java
JNI based binding for Dear ImGui
Stars: ✭ 270 (+542.86%)
Mutual labels:  glfw, imgui
odin-imgui
Odin binding for Dear ImGui
Stars: ✭ 37 (-11.9%)
Mutual labels:  imgui, cimgui
Desktopsharing
桌面共享, 支持RTSP转发, RTSP推流, RTMP推流。
Stars: ✭ 337 (+702.38%)
Mutual labels:  sdl2, imgui
Vxr
General purpose engine written in C++ with emphasis on materials rendering (PBR, clear coat, anisotropy, iridescence)
Stars: ✭ 181 (+330.95%)
Mutual labels:  glfw, imgui
ParsecSoda
Parsec Soda is a custom open-source game streaming app that integrates with Parsec API and is focused in Host experience.
Stars: ✭ 135 (+221.43%)
Mutual labels:  sdl2, imgui
Nimgl
NimGL is a Nim library that offers bindings for popular libraries used in computer graphics
Stars: ✭ 218 (+419.05%)
Mutual labels:  glfw, imgui
Flextgl
OpenGL and Vulkan header and loader generator.
Stars: ✭ 180 (+328.57%)
Mutual labels:  sdl2, glfw
Imgui sdl
ImGuiSDL: SDL2 based renderer for Dear ImGui
Stars: ✭ 134 (+219.05%)
Mutual labels:  sdl2, imgui
virtualGizmo3D
Virtual GIZMO - 3D object manipulator / orientator, via mouse, with pan and dolly/zoom features
Stars: ✭ 36 (-14.29%)
Mutual labels:  sdl2, glfw
imgui-beef
Dear ImGui wrapper for the Beef Programming Language
Stars: ✭ 20 (-52.38%)
Mutual labels:  imgui, imgui-wrapper
Webgui
An example demo of IMGUI (Immediate Mode GUI) on the web. Using only WebGL, GLFW and ImGui. Suitable for being compiled to web assembly (WASM).
Stars: ✭ 180 (+328.57%)
Mutual labels:  glfw, imgui
tnt
A 2d Game Engine written in C++20.
Stars: ✭ 30 (-28.57%)
Mutual labels:  sdl2, imgui
Bimpy
imgui for python
Stars: ✭ 144 (+242.86%)
Mutual labels:  glfw, imgui
FallingSandSurvival
2D survival game inspired by Noita and slightly Terraria
Stars: ✭ 66 (+57.14%)
Mutual labels:  sdl2, imgui
bigger
bigg (bgfx + imgui + glfw + glm) + utils
Stars: ✭ 101 (+140.48%)
Mutual labels:  glfw, imgui
imgui
ImGui bindings for Nim via cimgui
Stars: ✭ 117 (+178.57%)
Mutual labels:  imgui, cimgui
RCCpp-DearImGui-GLFW-example
Add Runtime Compiled C++ to the Dear ImGui example using the GLFW and OpenGL backend - with power saving
Stars: ✭ 61 (+45.24%)
Mutual labels:  glfw, imgui
surface splatting
OpenGL demo of a point rendering and texture filtering technique called Surface Splatting.
Stars: ✭ 125 (+197.62%)
Mutual labels:  sdl2, imgui
sdl12-compat
An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes.
Stars: ✭ 99 (+135.71%)
Mutual labels:  sdl2
combatris
A "perfect" implementation of an old classic
Stars: ✭ 20 (-52.38%)
Mutual labels:  sdl2

Yet another ImGui wrapper for Ruby

  • Created : 2019-01-05
  • Last modified : 2022-02-12

[Notice] This project is experimental.

Prerequisites

  • Ruby interpreter
    • Tested on:
      • [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
        • ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
        • ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x64-mingw32]
        • ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x64-mingw32]
      • [macOS]
        • ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
        • ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
        • ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [arm64-darwin20]
        • ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin20]
        • ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]
        • ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin18]
  • Ruby Gems
    • opengl-bindings
      • gem install opengl-bindings
    • ffi
      • gem install ffi
  • Compiler
    • Tested on:
      • [Windows] gcc (Rev1, Built by MSYS2 project) 8.2.1 20181214
      • [macOS] clang (Apple clang version 12.0.5 (clang-1205.0.22.11), Target: arm64-apple-darwin20.6.0)
  • CMake https://cmake.org/download/

Setting up and run sample

  1. Update cimgui submodule
    • For the first time:
      • git submodule update --init --recursive
    • Update:
      • cd cimgui
      • git pull origin master <- to get latest cimgui
      • git submodule update <- to get specific revision of imgui required by cimgui
  2. Get GLFW or SDL2
    • GLFW : Use glfw_build.bat (Windows) or glfw_build.sh (macOS)
  3. Build imgui library
    • Use imgui_dll_build.sh (macOS)
    • Use imgui_dll_build.bat (Windows)
      • e.g.)
        • ridk enable <- Activates msys2 GCC

        • imgui_dll_build.bat "D:\Program Files\CMake\bin\cmake.exe" <- You can give absolute path to cmake.exe as the 1st argument

  4. Run test.rb
    • cd sample/
    • ruby test_glfw_opengl2.rb (GLFW)
    • ruby test_sld2_opengl2.rb (SDL2)

License

'imgui.dylib', 'imgui.dll' and 'imgui_debug.dll' are built on top of these products and are available under the terms of the MIT License.

All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).

Ruby-Imgui : Yet another ImGui wrapper for Ruby Copyright (c) 2019-2022 vaiorabbit http://twitter.com/vaiorabbit

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.

3. This notice may not be removed or altered from any source
distribution.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].