1698fc6f10 | ||
---|---|---|
cmake | ||
contrib | ||
data | ||
docs | ||
screenshots | ||
src | ||
tools | ||
.gitignore | ||
CMakeLists.txt | ||
Makefile | ||
README.md | ||
fips | ||
fips.cmd | ||
fips.yml |
README.md
About
Voxel engine that depends on PolyVox.
The build system is a cmake based system that automatically downloads all the needed dependencies. See fips homepage.
Network message generation depends on flatbuffers
Var
There are vars inside the engine that you can override via commandline. Var instances are runtime changeable
configuration variables that you can influence from within the game.
e.g. run the server with ./server -set sv_port 1025
to change the sv_port var to 1025 and bind that port.
Dependencies
- You need to have SDL2 installed
- Windows: env var SDL2DIR point to the directory where you extracted it into (Download link)
- Linux: pkg-config support is enough here (e.g.
apt-get install libsdl2-dev
) - You need to have git installed and in your path
- You need to have cmake installed and in your path
- You need to have python27 installed and in your path
- You need to have postgre installed (ubuntu package postgresql, libpq-dev and postgresql-server-dev-9.3 (or another version))
- You need lua installed
- You need libassimp
Compilation
- After fulfilling all the above mentioned dependencies, you just have to run
fips
Profiling
- There is built-in Remotery support - just run the application with e.g.
./fips run server -- -set core_trace true
or without fips:./server -set core_trace true
The core_trace var will activate all those core_trace_* macros.
Check this out:
- PolyVox and Bullet
- PolyVox 3D world generation
- AccidentalNoise islands
- libnoise tutorials
- VoxelEditor
- Voxel Engines
- Minecraft Protocol
- CouchDB
- Quest Generating AI (VoxelQuest)
- VoxelShip Editor
- MagicaVoxel Editor
- The Algorithmic Beauty of Plants
- Plants vterrain
http://www.gamedev.net/blog/1621/entry-2260604-seedworld-voxel-world-engine-update-2/ http://0fps.net/2013/07/03/ambient-occlusion-for-minecraft-like-worlds/ http://www.gamedev.net/blog/1621/entry-2260713-adding-biomes-and-rivers/
PostgreSQL
first sudo as postgres default superuser 'postgres' on bash
sudo -i -u postgres
adding an new new user by typing
createuser -s dbmaster
create a new database
createdb engine_db
now start postgres and add password for these user
psql
write this statement
ALTER USER dbmaster WITH PASSWORD 'ben711cCefIUit887';
now we have done the first initialization.
quick postreSQL guide:
to leave PSQL type: \q
to list all Database type: \l
to connect to an specific database type: \c dbname
(for example \c engine_db
)
after you are connected to an database, you can use SQL
to list al tables type: \dt
(\d+
for all tables. also sequences)
more stuff: http://wiki.ubuntuusers.de/PostgreSQL
console postgres tools
temporary tools (till rcon is not final) are usable via console.
after db is initialized start the server and type store init
this will create the user table
to add an user type store useradd <name> <password>