K3dEngine - OpenGL Game Engine

0.2.0.0

K3dEngine documentation

K3dEngine is open source game engine for creating Linux and Win32 games. Graphics engine running in OpenGL..

Download planning version of K3dEngine

Latest sources of K3dEngine you can checkout from subversion.
"svn co https://svn.sourceforge.net/svnroot/kengine/trunk/K3dEngine_1_0 K3dEngine"

Sources, Linux or Win32 binaries you can download from
http://sourceforge.net/project/showfiles.php?group_id=53037&package_id=211020

Features of K3dEngine 0.2.0.0 release date 07-08-07

Create and using keyboard key mapping.
Load config files by Lua.
Descent, first person or camera moving.
Draw arbitrary text.
Draw actual FPS.
Draw 2d images.
Draw simple 3d box.
Backface culling.
Lighting.
Editor in Qt 4.1
Imported Lua script language
Imported guichan gui interface
Triangulation algorithm triangulate vertices to the convex polyhedron

K3dEngine on sourceforge.net

K3dEngine project is on sourceforge.net
http://sourceforge.net/projects/kengine/

Script documentation

Script documentation

Tutorials

http://kengine.sourceforge.net/tutorial/
Calling Lua script from game engine.
Calling game engine function from Lua script
Ray sphere intersection test
Static and non-static functions
Descent, first person and spectate kamera.
Keyboard key mapping.
std::map
Load config files by Lua.
Importing Lua programming language
Execute bash commands and running programs by c++



Getting started K3dEngine on Linux

User installation

From binaries package

Install rpm package K3dEngine-0.2.0.0-1.i586.rpm
and run
K3dApp

From sources

Unpack K3dEngine-0.2.0.0.tar.bz2
and type commands:
./configure
make
su
make install

Uninstallation

su
make uninstall

Start K3dApp

"$(K3DENGINE)/bin/"
"./K3dApp"

For developers

Latest sources of K3dEngine you can checkout from subversion.
"svn co https://svn.sourceforge.net/svnroot/kengine/trunk/K3dEngine_1_0 K3dEngine"

Library paths

A library libK3dEngine for developers generated in /lib/
If I want using this library I must delete libK3dEngine from /usr/lib/ and set developer library in "/etc/profile.local". For example:

"LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/kwan/work/kengine/trunk/K3dEngine_1_0/lib"
"export LD_LIBRARY_PATH"
"LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/kwan/work/kengine/branches/k3dengine-0-0-5-branch/K3dEngine_1_0/lib"
"export LD_LIBRARY_PATH"

Compiling project


"make CONFIG=debug"    [build debug version]
"make CONFIG=release"    [build release version]
"make clean CONFIG=debug"     [remove debug object and library files]
"make clean CONFIG=release"    [remove release object and library files]

Debugger KDbg

In debugger program KDbg you can set in
"Execution->Arguments"
Run K3dApp with these arguments:
"/home/yourname/yourworkingpath/K3dEngine_1_0/bin/K3dApp"
Working directory: "/home/yourname/yourworkingpath/K3dEngine_1_0/bin"

Package dependencies

K3dEngine using follows libraries:

lua-5.1.1
http://www.lua.org/
Set in file "/etc/profile.local" default library path /usr/local/lib:
"LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib"
"export LD_LIBRARY_PATH"

SDL-1.2.12
http://www.libsdl.org/index.php

SDL_image-1.2.5
http://www.libsdl.org/projects/SDL_image/

guichan-0.7.1
http://guichan.sourceforge.net

Qt 4.2
http://www.trolltech.com/products/qt


You can try using my openSUSE 10.2 rmp packages
http://kengine.sourceforge.net/tutorial/download/rpm



Getting started K3dEngine on Win32

User installation

Unpack K3dEngine-0-1-1-0_win32_bin.zip
and run
K3dApp.exe

For developers

I writing and compiling project in Dev-C++ 4.9.9.2
http://www.bloodshed.net/devcpp.html
Project file is
"$(K3DENGINE)/src/K3dApp/K3dApp.dev"

Include files

Copy SDL-devel include files from package
http://libsdl.org/release/SDL-devel-1.2.11-mingw32.tar.gz
to the Dev-C++ '/include/SDL/' directory

Copy SDL-image include file SDL_image.h from package
http://libsdl.org/projects/SDL_image/release/SDL_image-devel-1.2.5-VC6.zip
to the Dev-C++ '/include/SDL/' directory

Copy Lua 5.0.2 mingw include files from package
http://luaforge.net/frs/download.php/795/lua5_0r2_mingw3.tar.gz
to the Dev-C++ /include/ directory


Generated on Thu Aug 16 23:53:25 2007 for K3dEngine by  doxygen 1.5.0