From 3f008494c3ab8399367a50e39dd40c9294c1339b Mon Sep 17 00:00:00 2001 From: Charles Merriam Date: Fri, 30 Jan 2015 08:43:57 -0800 Subject: [PATCH] Add description to examples/3Drendering/main.py --- examples/3Drendering/main.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/examples/3Drendering/main.py b/examples/3Drendering/main.py index ee4cf1b4c..474b29c31 100644 --- a/examples/3Drendering/main.py +++ b/examples/3Drendering/main.py @@ -1,3 +1,17 @@ +''' +3Drendering Example +================= + +This example demonstrates using OpenGL to display rotating monkey head. This +includes loading a Blender OBJ file, shaders written in OpenGL's Shading +Language (GLSL), and using scheduled callbacks. + +The file monkey.obj is a OBJ file output form the Blender free 3D creation +software. The file is text, listing vertices and faces. It is loaded +into a scene using objloader.py's ObjFile class. The file simple.glsl is +a simple vertex and fragment shader written in GLSL. +''' + from kivy.app import App from kivy.clock import Clock from kivy.core.window import Window