All Projects → ArthurSonzogni → Opengl_cmake_skeleton

ArthurSonzogni / Opengl_cmake_skeleton

Licence: mit
❤️ A ready to use cmake skeleton using GLFW, Glew and glm. 👍

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Opengl cmake skeleton

Magnum
Lightweight and modular C++11 graphics middleware for games and data visualization
Stars: ✭ 3,728 (+3059.32%)
Mutual labels:  cmake, emscripten, opengl, glfw, webassembly
Magnum Examples
Examples for the Magnum C++11/C++14 graphics engine
Stars: ✭ 180 (+52.54%)
Mutual labels:  cmake, emscripten, opengl, webassembly
Magnum Bootstrap
Bootstrap projects for Magnum C++11/C++14 graphics engine
Stars: ✭ 69 (-41.53%)
Mutual labels:  cmake, emscripten, opengl, webassembly
Imguizmo.quat
ImGui GIZMO widget - 3D object manipulator / orientator
Stars: ✭ 187 (+58.47%)
Mutual labels:  cmake, emscripten, opengl, webassembly
Magnum Plugins
Plugins for the Magnum C++11/C++14 graphics engine
Stars: ✭ 66 (-44.07%)
Mutual labels:  cmake, emscripten, opengl, webassembly
Webassembly Examples
From Simple To Complex. A complete collection of webassembly examples.
Stars: ✭ 177 (+50%)
Mutual labels:  emscripten, example, webassembly
Assortedwidgets
OpenGL GUI library
Stars: ✭ 92 (-22.03%)
Mutual labels:  emscripten, opengl, webassembly
Crosswindow
💻📱 A cross platform system abstraction library written in C++ for managing windows and performing OS tasks.
Stars: ✭ 155 (+31.36%)
Mutual labels:  cmake, emscripten, webassembly
Modern Wasm Starter
🛸 Run C++ code on web and create blazingly fast websites! A starter template to easily create WebAssembly packages using type-safe C++ bindings with automatic TypeScript declarations.
Stars: ✭ 140 (+18.64%)
Mutual labels:  cmake, emscripten, webassembly
Engine
A basic cross-platform 3D game engine
Stars: ✭ 208 (+76.27%)
Mutual labels:  cmake, emscripten, opengl
Dcmjs
dcmjs is a javascript cross-compile of dcmtk (dcmtk.org).
Stars: ✭ 92 (-22.03%)
Mutual labels:  cmake, emscripten, webassembly
Glchaos.p
3D GPUs Strange Attractors and Hypercomplex Fractals explorer - up to 256 Million particles in RealTime
Stars: ✭ 590 (+400%)
Mutual labels:  emscripten, opengl, webassembly
Ansible Skeleton
The skeleton to create new ansible roles.
Stars: ✭ 5 (-95.76%)
Mutual labels:  example, skeleton, template
Rabbittoolbox
🤸🏾‍♀️👗开源的动画渲染软件,提倡以简单、易用,高质量的物理演算以及渲染质量和性能,为喜爱二次元动画的用户降低视频制作门槛
Stars: ✭ 309 (+161.86%)
Mutual labels:  emscripten, opengl, glfw
Expo Three Demo
🍎👩‍🏫 Collection of Demos for THREE.js in Expo!
Stars: ✭ 76 (-35.59%)
Mutual labels:  opengl, example, template
Bgfx
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Stars: ✭ 10,252 (+8588.14%)
Mutual labels:  opengl, glfw
Wasmer
🚀 The leading WebAssembly Runtime supporting WASI and Emscripten
Stars: ✭ 11,047 (+9261.86%)
Mutual labels:  emscripten, webassembly
Kinectazuredkprogramming
Samples about Kinect Azure DK programming
Stars: ✭ 92 (-22.03%)
Mutual labels:  cmake, glfw
Glfw.jl
Julia interface to GLFW, a multi-platform library for creating windows with OpenGL contexts and managing input and events.
Stars: ✭ 82 (-30.51%)
Mutual labels:  opengl, glfw
Emscripten Docker
Docker image with Emscripten to compile ASM.js and WebAssembly
Stars: ✭ 92 (-22.03%)
Mutual labels:  emscripten, webassembly

OpenGL CMake Skeleton Build Status

A ready to use C++11 CMake OpenGL skeleton using GLFW, Glew and glm. (use git submodules)

It compiles on:

  • WebAssembly (on branch webassembly. See instruction below)
  • Linux
  • Windows
  • Mac

It can compile for the Web with WebAssembly thanks to emscripten, as well as on Linux, Windows and Mac.

Shader class and example Application are included.

output result

I am open to any comments and contributions.

Clone (With submodules):

git clone --recursive [email protected]:ArthurSonzogni/OpenGL_CMake_Skeleton.git

Alternatively, if you don't used the --recursive option, you can type:

git submodule init
git submodule update

usage (WebAssembly) :

Switch to the webassembly branch

git checkout webassembly

Install emscripten, then

mkdir build_emscripten
cd build_emscripten
CC=emcc CXX=em++ cmake ..
make
python -m SimpleHTTPServer 8000

Now, visit http://localhost:8000

usage (Linux) :

Some standard library to install:

sudo apt-get install cmake libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev

Open the directory into a terminal
```bash
mkdir build
cd build
cmake ..
./main

usage (Windows) :

For instance :

  • cmake-gui .
  • Configure (Choose for example Visual Studio generator)
  • Generate Launch the generated project in your favorite IDE and run it.
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].