Git Product home page Git Product logo

opengl_examples's People

Contributors

arash28134 avatar damdoy avatar juicy-llamas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

opengl_examples's Issues

Please support MSYS2 MINGW64

MSYS2 is using the pacman package manager of Arch Linux. Please add MSYS2 MINGW64 support to your build script. Thank you.

Compilation error for target ambient_occlusion

cd ambient_occlusion && mkdir build && cd build && cmake .. && make

causes an error

Consolidate compiler generated dependencies of target ambient_occlusion
[ 50%] Building CXX object CMakeFiles/ambient_occlusion.dir/main.cpp.o
/home/dmitrykolesnikovich/workspace/doy-opengl-examples/ambient_occlusion/main.cpp: In function ‘void init()’:
/home/dmitrykolesnikovich/workspace/doy-opengl-examples/ambient_occlusion/main.cpp:219:26: error: call of overloaded ‘init(const int&, const int&)’ is ambiguous
  219 |    depth_framebuffer.init(win_width, win_height);
      |    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/dmitrykolesnikovich/workspace/doy-opengl-examples/ambient_occlusion/main.cpp:28:
/home/dmitrykolesnikovich/workspace/doy-opengl-examples/ambient_occlusion/../common/depth_framebuffer.hpp:21:9: note: candidate: ‘void Depth_framebuffer::init(unsigned int, float)’
   21 |    void init(unsigned texture_size, float perspective = 3.1415f/1.6f){
      |         ^~~~
/home/dmitrykolesnikovich/workspace/doy-opengl-examples/ambient_occlusion/../common/depth_framebuffer.hpp:25:9: note: candidate: ‘void Depth_framebuffer::init(unsigned int, unsigned int, float)’
   25 |    void init(unsigned tex_width, unsigned tex_height, float perspective = 3.1415f/1.6f){
      |         ^~~~
make[2]: *** [CMakeFiles/ambient_occlusion.dir/build.make:76: CMakeFiles/ambient_occlusion.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/ambient_occlusion.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Visual Studio on Linux?

So as I understood from README you use Visual Studio on Linux? How do you actually run examples?

Flat terrain in terrain_camera example

I am wondering how we can change the Terrain class in order to have a simple flat terrain which is at the bottom of the scene so we can place objects on it?

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.