Giter Club home page Giter Club logo

3drotatingobjects-opengl's Introduction

Making 3D Objects with C++ and OpenGL

I have prepared 3D Models that can be rotating all around with keyboard commands. The models are:

  • Triangle
  • Cube
  • Rectangle
  • Circle

In this project, I have used C++ and OpenGL tools in Visual Studio 2019. This tools and important files are listed below:

  • OpenGL
  • glew-2.1.0
  • glfw-3.3.4 x64
  • freeglut.dll
  • glew32.dll

Demo

Alt Text

Requirements

GLEW-2.1.0

git clone https://github.com/nigels-com/glew.git glew
  • eglew.h
  • freeglut.h
  • freeglut_ext.h
  • freeglut_std.h
  • glew.h
  • glut.h
  • glxew.h
  • wglew.h GLWF
git clone https://github.com/glfw/glfw.git
  • glfw3.h
  • glw3native.h

Install and Running

Clone project and open 3D Objects.sln file with Visual Studio 2019.

NOTE: The project requires Visual Studio 2019 C++ packages. It should be installed before execute project. After, be ensure existing OpenGL files are precisely.

  git clone https://github.com/egemengulpinar/3DRotatingObjects-OpenGL.git

Running

There is not any missing library or tool. The project folder include all requirement file. Maybe different library version occure some problems, when that happened install the Requirements and copy the important files to project folder.

Execute main.cpp file in deneme/src folder.

Keyboard commands on the GUI ensure rotation ability on the 3D Models

  • With left-right-up-down arrow on the keyboard the 3D Models will be rotate.

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.