Skip to content

tevoran/T3Vtech-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T3Vtech-3

alt explosion_in_engine

T3Vtech-3 is a 3D game engine that offers a C API to be easily usable in C and C++.

A detailed description of the API can be found here

Features

Currently the engine has the following features:

-3D rendering
	- lighting with gouraud shading
		-point lights
		-ambient lighting
		-directional lights
	- OBJ model loading
	- textures from BMP, JPG, PNG
	- transformations
		-translations
		-scaling
		-rotation with quaternions
	- camera system
		-translation
		-rotation
		-setting field of view
-antialiasing
-input
	-mouse
	-keyboard
	-gamepads

Dependencies

T3Vtech-3 currently needs SDL2 and GLEW as a dependency. The other dependency that is used is used as a submodule.

Building

If you are trying to build the repository for the first time then you need the following git commands

git clone https://github.com/tevoran/T3Vtech-3.git
git submodule update --init --recursive

and to prepare the repository a build directory has to be created.

mkdir build
cd build

The final step is using cmake and on Linux make to build the engine.

cmake ..
make

Windows-specific Build Steps

Ensure that SDL2, SDL2_ttf and GLEW are on your system and that they are listed on your PATH. CMake should then be able to find these dependencies at build-time. At runtime there may be errors related to missing DLLs. Copy these into the folder where the executable is outputted to (likely build/Debug).