GithubHelp home page GithubHelp logo

yazici / glut-object-oriented-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paulsolt/glut-object-oriented-framework

0.0 2.0 0.0 34 KB

A bare bones animation framework built around GLUT to ease graphics development projects.

License: MIT License

CMake 1.10% C++ 91.73% Roff 7.17%

glut-object-oriented-framework's Introduction

GLUT Object Oriented Framework Copyright 2010 � Paul Solt Update Date: 8/22/10 Release 1.0.0

Overview:

The GLUT Object Oriented Framework is a set of classes that wrap around the GLUT C-style function calls to create an animation framework. It provides a simple object oriented wrapper that has virtual methods to override default behavior. Four lines of code within a main function can be used to get a graphics window that draws an animated teapot.

Teapot Demo:
------------
// main.cpp
#include "GlutFramework.h"
using namespace glutFramework;
int main(int argc, char *argv[]) {
	GlutFramework framework;
	framework.startFramework(argc, argv);
    return 0;
}

Subclass Example:
-----------------
MySubClassOfGlutFramework framework;
framework.startFramework();

Cross-platform Support:

  1. Xcode 3.1 project that builds against Mac OSX 10.5 a. New projects must add GLUT and OpenGL frameworks
  2. Visual Studio 2010 project for Windows .NET 2.0 a. GLUT must be installed and setup http://www.xmission.com/~nate/glut.html b. Setup GLUT via: http://www.cs.uiowa.edu/~cwyman/classes/common/howto/winGLUT.html
  3. Project that builds for Linux a. Must install cmake b. Create a folder, can have any name c. Go inside the folder, run cmake ... After cmake created the Makefile, run make

Animation Framework:

PerformanceTimer is a cross-platform high performance timer that can be used in Windows, Mac, and Unix to get very accurate time deltas. Time deltas are used to create a stable framerate for animation.

glut-object-oriented-framework's People

Contributors

paulsolt avatar johnfercher avatar

Watchers

Baris avatar James Cloos avatar

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.