From 75a90df8bf7f38e746e021c23248e1607931132c Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 1 Jul 2011 17:20:53 +0200 Subject: Import and render tree models. Trees are loaded from the new trees.blend using assimp. Tree objects are then received from the server and rendered on the given terrain locations. Each chunk now holds a list of objects and coordinates, which can be used to easily add other models as well. Also moded the GLSL fog code to its own shader which can be linked in different programs. --- models/README | 3 +++ models/trees.blend | Bin 0 -> 3827560 bytes 2 files changed, 3 insertions(+) create mode 100644 models/README create mode 100644 models/trees.blend (limited to 'models') diff --git a/models/README b/models/README new file mode 100644 index 0000000..5d31225 --- /dev/null +++ b/models/README @@ -0,0 +1,3 @@ +File: trees.blend +License: CC-BY 3.0 +Source: http://opengameart.org/content/low-poly-trees-stumps-branches diff --git a/models/trees.blend b/models/trees.blend new file mode 100644 index 0000000..108feb6 Binary files /dev/null and b/models/trees.blend differ -- cgit v1.2.3