bosoni / qeng

qeng 3d engine above bgfx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QEng (c) mjt, 2019-2020

Licensed under MIT license (see LICENSE).

Uses bgfx ( https://github.com/bkaradzic/bgfx ). so download bgfx, bing and bx ( https://bkaradzic.github.io/bgfx/build.html ).


Directory structure:

bgfx/

bing/

bx/

QEng/ this engine


Tested only on windows 10. You can use _CMAKE_GUI_here.bat to create solution file.

Data/shaders/SHADERS/_COMPILE*.bat converts shaders. Data/models/_CONV*.bat converts .obj models.

src/Main.cpp here you can set test which to run, or use test chooser (default).


FEATURES:

  • scenegraph

    • baseclass: QNode
      • extended: QScene, QCamera, QLight, QModel3D
  • frustum culling

  • state manager

  • materials:

    • textured unshaded (multilight) Data/shaders/SHADERS/tex_*
    • textured shaded (multilight) Data/shaders/SHADERS/tex_lit*
    • normalmapped shaded (multilight) Data/shaders/SHADERS/bump*
  • 3d models:

    • uses model cache
    • hardware instancing

NOTES:

  • ref counting not used atm
  • Node.LookAt() does not work
  • Node.RotateZ() does not work right

About

qeng 3d engine above bgfx

License:MIT License


Languages

Language:C++ 60.7%Language:Shell 27.0%Language:SuperCollider 7.1%Language:Batchfile 3.2%Language:CMake 1.8%Language:Scala 0.2%