Coder Social home page Coder Social logo

computer-graphics's Introduction

Computer graphics

Code from computer graphics course I've taken during my university studies. It includes basic opengl commands, image processing using convolutional filters, drawing bezier curves and my final project - game with physics, rigid bodies and collision detection.

Code was written in C++ using OpenGL/GLM and GLUT libraries.

For more information checkout README files of each subproject.

Build and run

Instructions on how to build and run each repository can be found in each folder.

Preview project using Docker

You can also preview the project using Docker:

# Change directory to the root of the project

cd Computer-Graphics

# Build docker image
docker build -t cg/preview:0.1.0 .

# Run docker image
docker run --rm -d -p 6080:80 -p 5900:5900 -e RESOLUTION=1920x1080 cg/preview:0.1.0

# Stop docker iamges
docker stop <container_id>

When docker is running, you can interact with Ubuntu and run projects using browser on localhost:6080 or through VNC software on localhost:5900. All projects are pre-built on Desktop.

Bounce unlimited

3D Platform game Bounce Unlimited ๐Ÿ’ฏ

Currently there is segmentation fault issue in this project and I did not have time to fix it. Though when built on mac without docker it works.

Image processing

Based on the Image of Chichen Itza pyramid program tries to reconstruct its 3D image.

Bezier curve

Draws bezier curve and redraws shape when new points are added or existing points moved. Uses Casteljau's algorithm.

Ball in cube & Fractals

Basic OpenGL drawing with camera movement and fractals drawn on the inner walls of cube.

computer-graphics's People

Contributors

michalgallovic avatar

Stargazers

 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.