[openjk] 05/32: Create renderer architecture documentation

Simon McVittie smcv at debian.org
Sun Mar 12 18:03:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository openjk.

commit f09462346aa2165975ee33ed09219e42f2083aad
Author: Alex Lo <alex at acslo.com>
Date:   Sat Nov 26 00:20:33 2016 +0000

    Create renderer architecture documentation
---
 documentation/developer/renderer-architecture.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/documentation/developer/renderer-architecture.md b/documentation/developer/renderer-architecture.md
new file mode 100644
index 0000000..d870770
--- /dev/null
+++ b/documentation/developer/renderer-architecture.md
@@ -0,0 +1,11 @@
+# Renderer Architecture
+
+The renderer is split into two parts: the front end and the back end.
+
+## Front end
+The front end is what cgame and UI modules communicate with. It's responsibility is to build up the scene as it is in the current frame to render as well as the view point from which to render. No GL calls are invoked at any point in this part of the code.
+
+When the scene has been built up, the entities to draw are submitted into a queue to be read by the backend. Entities are sorted on a number of parameters.
+
+## Back end
+The back end is responsible for drawing all of the entities submitted to it using OpenGL.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openjk.git



More information about the Pkg-games-commits mailing list