Skip to content

Kawatwist/Scop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot

Modeles by Yoru skins
https://sketchfab.com/3d-models/pentakill-jinx-league-of-legends-custom-skin-2a89df3515ea4c738795a40218c95b31
Render by Scop :



Modeles by vrchris
https://sketchfab.com/3d-models/de-dust2-cs-map-056008d59eb849a29c0ab6884c0c3d87
Render by Scop :


Resume

This is a 42's project
The objectif is to learn OpenGL
No parsing library is authorized, we need to used ours :
  • TgaReader : Parsing Texture
  • ObjReader : Parsing Obj modeles
  • MtlReader : Parsing Material (extension of ObjReader)

Installation

Need to install
  • brew install glfw
  • brew install glew
  • brew install pkg-config

Compillation

  • make (Compile sublibs and the binary)
  • make clean (Remove all object file)
  • make fclean (Remove object file and binary)

Compillation Error

If the program doesn't compile properly :
  • Clear the repository with make fclean
  • Be sure the framework is properly install

Usage

./scop [Path .Obj file] More parameters can be used to add some Obj on the scene
If no mtl file is defined the scop will use a basic texture

Input

Key : Mouvement :
[W] Camera : Forward
[S] Camera : Backward
[A] Camera : Left
[D] Camera : Right
[R] Object : Rotate
[P] Mode Polygon
[SPACE] Unlock the window grab cursor
[MOUSE] Camera : Direction

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages