Catalog · How the catalog works
pogl
Pascal opengl render .obj files program
- ★ 2 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
POGL
POGL - Wavefront OBJ files render, written in Free Pascal using SDL2 lib and SDL2-for-Pascal repository.
Requirements
- Free Pascal Compiler
- GNU Make
- GCC
- SDL2
Pascal-units for SDL2 already in directory lib/SDL2-for-Pascal.
Building
From repo root run:
makeApplication will appear here:
bin/poglRunning
First argument is a path to OBJ file:
./bin/pogl ./obj/african_head.objControls
| Keys | Action |
|---|---|
Left Arrow / Right Arrow |
Turn around Y axis |
Up Arrow / Down Arrow |
Turn around X axis |
Page Up / Page Down |
Turn around Z axis |
W / A / S / D |
Move object |
+ / - |
Scale object |
Escape |
Close application |
You can keep pressed several buttons at the same time.
Project structure
src/ program main file & Makefile
lib/ OBJ parser, maths, graphics & SDL2-units
obj/ models example
bin/ results of building
