fredakilla / spkgen

Particle editor using flow graph nodes for the spark particle engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spkgen

Spkgen is an editor for the SPARK particles engine using a node-based interface to create particles effects for games.

Screenshots

Current status

Spkgen is in developpement and is not yet fully functional.
Development is done on linux.
Building on another system is not tested but final release should be cross-platform.

Features

  • C++ and Qt based interface.
  • Spkgen internally use Urho3D for rendering particles.
  • and Urhox library to bind the SPARK particle engine to Urho3D.
  • node core system is provided by the external qt nodeeditor library.

TODO

  • implement generic nodes classes
  • automatic node's parameters widgets creation from simple declaration
  • show 3D debug zones geometries
  • serialize node widget's parameters
  • graph plot editor widget for spark graph interpolators
  • complete all spark nodes
  • interact with 3D view (camera move...)
  • multiple scenes managment
  • comments items on node view
  • set styles
  • add shortcuts on node view : copy/paste/cut nodes
  • add samples and tutorials (WIP)

Build

Spkgen developpement is done with Qt 5.11.1 + QtCharts module for tgraph plot editor widget.
WARNING : Do not use Qt 5.11.2, I experienced some bugs with FileDialogs on linux...

1. Get submodules
git submodule init
git submodule update
2. Build the external nodeeditor Qt library
cd 3rdparty/nodeeditor
mkdir BUILD
cd BUILD
make
3. Set URHO3D_HOME and URHOX_HOME variable path in QtCreator :

(Urho3D and Urhox libraries need to be builded)

- Open spkgen.pro with QtCreator.
- Edit spkgen.pro file
- Set variable path :

#--------------------------------------------------------------------
# path to Urho3D and Urhox
#--------------------------------------------------------------------
URHO3D_HOME = /home/John/Dev/Urho3D/BUILD
URHOX_HOME = /home/John/Dev/Urhox/output
4. Build
- Copy Urho3D assets 'Data' and 'CoreData' to Spkgen/Bin
- Open Spkgen.pro with QtCreator
- Build and Run

About

Particle editor using flow graph nodes for the spark particle engine


Languages

Language:C++ 98.9%Language:QMake 0.9%Language:C 0.2%