Coder Social home page Coder Social logo

kvebers / humangl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zstenger93/humangl

0.0 0.0 0.0 143.63 MB

Hierarchical modeling with OpenGL using my own matrix stack and transformations for a skeletal animation 42_humangl

C++ 96.77% Makefile 3.23%

humangl's Introduction

๐Ÿ“– 42 HUMANGL

Supports resizing of body parts

Resize

Supports animations

Animation

READ ME FROM SCOP \>

Hierarchical modeling with OpenGL using my own matrix stack and transformations for a skeletal animation

Menu

Setup

How to use

Keys

Video

How it Looks

Setup

You need at least OpenGl 4

There is 5 include paths through the files where u need to change the username in case, you would like to run the program by yourself.

You will also need:

	- stb_image.h
	- GLFW
	- Specific GLAD headers based on OpenGL version
	- GLM
	- imgui

How to use

make human```

## Keys

I use basic GLFW functions to handle the key inputs so nothing special.

Handling keypress events as: Text rendering: 7: on/off to show details and keybindings Camera movement: W: move camera forward A: move camera left S: move camera backwards D: move camera right X: move camera down SPACE: move camera up 8: incrase camera movement speed 9: decrase camera movement speed Object Rotation: I: rotates the object left on X axis K: rotates the object right on X axis J: rotates the object left on Y axis L: rotates the object right on Y axis U: rotates the object left on Z axis O: rotates the object right on Z axis M: incrases the speed N: reduces the speed Polygon Mode: 1: wireframe 2: points 3: filled Switching beteewen texture and color: C: color mode 4: changing the value of R 5: changing the value of G 6: changing the value of B V: texture mode B: texture versions - texture - color - mixture between texture and color - light on T: changes the texture to the next Y: changes the texture to the previous Light: Z: lighting on to controll it's position: Q: LightPos.x -+ 0.25; E: LightPos.x ++ 0.25; R: LightPos.y -+ 0.25; F: LightPos.y ++ 0.25; G: LightPos.z -+ 0.25; H: LightPos.z ++ 0.25;


## Video



## How it Looks



## Text rendering

There are quite a few ways to do it. For this project I've found `imgui` the best and esier to use compared to other ones I've tried like `freetype`.

It's considerably faster to make it compile and work. Afterwards the how to use it is straight forward.

[Menu](#menu)

humangl's People

Contributors

kvebers avatar zstenger93 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.