Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/Makefile.in
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/Makefile.in	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/Makefile.in	(revision 780)
@@ -0,0 +1,484 @@
+# Makefile.in generated by automake 1.7.5 from Makefile.am.
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../..
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BUILD_CEGUI_SAMPLE_FALSE = @BUILD_CEGUI_SAMPLE_FALSE@
+BUILD_CEGUI_SAMPLE_TRUE = @BUILD_CEGUI_SAMPLE_TRUE@
+BUILD_CGPLUGIN_FALSE = @BUILD_CGPLUGIN_FALSE@
+BUILD_CGPLUGIN_TRUE = @BUILD_CGPLUGIN_TRUE@
+BUILD_DX9RENDERSYSTEM_FALSE = @BUILD_DX9RENDERSYSTEM_FALSE@
+BUILD_DX9RENDERSYSTEM_TRUE = @BUILD_DX9RENDERSYSTEM_TRUE@
+BUILD_EXRPLUGIN_FALSE = @BUILD_EXRPLUGIN_FALSE@
+BUILD_EXRPLUGIN_TRUE = @BUILD_EXRPLUGIN_TRUE@
+BUILD_UNIT_TESTS_FALSE = @BUILD_UNIT_TESTS_FALSE@
+BUILD_UNIT_TESTS_TRUE = @BUILD_UNIT_TESTS_TRUE@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CEGUI_CFLAGS = @CEGUI_CFLAGS@
+CEGUI_LIBS = @CEGUI_LIBS@
+CFGTK_DEPS_CFLAGS = @CFGTK_DEPS_CFLAGS@
+CFGTK_DEPS_LIBS = @CFGTK_DEPS_LIBS@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
+CPPUNIT_CONFIG = @CPPUNIT_CONFIG@
+CPPUNIT_LIBS = @CPPUNIT_LIBS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FT2_CFLAGS = @FT2_CFLAGS@
+FT2_CONFIG = @FT2_CONFIG@
+FT2_LIBS = @FT2_LIBS@
+GLSUPPORT_CFLAGS = @GLSUPPORT_CFLAGS@
+GLSUPPORT_LIBS = @GLSUPPORT_LIBS@
+GL_LIBS = @GL_LIBS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+OGREMAIN_VERSION_INFO = @OGREMAIN_VERSION_INFO@
+OGRE_CFGTK = @OGRE_CFGTK@
+OGRE_CFLAGS = @OGRE_CFLAGS@
+OGRE_GLSUPPORT = @OGRE_GLSUPPORT@
+OGRE_LINUX_FALSE = @OGRE_LINUX_FALSE@
+OGRE_LINUX_TRUE = @OGRE_LINUX_TRUE@
+OGRE_NT_FALSE = @OGRE_NT_FALSE@
+OGRE_NT_TRUE = @OGRE_NT_TRUE@
+OGRE_OSX_FALSE = @OGRE_OSX_FALSE@
+OGRE_OSX_TRUE = @OGRE_OSX_TRUE@
+OGRE_PLATFORM = @OGRE_PLATFORM@
+OPENEXR_CFLAGS = @OPENEXR_CFLAGS@
+OPENEXR_LIBS = @OPENEXR_LIBS@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PLATFORM_CFLAGS = @PLATFORM_CFLAGS@
+PLATFORM_LIBS = @PLATFORM_LIBS@
+PLUGIN_FLAGS = @PLUGIN_FLAGS@
+RANLIB = @RANLIB@
+RC = @RC@
+SDL_CFLAGS = @SDL_CFLAGS@
+SDL_CONFIG = @SDL_CONFIG@
+SDL_LIBS = @SDL_LIBS@
+SET_MAKE = @SET_MAKE@
+SHARED_FLAGS = @SHARED_FLAGS@
+SHELL = @SHELL@
+STLPORT_CFLAGS = @STLPORT_CFLAGS@
+STLPORT_LIBS = @STLPORT_LIBS@
+STRIP = @STRIP@
+USE_DEVIL_FALSE = @USE_DEVIL_FALSE@
+USE_DEVIL_TRUE = @USE_DEVIL_TRUE@
+VERSION = @VERSION@
+YACC = @YACC@
+ZZIPLIB_CFLAGS = @ZZIPLIB_CFLAGS@
+ZZIPLIB_LIBS = @ZZIPLIB_LIBS@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_RC = @ac_ct_RC@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+SUBDIRS = src 
+subdir = Samples/RenderToTexture
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/OgreMain/include/config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
+
+RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+	ps-recursive install-info-recursive uninstall-info-recursive \
+	all-recursive install-data-recursive install-exec-recursive \
+	installdirs-recursive install-recursive uninstall-recursive \
+	check-recursive installcheck-recursive
+DIST_COMMON = Makefile.am Makefile.in
+DIST_SUBDIRS = $(SUBDIRS)
+all: all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign  Samples/RenderToTexture/Makefile
+Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+#     (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    dot_seen=yes; \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; \
+	if test "$$dot_seen" = "no"; then \
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+	fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+	@set fnord $$MAKEFLAGS; amf=$$2; \
+	dot_seen=no; \
+	case "$@" in \
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+	  *) list='$(SUBDIRS)' ;; \
+	esac; \
+	rev=''; for subdir in $$list; do \
+	  if test "$$subdir" = "."; then :; else \
+	    rev="$$subdir $$rev"; \
+	  fi; \
+	done; \
+	rev="$$rev ."; \
+	target=`echo $@ | sed s/-recursive//`; \
+	for subdir in $$rev; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done && test -z "$$fail"
+tags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+	done
+ctags-recursive:
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+	done
+
+ETAGS = etags
+ETAGSFLAGS =
+
+CTAGS = ctags
+CTAGSFLAGS =
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	if (etags --etags-include --version) >/dev/null 2>&1; then \
+	  include_option=--etags-include; \
+	else \
+	  include_option=--include; \
+	fi; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test -f $$subdir/TAGS && \
+	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+	  fi; \
+	done; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	     $$tags $$unique
+
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = ../..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    test -d $(distdir)/$$subdir \
+	    || mkdir $(distdir)/$$subdir \
+	    || exit 1; \
+	    (cd $$subdir && \
+	      $(MAKE) $(AM_MAKEFLAGS) \
+	        top_distdir="$(top_distdir)" \
+	        distdir=../$(distdir)/$$subdir \
+	        distdir) \
+	      || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+
+distclean-am: clean-am distclean-generic distclean-libtool \
+	distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-recursive
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+uninstall-info: uninstall-info-recursive
+
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
+	clean-generic clean-libtool clean-recursive ctags \
+	ctags-recursive distclean distclean-generic distclean-libtool \
+	distclean-recursive distclean-tags distdir dvi dvi-am \
+	dvi-recursive info info-am info-recursive install install-am \
+	install-data install-data-am install-data-recursive \
+	install-exec install-exec-am install-exec-recursive \
+	install-info install-info-am install-info-recursive install-man \
+	install-recursive install-strip installcheck installcheck-am \
+	installdirs installdirs-am installdirs-recursive \
+	maintainer-clean maintainer-clean-generic \
+	maintainer-clean-recursive mostlyclean mostlyclean-generic \
+	mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
+	pdf-recursive ps ps-am ps-recursive tags tags-recursive \
+	uninstall uninstall-am uninstall-info-am \
+	uninstall-info-recursive uninstall-recursive
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/ElementaryRenderable.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/ElementaryRenderable.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/ElementaryRenderable.h	(revision 780)
@@ -0,0 +1,34 @@
+#pragma once
+
+/**
+	@brief Base abstract class for an elementary renderable.
+*/
+class ElementaryRenderable
+{
+public:
+
+	/** 
+		@brief Shows or hides the renderable.
+
+		@param visible visibility
+	*/
+	virtual void setVisible(bool visible) = 0;
+	/** 
+		@brief Sets the rendering group this renderable belongs to.
+
+		Rendering groups are to distinguish groups of rendering types 
+		(eg.: caustic casters, caustic recievers, shadow casters) if needed.
+		Each group has a unique ID.
+
+		@param groupID the ID of the group to use
+	*/
+	virtual void  setRenderGroup (unsigned char groupID) = 0;
+	/** 
+		@brief Retrieves if the renderable is hided or shown.
+	*/
+	virtual bool isVisible() = 0;
+	/** 
+		@brief Updates bounding volumes.
+	*/
+	virtual void updateBounds() = 0;		
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/SharedRuns.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/SharedRuns.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/SharedRuns.h	(revision 780)
@@ -0,0 +1,199 @@
+#pragma once
+#include "RenderingRun.h"
+
+class TechniqueGroup;
+
+/**
+	@brief Enum of RenderingRun types.
+
+	If a new class is derived from RenderingRun, this enum should be extended.
+	This types are used in messages sent when a run changes or updates.
+*/
+enum RenderingRunType
+{
+	ILLUMRUN_COLOR_CUBEMAP,
+	ILLUMRUN_DISTANCE_CUBEMAP,
+	ILLUMRUN_CAUSTIC_CUBEMAP,
+	ILLUMRUN_REDUCED_CUBEMAP,
+	ILLUMRUN_PHOTONMAP,
+	ILLUMRUN_DEPTH_SHADOWMAP,
+	ILLUMRUN_SCENE_CAMERA_DEPTH
+};
+
+/**
+	@brief Base abstract class for a collection of shared resources (RenderingRuns).
+
+	Technique resources which can be shared between several techniques or objects are managed by SharedRuns.
+	These SharedRuns store the shared resources. They also act like nodes of a binary tree, as separate 
+	SharedRuns can also be joined if for example the objects for witch they store resources are close enough so
+	even one shared resources is enough for the given objects.
+*/
+class SharedRuns
+{
+public:
+	/**
+		&brief Constructor.
+	*/
+	SharedRuns(void);	
+	
+	virtual bool hasOwnRun(RenderingRunType runType) = 0;
+    /**
+		&brief Retrieves a shared resource.
+		
+		@param runType enum, type of the RenderingRun to be retrieved
+		@return pointer to the RenderingRun of type "runType", null if this type does not exists
+	*/
+	virtual RenderingRun* getRun(RenderingRunType runType) = 0;	
+	/**
+		&brief Adds a RenderingRun instance to the shared resources.
+		
+		@param runType enum, type of the RenderingRun to add
+		@param run pointer to the RenderingRun instance to add
+	*/
+	virtual void addRun(RenderingRunType runType, RenderingRun* run)=0;	
+	/**
+		&brief Updates a shared RenderingRun.
+		
+		@param runType enum, type of the RenderingRun to update
+		@param frameNum current framenumber
+	*/
+	virtual void updateRun(RenderingRunType runType, unsigned long frameNum) = 0;
+	/**
+		&brief Joines two SharedRuns.
+
+		The resulting SharedRuns become the parent of the two SharedRuns.
+
+		@param otherRuns pointer to the SharedRuns instance to join with
+		@return the new parent SharedRuns instance
+	*/
+	virtual SharedRuns* joinRuns(SharedRuns* otherRuns);
+	/**
+		@brief Called after one of he shared runs changes.
+
+		This message will be forwarded to each child.
+		
+		@param runType enum describing the type of the changed run
+		@param run pointer to the changed RenderingRun
+	*/
+	virtual void runChanged(RenderingRunType runType, RenderingRun* run);
+	/**
+		@brief Called after one of he shared runs updates.
+
+		This message will be forwarded to each child.
+		
+		@param runType enum describing the type of the updated run
+		@param run pointer to the updated RenderingRun
+	*/	
+	virtual void runUpdated(RenderingRunType runType, RenderingRun* run);
+	/**
+		@brief Sets child TechniqueGroup.
+		
+		@param group pointer to the TechniqueGroup instance to add.
+	*/	
+	void setTechniqueGroup(TechniqueGroup* group){childTechniques = group;}
+	/**
+		@brief Shows or hides this SharedRuns (and also all childnodes).
+		
+		@param visible visibility
+	*/
+	virtual void setVisible(bool visible);
+	/**
+		@brief Hides this SharedRuns (and also all childs).
+
+		The previous visibility is saved.		
+	*/
+	virtual void hide();
+	/**
+		@brief Restores the visibility of this SharedRuns (and also all childs).		
+	*/
+	virtual void restoreVisibility();
+	/**
+		@brief Retrieves the root node of this SharedRuns node.
+
+		@return pointer to the root SharedRuns instance
+	*/
+	virtual SharedRuns* getRoot();
+	/**
+		@brief Retrieves the topmost parent node of this SharedRuns node, which have a specified RenderingRun type.
+
+		@param runType the RenderingRun type
+
+		@return pointer to the parent SharedRuns instance
+	*/
+	virtual SharedRuns* getRoot(RenderingRunType runType);
+	/**
+		@brief Updates the boundary of this SharedRuns (and also it's parent).		
+	*/
+	virtual void updateBounds() = 0;
+	/**
+		@brief Validate this SharedRuns (and also all childs).
+
+		Validation meens that all the SharedRuns that are joined will be examined if the sharing is still valid.
+		If it finds out that two SharedRuns can't be joined anymore (eg.: they moved far from each other), their
+		parent will be split and destroyed (all parent of this node also should be deleted recursively).
+	*/
+	virtual void validate() = 0;
+	/**
+		@brief Destroys the node (and all parents recursively).
+	*/
+	virtual void destroy() = 0;
+	/**
+		@brief Unbinds the parent of the node, called at splitting.
+	*/
+	virtual void unbindParent(){parent = 0;}
+	/**
+		@brief Unbinds the deletes the parent of the node, called at splitting.
+	*/
+	virtual void unbindAndKillParent(){delete parent; parent = 0;}
+	
+protected:
+	/**
+		@brief parent SharedRuns instance
+	*/
+    SharedRuns* parent;
+	/**
+		@brief child SharedRuns instance
+	*/
+	SharedRuns* child1;
+	/**
+		@brief child SharedRuns instance
+	*/
+	SharedRuns* child2;
+	/**
+		@brief child TechniqueGroup instance.
+
+		If this SharedRuns node is a leaf, it containes a reference to a TechniqueGroup instance.
+		All messages will be transfered to this object, 
+		and bounding information will be retrieved from this TechniqueGroup
+	*/
+	TechniqueGroup* childTechniques;
+	/**
+		@brief Collects RenderingRuns references from the child nodes, used when joining
+	*/
+	virtual void gatherRuns() = 0;
+	/**
+		@brief Sends runChanged events for each RenderingRun type, used after join and split
+	*/
+	virtual void fireRunChanges() = 0;
+	/**
+		@brief Creates a new SharedRuns instance. All derivatives should implement this.
+
+		@return a new SharedRuns instance
+	*/
+	virtual SharedRuns* createInstance() = 0; //{ return 0; }
+	/**
+		@brief Set visibility of connected renderables, only used if this is a leaf.
+
+		@param visible visibility
+	*/
+	virtual void setRenderablesVisible(bool visible) = 0;
+	/**
+		@brief Hides all the connected renderables, only used if this is a leaf.
+	*/
+	virtual void hideRenderables() = 0;
+	/**
+		@brief Restires visibility of all the connected renderables, only used if this is a leaf.
+	*/
+	virtual void restoreRenderableVisibility() = 0;	
+};
+
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/IlluminationManager.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/IlluminationManager.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/IlluminationManager.h	(revision 780)
@@ -0,0 +1,60 @@
+#pragma once
+
+#include "RenderTechnique.h"
+
+/**
+	@brief Base abstract class of the illumination manager.
+
+	The illumination manager is responsible for refreshing rendering techniques connected to visible renderables, 
+	and to render the scene with these updated resources.
+	It also has the resposibility to manage shared runs, to join and split them if needed.
+*/
+class IlluminationManager
+{
+protected:
+
+	
+public:
+	
+	/**
+		@brief The function to be called to render one frame.
+
+		This is the main refreshing function. It seasrches for visible objects, manages shared runs, updates render techniques and 
+		finally renders the scene to framebuffer.
+
+		@param frameNumber current framenumber
+	*/
+	virtual void update(unsigned long frameNumber) = 0;	
+	
+	/**
+		@brief The function to be called when a shared run is splitted.
+
+		@param old pointer to the SharedRuns instance that is split
+		@param new1 pointer to one of the SharedRuns instance that remain after split
+		@param new2 pointer to the other SharedRuns instance that remain after split
+	*/
+	virtual void sharedRunSplit(SharedRuns* old, SharedRuns* new1, SharedRuns* new2){};
+	/**
+		@brief The function to be called when two shared runs are joined.
+
+		@param old1 pointer to one of the SharedRuns instance that are joined
+		@param old2 pointer to the other SharedRuns instance that are joined
+		@param newsr pointer to the resulting parent SharedRuns instance
+	*/
+	virtual void sharedRunJoin(SharedRuns* old1, SharedRuns* old2, SharedRuns* newsr){};
+	/**
+		@brief Joins shared runs if needed.
+
+		Searches the registered shared run roots and join them if necessary (they are close enough).
+	*/
+	virtual void joinSharedRuns(){};
+	/**
+		@brief Register a shared run object. 
+		
+		Only called when new techniques are created.
+
+		@param runs pointer to the SharedRuns instance to add
+	*/
+	virtual void addSharedRuns(SharedRuns* runs){};
+	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/DistanceCubeMapRenderingRun.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/DistanceCubeMapRenderingRun.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/DistanceCubeMapRenderingRun.h	(revision 780)
@@ -0,0 +1,95 @@
+#pragma once
+#include "RenderingRun.h"
+
+/**
+	@brief Base abstract class that defines a rendering process of a distance cubemap.
+
+	A distance cubemap stores the distances of the surrounding environment from the cubemap center.
+*/
+class DistanceCubeMapRenderingRun : virtual public RenderingRun
+{	
+public:
+
+	/**
+		@brief Constructor.
+
+		@param startFrame				adds an offset to the current frame number to help evenly distribute updates between frames
+		@param updateInterval			update frequency
+		@param resolution				distance cubemap resolution
+		@param useDistCalc				flag to skip cube face update if object is far away
+		@param useFaceAngleCalc			flag to skip cube face update if face is neglible
+		@param distTolerance			distance tolerance used in face skip
+		@param angleTolerance			angle tolerance used in face skip
+		@param updateAllFace			defines if all cubemap faces should be updated in a frame or only one face per frame		
+	*/
+	DistanceCubeMapRenderingRun(unsigned long startFrame,
+								unsigned long updateInterval,
+								unsigned int resolution,
+								bool useDistCalc,
+								bool useFaceAngleCalc,
+								float distTolerance,
+								float angleTolerance,
+								bool updateAllFace);
+
+	
+protected:
+
+	/**
+			@brief defines if all cubemap faces should be updated in a frame or only one face per frame
+	*/
+	bool updateAllFace;
+	/**
+		@brief the number of the face to be updated
+	*/
+	unsigned char currentFace;
+	/**
+		@brief the resolution of the cubemap texture that was created by this run
+	*/
+	unsigned int resolution;
+	/**
+		@brief a flag to skip cube face update if object is far away or too small.
+
+		@see distTolerance
+	*/
+	bool useDistCalc;
+	/**
+		@brief a flag to skip cube face update the face is neglible.
+
+		@see angleTolerance
+	*/
+	bool useFaceAngleCalc;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float distTolerance;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float angleTolerance;
+
+	/**
+		@brief Creates a cubemap texture used for the color-cubemap.
+	*/
+	virtual inline void createDistanceCubeMap() = 0;
+	/**
+		@brief Updates one face of the cubemap.
+
+		@param facenum the number of the face to be updated
+	*/
+	virtual inline void updateCubeFace(int facenum) = 0;
+	/**
+		@brief Checks if a cubemap face needs to be updated.
+
+		If the object we are updating the cubemap for is far from the camera, or too small, or
+		the given cubemapface does not have significant effect on the rendering the face can be skipped.
+
+		@param facenum the number of the face to be checked
+	*/
+    virtual bool faceNeedsUpdate(int facenum) = 0; 
+	//inherited
+	virtual void updateFrame(unsigned long frameNum);	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/CausticCubeMapRenderingRun.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/CausticCubeMapRenderingRun.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/CausticCubeMapRenderingRun.h	(revision 780)
@@ -0,0 +1,71 @@
+#pragma once
+#include "RenderingRun.h"
+
+/**
+	@brief Base abstract class that defines a rendering process of a caustic cubemap.
+
+	A caustic cubemap stores caustic light spots caused by a caustic emitter object.
+*/
+class CausticCubeMapRenderingRun : virtual public RenderingRun
+{	
+public:
+	/**
+		@brief Constructor.
+
+		@param startFrame			adds an offset to the current frame number to help evenly distribute updates between frames
+		@param updateInterval		photon map update frequency
+		@param resolution			photon map resolution
+		@param updateAllFace		defines if all cubemap faces should be updated in a frame or only one face per frame
+	*/
+	CausticCubeMapRenderingRun(unsigned long startFrame,
+								unsigned long updateInterval,
+								unsigned int resolution,
+								bool updateAllFace);
+
+	/**
+			@brief Called if the changed run is a PhotonMapRenderingRun.
+
+			@param run pointer to the changed PhotonMapRenderingRun
+	*/		
+	virtual void photonMapChanged(RenderingRun* run) = 0;
+	
+protected:
+	
+	/**
+			@brief defines if all cubemap faces should be updated in a frame or only one face per frame
+	*/	
+	bool updateAllFace;
+	/**
+		@brief the number of the face to be updated
+	*/
+	unsigned char currentFace;
+	
+	/**
+		@brief the resolution of the cubemap texture that was created by this run
+	*/
+	unsigned int resolution;
+
+	/**
+		@brief Creates a cubemap texture used for the caustic-cubemap.
+	*/
+	virtual inline void createCausticCubeMap() = 0;
+	/**
+		@brief Updates one face of the cubemap.
+
+		@param facenum the number of the face to be updated
+	*/
+	virtual inline void updateCubeFace(int facenum) = 0;
+	/**
+		@brief Checks if a cubemap face needs to be updated.
+
+		If the object we are updating the cubemap for is far from the camera, or too small, or
+		the given cubemapface does not have significant effect on the rendering the face can be skipped.
+
+		@param facenum the number of the face to be checked
+	*/
+    virtual bool faceNeedsUpdate(int facenum) = 0; 
+
+	//inherited
+	virtual void updateFrame(unsigned long frameNum);	
+	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/DepthShadowMapRenderingRun.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/DepthShadowMapRenderingRun.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/DepthShadowMapRenderingRun.h	(revision 780)
@@ -0,0 +1,52 @@
+#pragma once
+#include "RenderingRun.h"
+
+/**
+	@brief Base abstract class that defines a rendering process of a shadow map.
+
+	A shadow map stores depth values from the lightsource.
+*/
+class DepthShadowMapRenderingRun : virtual public RenderingRun
+{	
+public:
+	/**
+		@brief Constructor.
+
+		@param resolutionX	width of the depth map texture
+		@param resolutionY	height of the depth map texture
+	*/
+	DepthShadowMapRenderingRun( unsigned int resolutionX,
+								  unsigned int resolutionY)
+							:RenderingRun(0, 1)
+	{
+		this->resolutionX = resolutionX;
+		this->resolutionY = resolutionY;
+	}
+
+protected:
+	/**
+		@brief	width of the depth map texture
+	*/
+    unsigned int resolutionX;
+	/**
+		@brief	height of the depth map texture
+	*/
+	unsigned int resolutionY;
+	
+	/**
+		@brief Creates the depth map texture (2D or CUBE according to light type).		
+	*/
+	virtual inline void createDepthMap() = 0;
+	/**
+		@brief Updates one face of the depth cubemap (used only in case of point lights).
+
+		@param facenum the number of the face to be updated
+	*/
+	virtual inline void updateDepthCubeFace(int facenum) = 0;
+	/**
+		@brief Updates the depth map (in case of directional and spot lights).		
+	*/
+	virtual inline void updateDepthMap() = 0;
+	//inherited
+	virtual void updateFrame(unsigned long frameNum) = 0;		
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/ReducedCubeMapRenderingRun.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/ReducedCubeMapRenderingRun.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/ReducedCubeMapRenderingRun.h	(revision 780)
@@ -0,0 +1,95 @@
+#pragma once
+#include "RenderingRun.h"
+
+/**
+	@brief Base abstract class that defines a rendering process of a reduced sized color-cubemap.
+
+	The resulting cubemap is a lower resolution variation of a color cube map. It is created with averaging the original cubemap.
+	The lower resolution cubemap can be convolved faster and can efficiently be used in effects like diffuse reflection.
+*/
+class ReducedCubeMapRenderingRun : virtual public RenderingRun
+{	
+public:
+	/**
+		@brief Constructor.
+
+		@param startFrame				adds an offset to the current frame number to help evenly distribute updates between frames
+		@param updateInterval			update frequency
+		@param resolution				reduced cubemap resolution
+		@param useDistCalc				flag to skip cube face update if object is far away
+		@param useFaceAngleCalc			flag to skip cube face update if face is neglible
+		@param distTolerance			distance tolerance used in face skip
+		@param angleTolerance			angle tolerance used in face skip
+		@param updateAllFace			defines if all cubemap faces should be updated in a frame or only one face per frame		
+	*/
+	ReducedCubeMapRenderingRun(unsigned long startFrame,
+								unsigned long updateInterval,
+								unsigned int resolution,
+								bool useDistCalc,
+								bool useFaceAngleCalc,
+								float distTolerance,
+								float angleTolerance,
+								bool updateAllFace);
+
+	
+protected:
+	/**
+			@brief defines if all cubemap faces should be updated in a frame or only one face per frame
+	*/
+	bool updateAllFace;
+	/**
+		@brief the number of the face to be updated
+	*/
+	unsigned char currentFace;	
+	/**
+		@brief the resolution of the cubemap texture that was created by this run
+	*/
+	unsigned int resolution;
+	/**
+		@brief a flag to skip cube face update if object is far away or too small.
+
+		@see distTolerance
+	*/
+	bool useDistCalc;
+	/**
+		@brief a flag to skip cube face update the face is neglible.
+
+		@see angleTolerance
+	*/
+	bool useFaceAngleCalc;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float distTolerance;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float angleTolerance;
+
+	/**
+		@brief Creates the reduced size cubemap texture.
+	*/
+	virtual inline void createReducedCubeMap() = 0;
+	/**
+		@brief Updates one face of the cubemap.
+
+		@param facenum the number of the face to be updated
+	*/
+	virtual inline void updateCubeFace(int facenum) = 0;
+	/**
+		@brief Checks if a cubemap face needs to be updated.
+
+		If the object we are updating the cubemap for is far from the camera, or too small, or
+		the given cubemapface does not have significant effect on the rendering the face can be skipped.
+
+		@param facenum the number of the face to be checked
+	*/
+    virtual bool faceNeedsUpdate(int facenum) = 0; 
+	//inherited
+	virtual void updateFrame(unsigned long frameNum);		
+	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/ColorCubeMapRenderingRun.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/ColorCubeMapRenderingRun.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/ColorCubeMapRenderingRun.h	(revision 780)
@@ -0,0 +1,94 @@
+#pragma once
+#include "RenderingRun.h"
+
+/**
+	@brief Base abstract class that defines a rendering process of a color-cubemap.
+
+	A color cubemap is a cubemap of the colors of the surrounding environment.
+*/
+class ColorCubeMapRenderingRun : virtual public RenderingRun
+{	
+public:
+	/**
+		@brief Constructor.
+
+		@param startFrame				adds an offset to the current frame number to help evenly distribute updates between frames
+		@param updateInterval			update frequency
+		@param resolution				color cubemap resolution
+		@param useDistCalc				flag to skip cube face update if object is far away
+		@param useFaceAngleCalc			flag to skip cube face update if face is neglible
+		@param distTolerance			distance tolerance used in face skip
+		@param angleTolerance			angle tolerance used in face skip
+		@param updateAllFace			defines if all cubemap faces should be updated in a frame or only one face per frame
+		
+	*/
+	ColorCubeMapRenderingRun(unsigned long startFrame,
+								unsigned long updateInterval,
+								unsigned int resolution,
+								bool useDistCalc,
+								bool useFaceAngleCalc,
+								float distTolerance,
+								float angleTolerance,
+								bool updateAllFace);
+
+	
+protected:
+	/**
+			@brief defines if all cubemap faces should be updated in a frame or only one face per frame
+	*/
+	bool updateAllFace;	
+	/**
+		@brief the number of the face to be updated
+	*/
+	unsigned char currentFace;	
+	/**
+		@brief the resolution of the cubemap texture that was created by this run
+	*/
+	unsigned int resolution;
+	/**
+		@brief a flag to skip cube face update if object is far away or too small.
+
+		@see distTolerance
+	*/
+	bool useDistCalc;
+	/**
+		@brief a flag to skip cube face update the face is neglible.
+
+		@see angleTolerance
+	*/
+	bool useFaceAngleCalc;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float distTolerance;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float angleTolerance;
+
+	/**
+		@brief Creates a cubemap texture used for the color-cubemap.
+	*/
+	virtual inline void createColorCubeMap() = 0;
+	/**
+		@brief Updates one face of the cubemap.
+
+		@param facenum the number of the face to be updated
+	*/
+	virtual inline void updateCubeFace(int facenum) = 0;
+	/**
+		@brief Checks if a cubemap face needs to be updated.
+
+		If the object we are updating the cubemap for is far from the camera, or too small, or
+		the given cubemapface does not have significant effect on the rendering the face can be skipped.
+
+		@param facenum the number of the face to be checked
+	*/
+    virtual bool faceNeedsUpdate(int facenum) = 0;
+	//inherited
+	virtual void updateFrame(unsigned long frameNum);	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/SceneCameraDepthRenderingRun.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/SceneCameraDepthRenderingRun.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/SceneCameraDepthRenderingRun.h	(revision 780)
@@ -0,0 +1,28 @@
+#pragma once
+#include "RenderingRun.h"
+
+/**
+	@brief Base abstract class that defines a rendering process that creates depth map.
+
+	The depth map stores the scene's camera space z coordinates (rendered from the player's view).
+*/
+class SceneCameraDepthRenderingRun : virtual public RenderingRun
+{	
+public:
+	/**
+		@brief Constructor.
+	*/
+	SceneCameraDepthRenderingRun()
+							:RenderingRun(0, 1)
+	{
+	}
+
+protected:
+    
+	/**
+		@brief Creates the depth map texture.
+	*/
+	virtual inline void createDepthMap() = 0;	
+	//inherited
+	virtual void updateFrame(unsigned long frameNum) = 0;	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/PhotonMapRenderingRun.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/PhotonMapRenderingRun.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRuns/PhotonMapRenderingRun.h	(revision 780)
@@ -0,0 +1,33 @@
+#pragma once
+#include "RenderingRun.h"
+
+/**
+	@brief Base abstract class that defines a rendering process of a photon hit map.
+
+	A photon hit map stores the directions where the incoming photons are refracted by a caustic emitter object.
+	One pixel of the photon map represents one photon hit, hte direction is encoded in the RGB channels.
+	If  the alpha channel has zero value, the hit is invalid.
+*/
+class PhotonMapRenderingRun : virtual public RenderingRun
+{	
+public:
+	/**
+		@brief Constructor.
+
+		@param startFrame				adds an offset to the current frame number to help evenly distribute updates between frames
+		@param updateInterval			update frequency
+	*/
+	PhotonMapRenderingRun(unsigned long startFrame,
+							unsigned long updateInterval)
+							:RenderingRun(startFrame, updateInterval)
+	{
+	}
+
+protected:
+    //inherited
+	virtual void updateFrame(unsigned long frameNum) = 0;	
+	/**
+		@brief Creates a photon hit map.
+	*/
+	virtual inline void createPhotonMap() = 0;	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/SBBRenderTechnique.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/SBBRenderTechnique.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/SBBRenderTechnique.h	(revision 780)
@@ -0,0 +1,21 @@
+#pragma once
+#include "RenderTechnique.h"
+
+/**
+	@brief Base abstract class of rendering a particle system with the spherical billboard method. 	
+*/
+class SBBRenderTechnique : virtual public RenderTechnique
+{
+public:
+	/**
+		@brief Constructor.
+
+		@param parentRenderable the object to operate on
+		@param parentTechniqueGroup the TechniqueGroup this RenderedTechnique is attached to
+	*/
+	SBBRenderTechnique( 
+							ElementaryRenderable* parentRenderable,
+							TechniqueGroup* parentTechniqueGroup
+							);
+	~SBBRenderTechnique();	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/DistanceCubeMapRenderTechnique.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/DistanceCubeMapRenderTechnique.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/DistanceCubeMapRenderTechnique.h	(revision 780)
@@ -0,0 +1,112 @@
+#pragma once
+#include "RenderTechnique.h"
+
+/**
+	@brief Base abstract class of rendering a distance cube map. 
+	
+	This technique defines that the final rendering of an object needs a cubmap of the distance of the surrounding environment from the cubemap center.
+*/
+class DistanceCubeMapRenderTechnique : virtual public RenderTechnique
+{
+public:
+	/**
+		@brief Constructor.
+
+		@param startFrame				adds an offset to the current frame number to help evenly distribute updates between frames
+		@param cubeMapUpdateInterval	update frequency
+		@param cubeMapResolution		distance cubemap resolution
+		@param useDistCalc				flag to skip cube face update if object is far away
+		@param useFaceAngleCalc			flag to skip cube face update if face is neglible
+		@param distTolerance			distance tolerance used in face skip
+		@param angleTolerance			angle tolerance used in face skip
+		@param updateAllFace			defines if all cubemap faces should be updated in a frame or only one face per frame
+		@param parentRenderable			the object to operate on
+		@param parentTechniqueGroup		the TechniqueGroup this RenderedTechnique is attached to
+	*/
+	DistanceCubeMapRenderTechnique( unsigned long startFrame,
+							unsigned long cubeMapUpdateInterval,
+							unsigned int cubeMapResolution,												
+							bool useDistCalc,
+							bool useFaceAngleCalc,
+							float distTolerance,
+							float angleTolerance,
+							bool updateAllFace,
+							ElementaryRenderable* parentRenderable,
+							TechniqueGroup* parentTechniqueGroup
+							);
+	~DistanceCubeMapRenderTechnique();
+	
+	/**
+			@brief Updates the resources in the given frame.
+
+			@param frameNum the actual framenumber
+	*/
+	virtual void update(unsigned long frameNum);
+
+	//inherited
+	virtual void runUpdated(RenderingRunType runType, RenderingRun* run);
+	//inherited
+	void runChanged(RenderingRunType runType, RenderingRun* run);
+
+protected:
+	/**
+		@brief a flag to skip cube face update if object is far away or too small.
+
+		@see distTolerance
+	*/
+	bool useDistCalc;
+	/**
+		@brief a flag to skip cube face update the face is neglible.
+
+		@see angleTolerance
+	*/
+	bool useFaceAngleCalc;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float distTolerance;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float angleTolerance;
+	/**
+			@brief defines if all cubemap faces should be updated in a frame or only one face per frame
+	*/
+    bool updateAllFace;
+							
+	/**
+			@brief color-cubemap update frequency
+	*/
+	unsigned long cubeMapUpdateInterval;
+	/**
+			@brief color-cubemap resolution
+	*/
+	unsigned int cubeMapResolution;
+	/**
+			@brief offset in frame number used during update
+	*/
+	unsigned long startFrame;	
+	
+	/**
+			@brief Called if the changed run is a ColorCubeMapRenderingRun.
+
+			@param run pointer to the changed ColorCubeMapRenderingRun
+	*/		
+	virtual void distanceCubeMapRunChanged(RenderingRun* run) = 0;
+	/**
+			@brief Called if the changed run is a ColorCubeMapRenderingRun.
+
+			@param run pointer to the changed ColorCubeMapRenderingRun
+	*/		
+	virtual void distanceCubeMapRunUpdated(RenderingRun* run) = 0;
+	/**
+			@brief Creates a ColorCubeMapRenderingRun.
+
+			@return the new ColorCubeMapRenderingRun instance.
+	*/
+	virtual RenderingRun* createDistanceCubeMapRun() = 0;
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/ConvolvedCubeMapRenderTechnique.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/ConvolvedCubeMapRenderTechnique.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/ConvolvedCubeMapRenderTechnique.h	(revision 780)
@@ -0,0 +1,124 @@
+#pragma once
+#include "RenderTechnique.h"
+
+/**
+	@brief Base abstract class of rendering a color cube map which will be reduced. 
+	
+	This technique defines that the final rendering of an object needs a reduced sized cubmap of the colors of the surrounding environment.
+	This reduced cube map can easily be convolved in the final shading to acheve special effects like diffuse reflections.
+*/
+class ConvolvedCubeMapRenderTechnique : virtual public RenderTechnique
+{
+public:
+	/**
+		@brief Constructor.
+
+		@param startFrame					adds an offset to the current frame number to help evenly distribute updates between frames
+		@param cubeMapUpdateInterval		update frequency
+		@param cubeMapResolution			color cubemap resolution
+		@param reducedCubeMapResolution		the resolution of the reduced cube map
+		@param useDistCalc					flag to skip cube face update if object is far away
+		@param useFaceAngleCalc				flag to skip cube face update if face is neglible
+		@param distTolerance				distance tolerance used in face skip
+		@param angleTolerance				angle tolerance used in face skip
+		@param updateAllFace				defines if all cubemap faces should be updated in a frame or only one face per frame
+		@param parentRenderable				the object to operate on
+		@param parentTechniqueGroup			the TechniqueGroup this RenderedTechnique is attached to
+	*/
+	ConvolvedCubeMapRenderTechnique( unsigned long startFrame,
+							unsigned long cubeMapUpdateInterval,
+							unsigned int cubeMapResolution,
+							unsigned int reducedCubeMapResolution,
+							bool useDistCalc,
+							bool useFaceAngleCalc,
+							float distTolerance,
+							float angleTolerance,
+							bool updateAllFace,
+							ElementaryRenderable* parentRenderable,
+							TechniqueGroup* parentTechniqueGroup
+							);
+	~ConvolvedCubeMapRenderTechnique();
+	
+	/**
+			@brief Updates the resources in the given frame.
+
+			@param frameNum the actual framenumber
+	*/
+	virtual void update(unsigned long frameNum);
+
+	//inherited
+	void runChanged(RenderingRunType runType, RenderingRun* run);
+
+protected:
+
+    /**
+			@brief defines if all cubemap faces should be updated in a frame or only one face per frame
+	*/
+	bool updateAllFace;
+	/**
+			@brief color-cubemap update frequency
+	*/
+	unsigned long cubeMapUpdateInterval;
+	/**
+			@brief color-cubemap resolution
+	*/
+	unsigned int cubeMapResolution;
+	/**
+			@brief color-cubemap resolution
+	*/
+	unsigned int reducedCubeMapResolution;
+	/**
+		@brief a flag to skip cube face update if object is far away or too small.
+
+		@see distTolerance
+	*/
+	bool useDistCalc;
+	/**
+		@brief a flag to skip cube face update the face is neglible.
+
+		@see angleTolerance
+	*/
+	bool useFaceAngleCalc;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float distTolerance;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float angleTolerance;
+	/**
+			@brief offset in frame number used during update
+	*/
+	unsigned long startFrame;	
+	
+
+	/**
+			@brief Called if the changed run is a ColorCubeMapRenderingRun.
+
+			@param run pointer to the changed ColorCubeMapRenderingRun
+	*/		
+	virtual void reducedCubeMapRunChanged(RenderingRun* run) = 0;
+	/**
+			@brief Called if the changed run is a ColorCubeMapRenderingRun.
+
+			@param run pointer to the changed ColorCubeMapRenderingRun
+	*/		
+	virtual void colorCubeMapRunChanged(RenderingRun* run) = 0;
+	/**
+			@brief Creates a ColorCubeMapRenderingRun.
+
+			@return the new ColorCubeMapRenderingRun instance.
+	*/
+	virtual RenderingRun* createColorCubeMapRun() = 0;
+	/**
+			@brief Creates a ColorCubeMapRenderingRun.
+
+			@return the new ColorCubeMapRenderingRun instance.
+	*/
+	virtual RenderingRun* createReducedCubeMapRun() = 0;
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/CubeMapRenderTechnique.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/CubeMapRenderTechnique.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/CubeMapRenderTechnique.h	(revision 780)
@@ -0,0 +1,103 @@
+#pragma once
+#include "RenderTechnique.h"
+
+/**
+	@brief Base abstract class of rendering a color cube map. 
+	
+	This technique defines that the final rendering of an object needs a cubmap of the colors of the surrounding environment.
+*/
+class CubeMapRenderTechnique : virtual public RenderTechnique
+{
+public:
+	/**
+		@brief Constructor.
+
+		@param startFrame				adds an offset to the current frame number to help evenly distribute updates between frames
+		@param cubeMapUpdateInterval	update frequency
+		@param cubeMapResolution		color cubemap resolution
+		@param useDistCalc				flag to skip cube face update if object is far away
+		@param useFaceAngleCalc			flag to skip cube face update if face is neglible
+		@param distTolerance			distance tolerance used in face skip
+		@param angleTolerance			angle tolerance used in face skip
+		@param updateAllFace			defines if all cubemap faces should be updated in a frame or only one face per frame
+		@param parentRenderable			the object to operate on
+		@param parentTechniqueGroup		the TechniqueGroup this RenderedTechnique is attached to
+	*/
+	CubeMapRenderTechnique( unsigned long startFrame,
+							unsigned long cubeMapUpdateInterval,
+							unsigned int cubeMapResolution,
+							bool useDistCalc,
+							bool useFaceAngleCalc,
+							float distTolerance,
+							float angleTolerance,
+							bool updateAllFace,
+							ElementaryRenderable* parentRenderable,
+							TechniqueGroup* parentTechniqueGroup
+							);
+	~CubeMapRenderTechnique();
+	
+	/**
+			@brief Updates the resources in the given frame.
+
+			@param frameNum the actual framenumber
+	*/
+	virtual void update(unsigned long frameNum);
+
+	//inherited
+	void runChanged(RenderingRunType runType, RenderingRun* run);
+
+protected:
+	/**
+		@brief a flag to skip cube face update if object is far away or too small.
+
+		@see distTolerance
+	*/
+	bool useDistCalc;
+	/**
+		@brief a flag to skip cube face update the face is neglible.
+
+		@see angleTolerance
+	*/
+	bool useFaceAngleCalc;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float distTolerance;
+	/**
+		@brief A value used in face skip test.
+
+		The higher this value gets the more precise, but slower the method will be.
+	*/
+	float angleTolerance;
+	/**
+			@brief defines if all cubemap faces should be updated in a frame or only one face per frame
+	*/
+    bool updateAllFace;
+	/**
+			@brief color-cubemap update frequency
+	*/
+	unsigned long cubeMapUpdateInterval;
+	/**
+			@brief color-cubemap resolution
+	*/
+	unsigned int cubeMapResolution;
+	/**
+			@brief offset in frame number used during update
+	*/
+	unsigned long startFrame;	
+	
+	/**
+			@brief Called if the changed run is a ColorCubeMapRenderingRun.
+
+			@param run pointer to the changed ColorCubeMapRenderingRun
+	*/		
+	virtual void colorCubeMapRunChanged(RenderingRun* run) = 0;
+	/**
+			@brief Creates a ColorCubeMapRenderingRun.
+
+			@return the new ColorCubeMapRenderingRun instance.
+	*/
+	virtual RenderingRun* createColorCubeMapRun() = 0;
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/CausticCasterRenderTechnique.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/CausticCasterRenderTechnique.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/CausticCasterRenderTechnique.h	(revision 780)
@@ -0,0 +1,103 @@
+#pragma once
+#include "RenderTechnique.h"
+
+/**
+	@brief Base abstract class of a caustic caster. 
+	
+	This technique defines that the given object needs a caustic photon map and a caustic cubemap.
+	These resources will be updated by caustic recievers.
+*/
+class CausticCasterRenderTechnique : virtual public RenderTechnique
+{
+public:
+	/**
+		@brief Constructor.
+
+		@param startFrame					adds an offset to the current frame number to help evenly distribute updates between frames
+		@param photonMapUpdateInterval		photon map and caustic cubemap update frequency
+		@param photonMapResolution			photon map resolution
+		@param causticCubeMapResolution		caustic cubemap resolution
+		@param updateAllFace				defines if all cubemap faces should be updated in a frame or only one face per frame
+		@param useDistance					tells if a distance cubemap impostor should be used in photon hit calculation (recommended)
+		@param parentRenderable				the object to operate on
+		@param parentTechniqueGroup			the TechniqueGroup this RenderedTechnique is attached to
+	*/
+	CausticCasterRenderTechnique( unsigned long startFrame,
+							unsigned long photonMapUpdateInterval,
+							unsigned int photonMapResolution,
+							unsigned int causticCubeMapResolution,
+							bool updateAllFace,
+							bool useDistance,
+							ElementaryRenderable* parentRenderable,
+							TechniqueGroup* parentTechniqueGroup
+							);
+	~CausticCasterRenderTechnique();
+	
+	//inherited
+	void runChanged(RenderingRunType runType, RenderingRun* run);
+
+	
+protected:
+	/**
+			@brief defines if all cubemap faces should be updated in a frame or only one face per frame
+	*/
+	bool updateAllFace;							
+	/**
+			@brief tells if a distance cubemap impostor should be used in photon hit calculation (recommended)
+	*/
+	bool useDistance;
+    
+	/**
+			@brief photonmap update frequency
+	*/
+	unsigned long photonMapUpdateInterval;
+	/**
+			@brief photonmap resolution
+	*/
+	unsigned int photonMapResolution;
+	/**
+			@brief caustic cubemap resolution
+	*/
+	unsigned int causticCubeMapResolution;
+	/**
+			@brief offset in frame number used during update
+	*/
+	unsigned long startFrame;	
+	
+	/**
+			@brief Called if the changed run is a PhotonMapRenderingRun.
+
+			@param run pointer to the changed PhotonMapRenderingRun
+	*/		
+	virtual void photonMapRunChanged(RenderingRun* run) = 0;
+	/**
+			@brief Called if the changed run is a CausticCubeMapRenderingRun.
+
+			@param run pointer to the changed CausticCubeMapRenderingRun
+	*/		
+	virtual void causticCubeMapRunChanged(RenderingRun* run) = 0;
+	/**
+			@brief Called if the changed run is a DistanceCubeMapRenderingRun.
+
+			@param run pointer to the changed DistanceCubeMapRenderingRun
+	*/	
+	virtual void distanceCubeMapRunChanged(RenderingRun* run) = 0;
+	/**
+			@brief Creates a PhotonMapRenderingRun.
+
+			@return the new PhotonMapRenderingRun instance.
+	*/
+	virtual RenderingRun* createPhotonMapRun() = 0;
+	/**
+			@brief Creates a CausticCubeMapRenderingRun.
+
+			@return the new CausticCubeMapRenderingRun instance.
+	*/
+	virtual RenderingRun* createCausticCubeMapRun() = 0;
+	/**
+			@brief Creates a DistanceCubeMapRenderingRun.
+
+			@return the new DistanceCubeMapRenderingRun instance.
+	*/
+	virtual RenderingRun* createDistanceCubeMapRun() = 0;
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/DepthShadowRecieverRenderTechnique.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/DepthShadowRecieverRenderTechnique.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/DepthShadowRecieverRenderTechnique.h	(revision 780)
@@ -0,0 +1,26 @@
+#pragma once
+#include "RenderTechnique.h"
+
+/**
+	@brief Base abstract class of rendering an object that recieves shadows with depth map shadow technique. 	
+*/
+class DepthShadowRecieverRenderTechnique : virtual public RenderTechnique
+{
+public:
+	/**
+		@brief Constructor.
+
+		@param parentRenderable the object to operate on
+		@param parentTechniqueGroup the TechniqueGroup this RenderedTechnique is attached to
+	*/
+	DepthShadowRecieverRenderTechnique( 
+							ElementaryRenderable* parentRenderable,
+							TechniqueGroup* parentTechniqueGroup
+							);
+	~DepthShadowRecieverRenderTechnique();
+	
+	
+	
+protected:		
+	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/CausticRecieverRenderTechnique.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/CausticRecieverRenderTechnique.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechniques/CausticRecieverRenderTechnique.h	(revision 780)
@@ -0,0 +1,24 @@
+#pragma once
+#include "RenderTechnique.h"
+
+/**
+	@brief Base abstract class of rendering a caustic reciever object.	
+*/
+class CausticRecieverRenderTechnique : virtual public RenderTechnique
+{
+public:
+	/**
+		@brief Constructor.
+
+		@param parentRenderable			the object to operate on
+		@param parentTechniqueGroup		the TechniqueGroup this RenderedTechnique is attached to
+	*/
+	CausticRecieverRenderTechnique( 
+							ElementaryRenderable* parentRenderable,
+							TechniqueGroup* parentTechniqueGroup
+							);
+	~CausticRecieverRenderTechnique();	
+	
+protected:		
+	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRun.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRun.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderingRun.h	(revision 780)
@@ -0,0 +1,87 @@
+#pragma once
+
+/**
+	@brief Base class for a computation module.
+
+	A run typically - but not necessarily or exclusively - consists of a series of rendering passes.
+	A run is alway created to compute some kind of resource for a RenderTechnique. The type of the resource 
+	depends on the type of the run (typically it is a Texture). Runs can be attached to only one Technique 
+	(if only one of the Techniques attached to a Renderable can use this resource, and each Renderable requires a unique one),
+	or can be shared between several Techniques and Renderables (for example a cube-map). 
+	Runs are updated only once in a frame, but not necessary in each frame.	
+*/
+class RenderingRun
+{	
+public:
+	
+	/**
+		@brief Constructor.
+	*/
+	RenderingRun(unsigned long startFrame,
+					unsigned long updateInterval);
+
+	/**
+		@brief Calls updateFrame() if the run needs update according to its starting frame and update interval and has not been allready updated in this frame.			
+	*/
+	void update(unsigned long frameNum)
+	{
+		if(needUpdate(frameNum))
+		{
+			updateFrame(frameNum);
+			lastupdated = frameNum;			
+		}
+	}
+	
+	/**
+		@brief Conversion to OgreRenderRun.
+
+		This function is needed because of virtual inheritance.
+	*/
+	virtual class OgreRenderingRun* asOgreRenderingRun(){return 0;}
+
+protected:
+
+	/**
+			@brief Returns if this run needs update
+			
+			@param frameNum current frame number			
+		*/
+		bool needUpdate(unsigned long frameNum )
+		{
+			if(frameNum == lastupdated )
+				return false;			
+
+			if ( updateInterval == 0 ) //update only once
+			{
+				if( lastupdated == -1)
+				{
+					return true;
+				}
+				return false;
+			}
+			else
+			{
+				return ((frameNum - startFrame) % updateInterval == 0);
+			}
+		}
+
+	/**
+		@brief The number of the last frame this run was updated.
+	*/
+	unsigned long lastupdated;
+	/**
+		@brief The number of the frame this run should be updated first.
+	*/
+	unsigned long startFrame;
+	/**
+		@brief Refresh frequency in frames.
+	*/
+	unsigned long updateInterval;
+	/**
+		@brief This function does the actual update in a frame.
+		
+		@param frameNum current frame number
+	*/
+	virtual void updateFrame(unsigned long frameNum){}
+	
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/TechniqueGroup.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/TechniqueGroup.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/TechniqueGroup.h	(revision 780)
@@ -0,0 +1,87 @@
+#pragma once
+#include "SharedRuns.h"
+#include "RenderTechnique.h"
+
+/**
+	@brief Base abstract class for a collection techniques.
+
+	This is a helper class, to collect RenderTechnique instances bound to a single renderable.
+	It's main task is to recieve and forward messages to each RenderTechnique.
+*/
+class TechniqueGroup
+{
+public:
+	/**
+		@brief Constructor.
+	*/
+	TechniqueGroup(void);
+	
+
+	/**
+		@brief Adds an empty SharedRuns parent. 
+		
+		Used after creating a new TechniqueGroup.
+
+		@param sharedRuns the SharedRun instance the RenderTechniques will use.
+	*/
+	void addSharedRun(SharedRuns* sharedRuns){parentSharedRuns = sharedRuns;
+												parentSharedRuns->setTechniqueGroup(this);}
+	/**
+		@brief Retrieves the shared runs.
+
+		@result the SharedRun instance the RenderTechniques use.
+	*/
+	SharedRuns* getSharedRuns(){return parentSharedRuns;}
+	/**
+		@brief Adds a rendertechnique to the group.
+
+		@param technique the RenderTechnique instance to add.
+	*/
+	virtual void addRenderTechnique(RenderTechnique* technique)=0;
+	/**
+		@brief Updates all rendertechniques
+
+		@param framenum current framenumber
+	*/
+	virtual void update(unsigned long frameNum) = 0;
+	/**
+		@brief Called after one of he shared runs changes.
+
+		This message will be forwarded to each RenderTechique.
+		
+		@param runType enum describing the type of the changed run
+		@param run pointer to the changed RenderingRun
+	*/
+	virtual void runChanged(RenderingRunType runType, RenderingRun* run) = 0;
+	/**
+		@brief Called after one of he shared runs updates.
+		
+		This message will be forwarded to each RenderTechique.
+		
+		@param runType enum describing the type of the updated run
+		@param run pointer to the updated RenderingRun
+	*/	
+	virtual void runUpdated(RenderingRunType runType, RenderingRun* run) = 0;
+	
+	/**
+		@brief Updates the connected SharedRuns boundary.
+	*/
+	virtual void updateBounds()
+	{
+		parentSharedRuns->updateBounds();
+	}
+	/**
+		@brief Validates the connected SharedRuns instance.
+	*/
+	virtual void validateSharedRuns()
+	{
+		parentSharedRuns->validate();
+	}
+
+protected:
+
+	/**
+		@brief Pointer to the connected SharedRuns instance each technique uses.
+	*/
+	SharedRuns* parentSharedRuns;
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechnique.h
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechnique.h	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/include/RenderTechnique.h	(revision 780)
@@ -0,0 +1,83 @@
+#pragma once 
+#include "ElementaryRenderable.h"
+#include "SharedRuns.h"
+
+class TechniqueGroup;
+
+/**
+	@brief Base class for a rendering technique.
+
+	A RenderTechnique gives a  description about how to render an object, and what kind of resources are needed to do this.
+	A RenderTechnique does not define the whole process of rendering only one property of the display, 
+	example: this object will need a cubemap or this object is going to be a caustic caster. 
+	RenderTechniques usually operate on one pass of the rendering, and bind some resources to this pass 
+	(for example it can bind a texture or cubemap tho the given pass).
+
+	RenderTechniques are always bound to a Renderable, and a SharedRuns object. The Renderable defines the object to
+	operate on. SharedRuns is to register RenderingRuns which can be shared between other RenderTechniques 
+	(example: a cubemap can be used by other techniques too, or even more than one object can share a single cubemap).
+*/
+class RenderTechnique
+{
+	public:
+		/**
+			@brief Constructor.
+
+			@param parentRenderable the object to operate on
+			@param parentTechniqueGroup the TechniqueGroup this RenderedTechnique is attached to
+		*/
+		RenderTechnique(
+						ElementaryRenderable* parentRenderable,
+						TechniqueGroup* parentTechniqueGroup);
+		
+		/**
+			@brief Updates the resources in the given frame.
+			
+			A RenderTechnique is usually need some resources from several runs, so these runs will be updated.
+			
+			@param frameNum the actual framenumber
+		*/
+		virtual void update(unsigned long frameNum){}
+		/**
+			@brief Called after one of he shared runs changes.
+			
+			@param runType enum describing the type of the changed run
+			@param run pointer to the changed RenderingRun
+		*/
+		virtual void runChanged(RenderingRunType runType, RenderingRun* run){}
+		/**
+			@brief Called after one of he shared runs updates.
+			
+			@param runType enum describing the type of the updated run
+			@param run pointer to the updated RenderingRun
+		*/
+		virtual void runUpdated(RenderingRunType runType, RenderingRun* run){}
+		/**
+			@brief Conversion to OgreRenderTechnique.
+
+			This function is needed because of virtual inheritance.
+		*/
+		virtual class OgreRenderTechnique* asOgreRenderTechnique(){return 0;}
+		/**
+			@brief Retrieves the renderable this technique operates on.
+		*/
+		ElementaryRenderable* getParentRenderable(){return parentRenderable;}
+				
+	protected:
+
+		/**
+			@brief The renderable this technique operates on.
+		*/
+		ElementaryRenderable* parentRenderable;
+		/**
+			@brief The TechniqueGroup this RenderedTechnique is attached to.
+		*/
+		TechniqueGroup* parentTechniqueGroup;
+		/**
+			@brief The SharedRuns this RenderedTechnique is attached to.
+		*/
+		SharedRuns* sharedRuns;	
+		
+		
+		
+};
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/Demo_RenderToTexture.vcproj.bak
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/Demo_RenderToTexture.vcproj.bak	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/Demo_RenderToTexture.vcproj.bak	(revision 780)
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="windows-1250"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.10"
+	Name="Demo_RenderToTexture"
+	ProjectGUID="{109F610E-9B23-4D05-819E-A7F27A42AA94}"
+	Keyword="Win32Proj">
+	<Platforms>
+		<Platform
+			Name="Win32"/>
+	</Platforms>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="..\bin\$(ConfigurationName)"
+			IntermediateDirectory="..\obj\$(ConfigurationName)"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				ImproveFloatingPointConsistency="TRUE"
+				AdditionalIncludeDirectories="..\include;..\..\Common\include;..\..\..\OgreMain\include"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;"
+				MinimalRebuild="TRUE"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				EnableFunctionLevelLinking="TRUE"
+				RuntimeTypeInfo="TRUE"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="4"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="OgreMain_d.lib"
+				OutputFile="$(OutDir)/Demo_RenderToTexture.exe"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="&quot;..\..\..\OgreMain\lib\$(ConfigurationName)&quot;"
+				GenerateDebugInformation="TRUE"
+				ProgramDatabaseFile="$(OutDir)/Demo_RenderToTexture.pdb"
+				SubSystem="1"
+				OptimizeForWindows98="1"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"
+				CommandLine="copy $(OutDir)\$(TargetFileName) ..\..\Common\Bin\$(ConfigurationName)"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+			<Tool
+				Name="VCManagedWrapperGeneratorTool"/>
+			<Tool
+				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="..\bin\$(ConfigurationName)"
+			IntermediateDirectory="..\obj\$(ConfigurationName)"
+			ConfigurationType="1"
+			CharacterSet="2"
+			WholeProgramOptimization="TRUE">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="2"
+				GlobalOptimizations="TRUE"
+				InlineFunctionExpansion="1"
+				EnableIntrinsicFunctions="TRUE"
+				ImproveFloatingPointConsistency="TRUE"
+				FavorSizeOrSpeed="1"
+				OmitFramePointers="TRUE"
+				OptimizeForProcessor="2"
+				OptimizeForWindowsApplication="TRUE"
+				AdditionalIncludeDirectories="..\include;..\..\Common\include;..\..\..\OgreMain\include"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+				StringPooling="TRUE"
+				MinimalRebuild="TRUE"
+				RuntimeLibrary="2"
+				BufferSecurityCheck="FALSE"
+				EnableFunctionLevelLinking="TRUE"
+				RuntimeTypeInfo="TRUE"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="OgreMain.lib"
+				OutputFile="$(OutDir)/Demo_RenderToTexture.exe"
+				LinkIncremental="1"
+				AdditionalLibraryDirectories="&quot;..\..\..\OgreMain\lib\$(ConfigurationName)&quot;;C:\ogrenew\OgreMain\lib\Release"
+				GenerateDebugInformation="FALSE"
+				SubSystem="1"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				OptimizeForWindows98="1"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"
+				CommandLine="copy $(OutDir)\$(TargetFileName) ..\..\Common\Bin\$(ConfigurationName)"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+			<Tool
+				Name="VCManagedWrapperGeneratorTool"/>
+			<Tool
+				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
+			<File
+				RelativePath="..\src\EmissionMapPassManager.cpp">
+			</File>
+			<File
+				RelativePath="..\src\ManagedOgreRenderTexturePass.cpp">
+			</File>
+			<File
+				RelativePath="..\src\OgreEffectWrapper.cpp">
+			</File>
+			<File
+				RelativePath="..\src\RenderToTexture.cpp">
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc">
+			<File
+				RelativePath="..\include\EmissionMapPassManager.h">
+			</File>
+			<File
+				RelativePath="..\include\ManagedOgreRenderTexturePass.h">
+			</File>
+			<File
+				RelativePath="..\include\OgreEffectWrapper.h">
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
+		</Filter>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/Demo_RenderToTexture.vcproj.old
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/Demo_RenderToTexture.vcproj.old	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/Demo_RenderToTexture.vcproj.old	(revision 780)
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding = "windows-1250"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.00"
+	Name="Demo_RenderToTexture"
+	ProjectGUID="{109F610E-9B23-4D05-819E-A7F27A42AA94}"
+	Keyword="Win32Proj">
+	<Platforms>
+		<Platform
+			Name="Win32"/>
+	</Platforms>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="..\bin\$(ConfigurationName)"
+			IntermediateDirectory="..\obj\$(ConfigurationName)"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				ImproveFloatingPointConsistency="TRUE"
+				AdditionalIncludeDirectories="..\include;..\..\Common\include;..\..\..\OgreMain\include"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;"
+				MinimalRebuild="TRUE"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				EnableFunctionLevelLinking="TRUE"
+				RuntimeTypeInfo="TRUE"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="4"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="OgreMain_d.lib"
+				OutputFile="$(OutDir)/Demo_RenderToTexture.exe"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="&quot;..\..\..\OgreMain\lib\$(ConfigurationName)&quot;"
+				GenerateDebugInformation="TRUE"
+				ProgramDatabaseFile="$(OutDir)/Demo_RenderToTexture.pdb"
+				SubSystem="1"
+				OptimizeForWindows98="1"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"
+				CommandLine="copy $(OutDir)\$(TargetFileName) ..\..\Common\Bin\$(ConfigurationName)"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="..\bin\$(ConfigurationName)"
+			IntermediateDirectory="..\obj\$(ConfigurationName)"
+			ConfigurationType="1"
+			CharacterSet="2"
+			WholeProgramOptimization="TRUE">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="2"
+				GlobalOptimizations="TRUE"
+				InlineFunctionExpansion="1"
+				EnableIntrinsicFunctions="TRUE"
+				ImproveFloatingPointConsistency="TRUE"
+				FavorSizeOrSpeed="1"
+				OmitFramePointers="TRUE"
+				OptimizeForProcessor="2"
+				OptimizeForWindowsApplication="TRUE"
+				AdditionalIncludeDirectories="..\include;..\..\Common\include;..\..\..\OgreMain\include"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+				StringPooling="TRUE"
+				MinimalRebuild="TRUE"
+				RuntimeLibrary="2"
+				BufferSecurityCheck="FALSE"
+				EnableFunctionLevelLinking="TRUE"
+				RuntimeTypeInfo="TRUE"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="OgreMain.lib"
+				OutputFile="$(OutDir)/Demo_RenderToTexture.exe"
+				LinkIncremental="1"
+				AdditionalLibraryDirectories="&quot;..\..\..\OgreMain\lib\$(ConfigurationName)&quot;;C:\ogrenew\OgreMain\lib\Release"
+				GenerateDebugInformation="FALSE"
+				SubSystem="1"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				OptimizeForWindows98="1"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"
+				CommandLine="copy $(OutDir)\$(TargetFileName) ..\..\Common\Bin\$(ConfigurationName)"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+		</Configuration>
+	</Configurations>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
+			<File
+				RelativePath="..\src\EmissionMapPassManager.cpp">
+			</File>
+			<File
+				RelativePath="..\src\ManagedOgreRenderTexturePass.cpp">
+			</File>
+			<File
+				RelativePath="..\src\OgreEffectWrapper.cpp">
+			</File>
+			<File
+				RelativePath="..\src\OrigVismapPass.cpp">
+			</File>
+			<File
+				RelativePath="..\src\RenderToTexture.cpp">
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc">
+			<File
+				RelativePath="..\include\EmissionMapPassManager.h">
+			</File>
+			<File
+				RelativePath="..\include\ManagedOgreRenderTexturePass.h">
+			</File>
+			<File
+				RelativePath="..\include\OgreEffectWrapper.h">
+			</File>
+			<File
+				RelativePath="..\include\OrigVismapPass.h">
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
+		</Filter>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/IllumModule-ndsproperties.xml
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/IllumModule-ndsproperties.xml	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/IllumModule-ndsproperties.xml	(revision 780)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<NDSProject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" supplier="Nokia">
+  <updateMmpFile>true</updateMmpFile>
+  <pkgFile>sis\IllumModule.pkg</pkgFile>
+  <pkgUpdate>true</pkgUpdate>
+  <pkgGeneration>true</pkgGeneration>
+  <lang>EN</lang>
+  <updateContextHelp>true</updateContextHelp>
+</NDSProject>
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/illummodule.vcproj
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/illummodule.vcproj	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/illummodule.vcproj	(revision 780)
@@ -0,0 +1,265 @@
+<?xml version="1.0" encoding="windows-1250"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.10"
+	Name="IllumModule"
+	ProjectGUID="{109F610E-9B23-4D05-819E-A7F27A42AA94}"
+	Keyword="Win32Proj">
+	<Platforms>
+		<Platform
+			Name="Win32"/>
+	</Platforms>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="..\bin\$(ConfigurationName)"
+			IntermediateDirectory="..\obj\$(ConfigurationName)"
+			ConfigurationType="4"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				ImproveFloatingPointConsistency="TRUE"
+				AdditionalIncludeDirectories="..\include;..\include\RenderingRuns;..\include\RenderTechniques"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
+				MinimalRebuild="TRUE"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				EnableFunctionLevelLinking="TRUE"
+				RuntimeTypeInfo="TRUE"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="4"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLibrarianTool"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"/>
+			<Tool
+				Name="VCManagedWrapperGeneratorTool"/>
+			<Tool
+				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="..\bin\$(ConfigurationName)"
+			IntermediateDirectory="..\obj\$(ConfigurationName)"
+			ConfigurationType="4"
+			CharacterSet="2"
+			WholeProgramOptimization="TRUE">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="2"
+				GlobalOptimizations="TRUE"
+				InlineFunctionExpansion="1"
+				EnableIntrinsicFunctions="TRUE"
+				ImproveFloatingPointConsistency="TRUE"
+				FavorSizeOrSpeed="1"
+				OmitFramePointers="TRUE"
+				OptimizeForProcessor="2"
+				OptimizeForWindowsApplication="TRUE"
+				AdditionalIncludeDirectories="..\include;..\include\RenderingRuns;..\include\RenderTechniques"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
+				StringPooling="TRUE"
+				MinimalRebuild="TRUE"
+				RuntimeLibrary="2"
+				BufferSecurityCheck="FALSE"
+				EnableFunctionLevelLinking="TRUE"
+				RuntimeTypeInfo="TRUE"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLibrarianTool"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"/>
+			<Tool
+				Name="VCManagedWrapperGeneratorTool"/>
+			<Tool
+				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
+			<File
+				RelativePath="..\src\ElementaryRenderable.cpp">
+			</File>
+			<File
+				RelativePath="..\src\IlluminationManager.cpp">
+			</File>
+			<File
+				RelativePath="..\src\RenderingRun.cpp">
+			</File>
+			<File
+				RelativePath="..\src\RenderTechnique.cpp">
+			</File>
+			<File
+				RelativePath="..\src\SharedRuns.cpp">
+			</File>
+			<File
+				RelativePath="..\src\TechniqueGroup.cpp">
+			</File>
+			<Filter
+				Name="RenderTechniques"
+				Filter="">
+				<File
+					RelativePath="..\src\RenderTechniques\CausticCasterRenderTechnique.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderTechniques\CausticRecieverRenderTechnique.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderTechniques\ConvolvedCubeMapRenderTechnique.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderTechniques\CubeMapRenderTechnique.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderTechniques\DepthShadowRecieverRenderTechnique.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderTechniques\DistanceCubeMapRenderTechnique.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderTechniques\SBBRenderTechnique.cpp">
+				</File>
+			</Filter>
+			<Filter
+				Name="RenderingRuns"
+				Filter="">
+				<File
+					RelativePath="..\src\RenderingRuns\CausticCubeMapRenderingRun.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderingRuns\ColorCubeMapRenderingRun.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderingRuns\DepthShadowMapRenderingRun.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderingRuns\DistanceCubeMapRenderingRun.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderingRuns\PhotonMapRenderingRun.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderingRuns\ReducedCubeMapRenderingRun.cpp">
+				</File>
+				<File
+					RelativePath="..\src\RenderingRuns\SceneCameraDepthRenderingRun.cpp">
+				</File>
+			</Filter>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc">
+			<File
+				RelativePath="..\include\ElementaryRenderable.h">
+			</File>
+			<File
+				RelativePath="..\include\IlluminationManager.h">
+			</File>
+			<File
+				RelativePath="..\include\RenderingRun.h">
+			</File>
+			<File
+				RelativePath="..\include\RenderTechnique.h">
+			</File>
+			<File
+				RelativePath="..\include\SharedRuns.h">
+			</File>
+			<File
+				RelativePath="..\include\TechniqueGroup.h">
+			</File>
+			<Filter
+				Name="RenderTechniques"
+				Filter="">
+				<File
+					RelativePath="..\include\RenderTechniques\CausticCasterRenderTechnique.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderTechniques\CausticRecieverRenderTechnique.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderTechniques\ConvolvedCubeMapRenderTechnique.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderTechniques\CubeMapRenderTechnique.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderTechniques\DepthShadowRecieverRenderTechnique.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderTechniques\DistanceCubeMapRenderTechnique.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderTechniques\SBBRenderTechnique.h">
+				</File>
+			</Filter>
+			<Filter
+				Name="RenderingRuns"
+				Filter="">
+				<File
+					RelativePath="..\include\RenderingRuns\CausticCubeMapRenderingRun.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderingRuns\ColorCubeMapRenderingRun.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderingRuns\DepthShadowMapRenderingRun.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderingRuns\DistanceCubeMapRenderingRun.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderingRuns\PhotonMapRenderingRun.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderingRuns\ReducedCubeMapRenderingRun.h">
+				</File>
+				<File
+					RelativePath="..\include\RenderingRuns\SceneCameraDepthRenderingRun.h">
+				</File>
+			</Filter>
+			<Filter
+				Name="Resource Files"
+				Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
+			</Filter>
+		</Filter>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Repository
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Repository	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Repository	(revision 780)
@@ -0,0 +1,1 @@
+ogrenew/Samples/RenderToTexture/scripts
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Root
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Root	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Root	(revision 780)
@@ -0,0 +1,1 @@
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Entries
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Entries	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Entries	(revision 780)
@@ -0,0 +1,3 @@
+/Demo_RenderToTexture.dsp/1.2/Wed Oct  6 00:04:08 2004/-kb/Tv1-0-0
+/Demo_RenderToTexture.vcproj/1.6/Tue Nov  2 21:52:41 2004//Tv1-0-0
+D
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Tag
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Tag	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/CVS/Tag	(revision 780)
@@ -0,0 +1,1 @@
+Nv1-0-0
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/illummodule.dsp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/illummodule.dsp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/scripts/illummodule.dsp	(revision 780)
@@ -0,0 +1,111 @@
+# Microsoft Developer Studio Project File - Name="Demo_RenderToTexture" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Application" 0x0101
+
+CFG=Demo_RenderToTexture - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE 
+!MESSAGE NMAKE /f "Demo_RenderToTexture.mak".
+!MESSAGE 
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE 
+!MESSAGE NMAKE /f "Demo_RenderToTexture.mak" CFG="Demo_RenderToTexture - Win32 Debug"
+!MESSAGE 
+!MESSAGE Possible choices for configuration are:
+!MESSAGE 
+!MESSAGE "Demo_RenderToTexture - Win32 Release" (based on "Win32 (x86) Application")
+!MESSAGE "Demo_RenderToTexture - Win32 Debug" (based on "Win32 (x86) Application")
+!MESSAGE 
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF  "$(CFG)" == "Demo_RenderToTexture - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "..\bin\Release"
+# PROP BASE Intermediate_Dir "..\obj\Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "..\bin\Release"
+# PROP Intermediate_Dir "..\obj\Release"
+# PROP Ignore_Export_Lib 1
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\Common\include" /I "..\..\..\OgreMain\include" /D "NDEBUG" /D "_MBCS" /D "_WINDOWS" /D "WIN32" /YX /FD /c
+# SUBTRACT CPP /Fr
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x809 /d "NDEBUG"
+# ADD RSC /l 0x809 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib OgreMain.lib /nologo /subsystem:windows /machine:I386 /out:"../../Common/Bin/Release/Demo_RenderToTexture.exe" /libpath:"..\..\..\OgreMain\lib\release"
+# SUBTRACT LINK32 /profile /debug
+
+!ELSEIF  "$(CFG)" == "Demo_RenderToTexture - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "..\bin\Demo_RenderToTexture___Win32_Debug"
+# PROP BASE Intermediate_Dir "..\obj\Demo_RenderToTexture___Win32_Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "..\bin\Debug"
+# PROP Intermediate_Dir "..\obj\Debug"
+# PROP Ignore_Export_Lib 1
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\include" /I "..\..\Common\include" /I "..\..\..\OgreMain\include" /D "_MBCS" /D "_WINDOWS" /D "_DEBUG" /D "WIN32" /FD /GZ /c
+# SUBTRACT CPP /Fr /YX /Yc /Yu
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x809 /d "_DEBUG"
+# ADD RSC /l 0x809 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib OgreMain.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"LIBCMT" /out:"../../Common/Bin/Debug/Demo_RenderToTexture.exe" /pdbtype:sept /libpath:"..\..\..\OgreMain\lib\debug"
+# SUBTRACT LINK32 /verbose
+
+!ENDIF 
+
+# Begin Target
+
+# Name "Demo_RenderToTexture - Win32 Release"
+# Name "Demo_RenderToTexture - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=..\src\RenderToTexture.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# End Group
+# End Target
+# End Project
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/SharedRuns.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/SharedRuns.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/SharedRuns.cpp	(revision 780)
@@ -0,0 +1,97 @@
+#include "..\include\sharedruns.h"
+#include "TechniqueGroup.h"
+
+SharedRuns::SharedRuns(void)
+{	
+	child1 = 0;
+	child2 = 0;
+	parent = 0;
+
+	childTechniques = 0;
+}
+
+
+SharedRuns* SharedRuns::getRoot()
+{
+	if(parent != 0)return parent->getRoot();
+	return this;
+}
+
+SharedRuns* SharedRuns::getRoot(RenderingRunType runType)
+{
+	if(parent != 0)
+		if(parent->hasOwnRun(runType))
+			return parent->getRoot(runType);
+	
+	if(hasOwnRun(runType))
+		return this;
+
+	return 0;
+}
+
+SharedRuns* SharedRuns::joinRuns(SharedRuns* otherRuns)
+{
+	SharedRuns* result = createInstance();
+	parent = result;
+	otherRuns->parent = result;
+	result->child1 = this;
+	result->child2 = otherRuns;
+
+	result->gatherRuns();
+	result->fireRunChanges();
+	result->updateBounds();
+
+	return result;
+}
+
+void SharedRuns::runChanged(RenderingRunType runType, RenderingRun* run)
+{
+	if(child1 != 0) child1->runChanged(runType, run);
+	if(child2 != 0) child2->runChanged(runType, run);
+	if(childTechniques != 0) childTechniques->runChanged(runType, run);
+}
+
+void SharedRuns::runUpdated(RenderingRunType runType, RenderingRun* run)
+{
+	if(child1 != 0) child1->runUpdated(runType, run);
+	if(child2 != 0) child2->runUpdated(runType, run);
+	if(childTechniques != 0) childTechniques->runUpdated(runType, run);
+}
+
+void SharedRuns::setVisible(bool visible)
+{
+	if(child1 != 0) 
+	{
+		child1->setVisible(visible);
+		child2->setVisible(visible);
+		return;
+	}
+
+	setRenderablesVisible(visible);
+}
+
+void SharedRuns::hide()
+{
+	if(child1 != 0) 
+	{
+		child1->hide();
+		child2->hide();
+		return;
+	}
+
+	hideRenderables();
+}
+
+void SharedRuns::restoreVisibility()
+{
+	if(child1 != 0) 
+	{
+		child1->restoreVisibility();
+		child2->restoreVisibility();
+		return;
+	}
+
+	restoreRenderableVisibility();
+}
+
+
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/IlluminationManager.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/IlluminationManager.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/IlluminationManager.cpp	(revision 780)
@@ -0,0 +1,7 @@
+//#include "ManagedOgreRenderTexturePass.h"
+#include "illuminationmanager.h"
+
+
+
+
+
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRun.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRun.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRun.cpp	(revision 780)
@@ -0,0 +1,11 @@
+#include "renderingrun.h"
+
+
+
+RenderingRun::RenderingRun(unsigned long startFrame,
+							unsigned long updateInterval)
+{
+	lastupdated = -1;
+	this->startFrame = startFrame;
+	this->updateInterval = updateInterval;
+}
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/TechniqueGroup.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/TechniqueGroup.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/TechniqueGroup.cpp	(revision 780)
@@ -0,0 +1,9 @@
+#include "techniquegroup.h"
+
+TechniqueGroup::TechniqueGroup(void)
+{
+	parentSharedRuns = 0;
+}
+
+
+
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/ColorCubeMapRenderingRun.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/ColorCubeMapRenderingRun.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/ColorCubeMapRenderingRun.cpp	(revision 780)
@@ -0,0 +1,51 @@
+#include "ColorCubeMapRenderingRun.h"
+
+
+
+ColorCubeMapRenderingRun::ColorCubeMapRenderingRun(unsigned long startFrame,
+														unsigned long updateInterval,
+														unsigned int resolution,
+													bool useDistCalc,
+													bool useFaceAngleCalc,
+													float distTolerance,
+													float angleTolerance,
+													bool updateAllFace)
+													:RenderingRun(startFrame, updateInterval)
+{
+	this->useDistCalc = useDistCalc;
+	this->useFaceAngleCalc = useFaceAngleCalc;
+	this->distTolerance = distTolerance;
+	this->angleTolerance = angleTolerance;
+	this->resolution = resolution;
+	this->updateAllFace = updateAllFace;
+
+	currentFace = 0;
+}
+
+void ColorCubeMapRenderingRun::updateFrame(unsigned long frameNum)
+{
+	if(updateAllFace)
+	{
+		for(int i=0;i<6;i++)
+		{
+			updateCubeFace(i);
+		}
+	}
+	else
+	{
+		if(lastupdated == -1 && updateInterval == 0)
+		{
+			for(int i=0;i<6;i++)
+			{
+				updateCubeFace(i);
+			}
+		}
+		else
+		{
+			if(faceNeedsUpdate(currentFace))
+				updateCubeFace(currentFace);
+
+			currentFace = (currentFace + 1) % 6;
+		}
+	}
+}
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/SceneCameraDepthRenderingRun.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/SceneCameraDepthRenderingRun.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/SceneCameraDepthRenderingRun.cpp	(revision 780)
@@ -0,0 +1,1 @@
+#include "SceneCameraDepthRenderingRun.h"
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/PhotonMapRenderingRun.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/PhotonMapRenderingRun.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/PhotonMapRenderingRun.cpp	(revision 780)
@@ -0,0 +1,1 @@
+#include "PhotonMapRenderingRun.h"
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/DistanceCubeMapRenderingRun.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/DistanceCubeMapRenderingRun.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/DistanceCubeMapRenderingRun.cpp	(revision 780)
@@ -0,0 +1,51 @@
+#include "DistanceCubeMapRenderingRun.h"
+
+
+
+DistanceCubeMapRenderingRun::DistanceCubeMapRenderingRun(unsigned long startFrame,
+														unsigned long updateInterval,
+														unsigned int resolution,
+														   bool useDistCalc,
+														   bool useFaceAngleCalc,
+														   float distTolerance,
+														   float angleTolerance,
+														   bool updateAllFace)
+														   :RenderingRun(startFrame, updateInterval)
+{
+	this->useDistCalc = useDistCalc;
+	this->useFaceAngleCalc = useFaceAngleCalc;
+	this->distTolerance = distTolerance;
+	this->angleTolerance = angleTolerance;
+	this->resolution = resolution;
+	this->updateAllFace = updateAllFace;
+
+	currentFace = 0;
+}
+
+void DistanceCubeMapRenderingRun::updateFrame(unsigned long frameNum)
+{
+	if(updateAllFace)
+	{
+		for(int i=0;i<6;i++)
+		{
+			updateCubeFace(i);
+		}
+	}
+	else
+	{
+		if(lastupdated == -1 && updateInterval == 0)
+		{
+			for(int i=0;i<6;i++)
+			{
+				updateCubeFace(i);
+			}
+		}
+		else
+		{
+			if(faceNeedsUpdate(currentFace))
+				updateCubeFace(currentFace);
+
+			currentFace = (currentFace + 1) % 6;
+		}
+	}
+}
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/CausticCubeMapRenderingRun.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/CausticCubeMapRenderingRun.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/CausticCubeMapRenderingRun.cpp	(revision 780)
@@ -0,0 +1,43 @@
+#include "CausticCubeMapRenderingRun.h"
+
+
+
+CausticCubeMapRenderingRun::CausticCubeMapRenderingRun(unsigned long startFrame,
+														unsigned long updateInterval,
+														unsigned int resolution,
+														bool updateAllFace)
+														:RenderingRun(startFrame, updateInterval)
+{
+	this->resolution = resolution;
+	this->updateAllFace = updateAllFace;
+	currentFace = 0;
+}
+
+void CausticCubeMapRenderingRun::updateFrame(unsigned long frameNum)
+{
+	
+	if(updateAllFace)
+	{
+		for(int i=0;i<6;i++)
+		{
+			updateCubeFace(i);
+		}
+	}
+	else
+	{
+		if(lastupdated == -1 && updateInterval == 0)
+		{
+			for(int i=0;i<6;i++)
+			{
+				updateCubeFace(i);
+			}
+		}
+		else
+		{
+			if(faceNeedsUpdate(currentFace))
+				updateCubeFace(currentFace);
+
+			currentFace = (currentFace + 1) % 6;
+		}
+	}
+}
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/DepthShadowMapRenderingRun.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/DepthShadowMapRenderingRun.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/DepthShadowMapRenderingRun.cpp	(revision 780)
@@ -0,0 +1,1 @@
+#include "DepthShadowMapRenderingRun.h"
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/ReducedCubeMapRenderingRun.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/ReducedCubeMapRenderingRun.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderingRuns/ReducedCubeMapRenderingRun.cpp	(revision 780)
@@ -0,0 +1,51 @@
+#include "ReducedCubeMapRenderingRun.h"
+
+
+
+ReducedCubeMapRenderingRun::ReducedCubeMapRenderingRun(unsigned long startFrame,
+														unsigned long updateInterval,
+														unsigned int resolution,
+														   bool useDistCalc,
+														   bool useFaceAngleCalc,
+														   float distTolerance,
+														   float angleTolerance,
+														   bool updateAllFace)
+														   :RenderingRun(startFrame, updateInterval)
+{
+	this->useDistCalc = useDistCalc;
+	this->useFaceAngleCalc = useFaceAngleCalc;
+	this->distTolerance = distTolerance;
+	this->angleTolerance = angleTolerance;
+	this->resolution = resolution;
+	this->updateAllFace = updateAllFace;
+
+	currentFace = 0;
+}
+
+void ReducedCubeMapRenderingRun::updateFrame(unsigned long frameNum)
+{
+	if(updateAllFace)
+	{
+		for(int i=0;i<6;i++)
+		{
+			updateCubeFace(i);
+		}
+	}
+	else
+	{
+		if(lastupdated == -1 && updateInterval == 0)
+		{
+			for(int i=0;i<6;i++)
+			{
+				updateCubeFace(i);
+			}
+		}
+		else
+		{
+			if(faceNeedsUpdate(currentFace))
+				updateCubeFace(currentFace);
+
+			currentFace = (currentFace + 1) % 6;
+		}
+	}
+}
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechnique.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechnique.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechnique.cpp	(revision 780)
@@ -0,0 +1,13 @@
+#include "RenderTechnique.h"
+#include "TechniqueGroup.h"
+
+
+RenderTechnique::RenderTechnique(
+						ElementaryRenderable* parentRenderable,
+						TechniqueGroup* parentTechniqueGroup)
+{
+	this->parentRenderable = parentRenderable;
+	this->parentTechniqueGroup = parentTechniqueGroup;
+	this->sharedRuns = parentTechniqueGroup->getSharedRuns();	
+}
+
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/ConvolvedCubeMapRenderTechnique.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/ConvolvedCubeMapRenderTechnique.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/ConvolvedCubeMapRenderTechnique.cpp	(revision 780)
@@ -0,0 +1,51 @@
+#include "ConvolvedCubeMapRenderTechnique.h"
+
+
+ConvolvedCubeMapRenderTechnique::ConvolvedCubeMapRenderTechnique(unsigned long startFrame,
+												unsigned long cubeMapUpdateInterval,
+												unsigned int cubeMapResolution,												
+												unsigned int reducedCubeMapResolution,
+												bool useDistCalc,
+												bool useFaceAngleCalc,
+												float distTolerance,
+												float angleTolerance,
+												bool updateAllFace,
+												ElementaryRenderable* parentRenderable,
+												TechniqueGroup* parentTechniqueGroup)
+							:RenderTechnique( parentRenderable, parentTechniqueGroup)
+{
+	this->cubeMapUpdateInterval = cubeMapUpdateInterval;
+	this->cubeMapResolution = cubeMapResolution;
+	this->reducedCubeMapResolution = reducedCubeMapResolution;
+	this->useDistCalc = useDistCalc;
+	this->useFaceAngleCalc = useFaceAngleCalc;
+	this->distTolerance = distTolerance;
+	this->angleTolerance = angleTolerance;
+	this->startFrame = startFrame;
+	this->updateAllFace = updateAllFace;
+}
+
+ConvolvedCubeMapRenderTechnique::~ConvolvedCubeMapRenderTechnique()
+{
+
+}
+
+void ConvolvedCubeMapRenderTechnique::runChanged(RenderingRunType runType, RenderingRun* run)
+{
+	if(runType == ILLUMRUN_COLOR_CUBEMAP)
+	{
+		colorCubeMapRunChanged(run);
+		return;
+	}	
+	if(runType == ILLUMRUN_REDUCED_CUBEMAP)
+	{
+		reducedCubeMapRunChanged(run);
+		return;
+	}
+}
+
+ void ConvolvedCubeMapRenderTechnique::update(unsigned long frameNum)
+{	
+		sharedRuns->updateRun(ILLUMRUN_COLOR_CUBEMAP, frameNum);	
+		sharedRuns->updateRun(ILLUMRUN_REDUCED_CUBEMAP, frameNum);	
+}
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/CubeMapRenderTechnique.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/CubeMapRenderTechnique.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/CubeMapRenderTechnique.cpp	(revision 780)
@@ -0,0 +1,40 @@
+#include "CubeMapRenderTechnique.h"
+
+
+CubeMapRenderTechnique::CubeMapRenderTechnique(unsigned long startFrame,
+												unsigned long cubeMapUpdateInterval,
+												unsigned int cubeMapResolution,
+												bool useDistCalc,
+												bool useFaceAngleCalc,
+												float distTolerance,
+												float angleTolerance,
+												bool updateAllFace,
+												ElementaryRenderable* parentRenderable,
+												TechniqueGroup* parentTechniqueGroup)
+							:RenderTechnique( parentRenderable, parentTechniqueGroup)
+{
+	this->useDistCalc = useDistCalc;
+	this->useFaceAngleCalc = useFaceAngleCalc;
+	this->distTolerance = distTolerance;
+	this->angleTolerance = angleTolerance;	
+	this->cubeMapUpdateInterval = cubeMapUpdateInterval;
+	this->cubeMapResolution = cubeMapResolution;
+	this->startFrame = startFrame;
+	this->updateAllFace = updateAllFace;	
+}
+
+CubeMapRenderTechnique::~CubeMapRenderTechnique()
+{
+
+}
+
+void CubeMapRenderTechnique::runChanged(RenderingRunType runType, RenderingRun* run)
+{
+	if(runType == ILLUMRUN_COLOR_CUBEMAP)
+		colorCubeMapRunChanged(run);
+}
+
+ void CubeMapRenderTechnique::update(unsigned long frameNum)
+{	
+		sharedRuns->updateRun(ILLUMRUN_COLOR_CUBEMAP, frameNum);	
+}
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/CausticCasterRenderTechnique.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/CausticCasterRenderTechnique.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/CausticCasterRenderTechnique.cpp	(revision 780)
@@ -0,0 +1,37 @@
+#include "CausticCasterRenderTechnique.h"
+
+CausticCasterRenderTechnique::CausticCasterRenderTechnique(unsigned long startFrame,
+												unsigned long photonMapUpdateInterval,
+												unsigned int photonMapResolution,
+												unsigned int causticCubeMapResolution,
+												bool updateAllFace,
+												bool useDistance,
+												ElementaryRenderable* parentRenderable,
+												TechniqueGroup* parentTechniqueGroup)
+							:RenderTechnique( parentRenderable, parentTechniqueGroup)
+{
+	this->useDistance = useDistance;
+	this->photonMapUpdateInterval = photonMapUpdateInterval;
+	this->photonMapResolution = photonMapResolution;
+	this->causticCubeMapResolution = causticCubeMapResolution;
+	this->startFrame = startFrame;	
+	this->updateAllFace = updateAllFace;
+}
+
+CausticCasterRenderTechnique::~CausticCasterRenderTechnique()
+{
+
+}
+
+void CausticCasterRenderTechnique::runChanged(RenderingRunType runType, RenderingRun* run)
+{
+	if(runType == ILLUMRUN_PHOTONMAP)
+		photonMapRunChanged(run);
+	if(runType == ILLUMRUN_CAUSTIC_CUBEMAP)
+		causticCubeMapRunChanged(run);
+	if(runType == ILLUMRUN_DISTANCE_CUBEMAP)
+		distanceCubeMapRunChanged(run);	
+}
+ 
+
+
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/DepthShadowRecieverRenderTechnique.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/DepthShadowRecieverRenderTechnique.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/DepthShadowRecieverRenderTechnique.cpp	(revision 780)
@@ -0,0 +1,16 @@
+#include "DepthShadowRecieverRenderTechnique.h"
+
+
+DepthShadowRecieverRenderTechnique::DepthShadowRecieverRenderTechnique(
+												ElementaryRenderable* parentRenderable,
+												TechniqueGroup* parentTechniqueGroup)
+							:RenderTechnique( parentRenderable, parentTechniqueGroup)
+{
+	
+}
+
+DepthShadowRecieverRenderTechnique::~DepthShadowRecieverRenderTechnique()
+{
+
+}
+
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/CausticRecieverRenderTechnique.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/CausticRecieverRenderTechnique.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/CausticRecieverRenderTechnique.cpp	(revision 780)
@@ -0,0 +1,15 @@
+#include "CausticRecieverRenderTechnique.h"
+
+
+CausticRecieverRenderTechnique::CausticRecieverRenderTechnique(
+												ElementaryRenderable* parentRenderable,
+												TechniqueGroup* parentTechniqueGroup)
+							:RenderTechnique( parentRenderable, parentTechniqueGroup)
+{
+	
+}
+
+CausticRecieverRenderTechnique::~CausticRecieverRenderTechnique()
+{
+
+}
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/SBBRenderTechnique.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/SBBRenderTechnique.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/SBBRenderTechnique.cpp	(revision 780)
@@ -0,0 +1,17 @@
+#include "SBBRenderTechnique.h"
+
+
+SBBRenderTechnique::SBBRenderTechnique(
+												ElementaryRenderable* parentRenderable,
+												TechniqueGroup* parentTechniqueGroup)
+							:RenderTechnique( parentRenderable, parentTechniqueGroup)
+{
+	
+}
+
+SBBRenderTechnique::~SBBRenderTechnique()
+{
+
+}
+
+
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/DistanceCubeMapRenderTechnique.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/DistanceCubeMapRenderTechnique.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/RenderTechniques/DistanceCubeMapRenderTechnique.cpp	(revision 780)
@@ -0,0 +1,47 @@
+#include "DistanceCubeMapRenderTechnique.h"
+
+
+DistanceCubeMapRenderTechnique::DistanceCubeMapRenderTechnique(unsigned long startFrame,
+												unsigned long cubeMapUpdateInterval,
+												unsigned int cubeMapResolution,												
+												bool useDistCalc,
+												bool useFaceAngleCalc,
+												float distTolerance,
+												float angleTolerance,
+												bool updateAllFace,
+												ElementaryRenderable* parentRenderable,
+												TechniqueGroup* parentTechniqueGroup)
+							:RenderTechnique( parentRenderable, parentTechniqueGroup)
+{
+	this->useDistCalc = useDistCalc;
+	this->useFaceAngleCalc = useFaceAngleCalc;
+	this->distTolerance = distTolerance;
+	this->angleTolerance = angleTolerance;
+
+	this->cubeMapUpdateInterval = cubeMapUpdateInterval;
+	this->cubeMapResolution = cubeMapResolution;
+	this->startFrame = startFrame;
+	this->updateAllFace = updateAllFace;
+}
+
+DistanceCubeMapRenderTechnique::~DistanceCubeMapRenderTechnique()
+{
+
+}
+
+void DistanceCubeMapRenderTechnique::runChanged(RenderingRunType runType, RenderingRun* run)
+{
+	if(runType == ILLUMRUN_DISTANCE_CUBEMAP)
+		distanceCubeMapRunChanged(run);
+}
+
+void DistanceCubeMapRenderTechnique::runUpdated(RenderingRunType runType, RenderingRun* run)
+{
+	if(runType == ILLUMRUN_DISTANCE_CUBEMAP)
+		distanceCubeMapRunUpdated(run);
+}
+
+ void DistanceCubeMapRenderTechnique::update(unsigned long frameNum)
+{	
+	sharedRuns->updateRun(ILLUMRUN_DISTANCE_CUBEMAP, frameNum);	
+}
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/ElementaryRenderable.cpp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/ElementaryRenderable.cpp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/ElementaryRenderable.cpp	(revision 780)
@@ -0,0 +1,3 @@
+#include "..\include\elementaryrenderable.h"
+
+
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Repository
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Repository	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Repository	(revision 780)
@@ -0,0 +1,1 @@
+ogrenew/Samples/RenderToTexture/src
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Root
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Root	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Root	(revision 780)
@@ -0,0 +1,1 @@
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Entries
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Entries	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Entries	(revision 780)
@@ -0,0 +1,3 @@
+/Makefile.am/1.3/Sun Dec  5 13:38:12 2004//Tv1-0-0
+/RenderToTexture.cpp/1.13/Fri Feb  4 17:54:37 2005//Tv1-0-0
+D
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Tag
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Tag	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/src/CVS/Tag	(revision 780)
@@ -0,0 +1,1 @@
+Nv1-0-0
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/.keepme
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/.keepme	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/.keepme	(revision 780)
@@ -0,0 +1,1 @@
+keep me
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Repository
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Repository	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Repository	(revision 780)
@@ -0,0 +1,1 @@
+ogrenew/Samples/RenderToTexture/bin/Release
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Root
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Root	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Root	(revision 780)
@@ -0,0 +1,1 @@
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Entries
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Entries	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Entries	(revision 780)
@@ -0,0 +1,2 @@
+/.keepme/1.1/Wed Jan 22 09:15:03 2003//Tv1-0-0
+D
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Tag
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Tag	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Release/CVS/Tag	(revision 780)
@@ -0,0 +1,1 @@
+Nv1-0-0
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/.keepme
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/.keepme	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/.keepme	(revision 780)
@@ -0,0 +1,1 @@
+keep me
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Repository
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Repository	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Repository	(revision 780)
@@ -0,0 +1,1 @@
+ogrenew/Samples/RenderToTexture/bin/Debug
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Root
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Root	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Root	(revision 780)
@@ -0,0 +1,1 @@
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Entries
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Entries	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Entries	(revision 780)
@@ -0,0 +1,2 @@
+/.keepme/1.1/Wed Jan 22 09:15:02 2003//Tv1-0-0
+D
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Tag
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Tag	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/Debug/CVS/Tag	(revision 780)
@@ -0,0 +1,1 @@
+Nv1-0-0
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Repository
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Repository	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Repository	(revision 780)
@@ -0,0 +1,1 @@
+ogrenew/Samples/RenderToTexture/bin
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Root
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Root	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Root	(revision 780)
@@ -0,0 +1,1 @@
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Entries
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Entries	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Entries	(revision 780)
@@ -0,0 +1,2 @@
+D/Debug////
+D/Release////
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Tag
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Tag	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/bin/CVS/Tag	(revision 780)
@@ -0,0 +1,1 @@
+Tv1-0-0
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/Makefile.am
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/Makefile.am	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/Makefile.am	(revision 780)
@@ -0,0 +1,1 @@
+SUBDIRS = src 
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/.keepme
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/.keepme	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/.keepme	(revision 780)
@@ -0,0 +1,1 @@
+keep me
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/BuildLog.htm
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/BuildLog.htm	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/BuildLog.htm	(revision 780)
@@ -0,0 +1,94 @@
+<html>
+<head>
+<META HTTP-EQUIV="Content-Type" content="text/html; charset=windows-1250">
+</head>
+<body>
+<pre>
+<table width=100% bgcolor=#CFCFE5><tr> <td> <font face=arial size=+3>
+Build Log
+</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>
+<h3>------- Build started: Project: IllumModule, Configuration: Release|Win32 -------
+</h3>
+</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
+Command Lines
+</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Creating temporary file "d:\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\RSP000028.rsp" with contents
+[
+/O2 /Op /Ot /GL /G6 /GA /I "..\include" /I "..\include\RenderingRuns" /I "..\include\RenderTechniques" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Gm /EHsc /MD /GR /Fo"..\obj\Release/" /Fd"..\obj\Release/vc70.pdb" /W3 /c /Wp64 /Zi /TP
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderingRuns\SceneCameraDepthRenderingRun.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderingRuns\ReducedCubeMapRenderingRun.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderingRuns\PhotonMapRenderingRun.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderingRuns\DistanceCubeMapRenderingRun.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderingRuns\DepthShadowMapRenderingRun.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderingRuns\ColorCubeMapRenderingRun.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderingRuns\CausticCubeMapRenderingRun.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderTechniques\SBBRenderTechnique.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderTechniques\DistanceCubeMapRenderTechnique.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderTechniques\DepthShadowRecieverRenderTechnique.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderTechniques\CubeMapRenderTechnique.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderTechniques\ConvolvedCubeMapRenderTechnique.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderTechniques\CausticRecieverRenderTechnique.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderTechniques\CausticCasterRenderTechnique.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\TechniqueGroup.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\SharedRuns.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderTechnique.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\RenderingRun.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\IlluminationManager.cpp
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\src\ElementaryRenderable.cpp
+]
+Creating command line "cl.exe @d:\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\RSP000028.rsp /nologo"
+Creating temporary file "d:\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\RSP000029.rsp" with contents
+[
+/OUT:"..\bin\Release/IllumModule.lib" /NOLOGO
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\ElementaryRenderable.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\IlluminationManager.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\RenderingRun.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\RenderTechnique.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\SharedRuns.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\TechniqueGroup.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\CausticCasterRenderTechnique.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\CausticRecieverRenderTechnique.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\ConvolvedCubeMapRenderTechnique.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\CubeMapRenderTechnique.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\DepthShadowRecieverRenderTechnique.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\DistanceCubeMapRenderTechnique.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\SBBRenderTechnique.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\CausticCubeMapRenderingRun.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\ColorCubeMapRenderingRun.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\DepthShadowMapRenderingRun.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\DistanceCubeMapRenderingRun.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\PhotonMapRenderingRun.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\ReducedCubeMapRenderingRun.obj
+\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\SceneCameraDepthRenderingRun.obj
+]
+Creating command line "lib.exe @d:\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\RSP000029.rsp"
+</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
+Output Window
+</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Compiling...
+SceneCameraDepthRenderingRun.cpp
+ReducedCubeMapRenderingRun.cpp
+PhotonMapRenderingRun.cpp
+DistanceCubeMapRenderingRun.cpp
+DepthShadowMapRenderingRun.cpp
+ColorCubeMapRenderingRun.cpp
+CausticCubeMapRenderingRun.cpp
+SBBRenderTechnique.cpp
+DistanceCubeMapRenderTechnique.cpp
+DepthShadowRecieverRenderTechnique.cpp
+CubeMapRenderTechnique.cpp
+ConvolvedCubeMapRenderTechnique.cpp
+CausticRecieverRenderTechnique.cpp
+CausticCasterRenderTechnique.cpp
+TechniqueGroup.cpp
+SharedRuns.cpp
+RenderTechnique.cpp
+RenderingRun.cpp
+IlluminationManager.cpp
+ElementaryRenderable.cpp
+Creating library...
+SceneCameraDepthRenderingRun.obj : warning LNK4218: non-native module found; restarting link with /LTCG
+</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
+Results
+</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>
+Build log was saved at "file://d:\ogresvn\Gtp\Lib\Illum\IllumModule\IllumModule\obj\Release\BuildLog.htm"
+IllumModule - 0 error(s), 1 warning(s)</pre></table><table   width=100% height=20 bgcolor=#CFCFE5><tr><td><font face=arial size=+2>
+</font></table></body></html>
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Repository
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Repository	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Repository	(revision 780)
@@ -0,0 +1,1 @@
+ogrenew/Samples/RenderToTexture/obj/Release
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Root
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Root	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Root	(revision 780)
@@ -0,0 +1,1 @@
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Entries
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Entries	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Entries	(revision 780)
@@ -0,0 +1,2 @@
+/.keepme/1.1/Wed Jan 22 09:15:06 2003//Tv1-0-0
+D
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Tag
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Tag	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/CVS/Tag	(revision 780)
@@ -0,0 +1,1 @@
+Nv1-0-0
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/RSP00005C.rsp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/RSP00005C.rsp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/RSP00005C.rsp	(revision 780)
@@ -0,0 +1,20 @@
+/O2 /Op /Ot /GL /G6 /GA /I "..\include" /I "..\..\Common\include" /I "..\..\..\OgreMain\include" /I "..\include\RenderingRuns" /I "..\include\RenderTechniques" /I "C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (October 2005)\Include" /I "..\..\..\PlugIns\OctreeSceneManagerGT\include" /I "..\..\..\RenderSystems\Direct3D9GT\include" /I "..\..\..\RenderSystems\Direct3D9\include" /I "..\..\..\PlugIns\OctreeSceneManager\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "GAMETOOLS_ILLUMINATION_MODULE" /D "_MBCS" /Gm /EHsc /MD /GR /Fo"..\obj\Release/" /Fd"..\obj\Release/vc70.pdb" /W3 /c /Wp64 /Zi /TP
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\SceneCameraDepthRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\ReducedCubeMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\PhotonMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\DistanceCubeMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\DepthShadowMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\ColorCubeMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\CausticCubeMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\SBBRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\DistanceCubeMapRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\DepthShadowRecieverRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\CubeMapRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\ConvolvedCubeMapRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\CausticRecieverRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\CausticCasterRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\TechniqueGroup.cpp
+\ogre_gametools\Samples\IllumModule\src\SharedRuns.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\IlluminationManager.cpp
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/RSP000022.rsp
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/RSP000022.rsp	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Release/RSP000022.rsp	(revision 780)
@@ -0,0 +1,20 @@
+/O2 /Op /Ot /GL /G6 /GA /I "..\include" /I "..\..\Common\include" /I "..\..\..\OgreMain\include" /I "..\include\RenderingRuns" /I "..\include\RenderTechniques" /I "C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (October 2005)\Include" /I "..\..\..\PlugIns\OctreeSceneManagerGT\include" /I "..\..\..\RenderSystems\Direct3D9GT\include" /I "..\..\..\RenderSystems\Direct3D9\include" /I "..\..\..\PlugIns\OctreeSceneManager\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "GAMETOOLS_ILLUMINATION_MODULE" /D "_MBCS" /Gm /EHsc /MD /GR /Fo"..\obj\Release/" /Fd"..\obj\Release/vc70.pdb" /W3 /c /Wp64 /Zi /TP
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\SceneCameraDepthRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\ReducedCubeMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\PhotonMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\DistanceCubeMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\DepthShadowMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\ColorCubeMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRuns\CausticCubeMapRenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\SBBRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\DistanceCubeMapRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\DepthShadowRecieverRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\CubeMapRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\ConvolvedCubeMapRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\CausticRecieverRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechniques\CausticCasterRenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\TechniqueGroup.cpp
+\ogre_gametools\Samples\IllumModule\src\SharedRuns.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderTechnique.cpp
+\ogre_gametools\Samples\IllumModule\src\RenderingRun.cpp
+\ogre_gametools\Samples\IllumModule\src\IlluminationManager.cpp
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/.keepme
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/.keepme	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/.keepme	(revision 780)
@@ -0,0 +1,1 @@
+keep me
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/BuildLog.htm
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/BuildLog.htm	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/BuildLog.htm	(revision 780)
@@ -0,0 +1,15 @@
+<html>
+<head>
+<META HTTP-EQUIV="Content-Type" content="text/html; charset=windows-1250">
+</head>
+<body>
+<pre>
+<table width=100% bgcolor=#CFCFE5><tr> <td> <font face=arial size=+3>
+Build Log
+</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>
+<h3>------- Build started: Project: IllumModule, Configuration: Debug|Win32 -------
+</h3>
+</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
+Command Lines
+</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>IllumModule - up-to-date.</pre></table><table   width=100% height=20 bgcolor=#CFCFE5><tr><td><font face=arial size=+2>
+</font></table></body></html>
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Repository
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Repository	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Repository	(revision 780)
@@ -0,0 +1,1 @@
+ogrenew/Samples/RenderToTexture/obj/Debug
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Root
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Root	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Root	(revision 780)
@@ -0,0 +1,1 @@
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Entries
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Entries	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Entries	(revision 780)
@@ -0,0 +1,2 @@
+/.keepme/1.1/Wed Jan 22 09:15:05 2003//Tv1-0-0
+D
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Tag
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Tag	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/Debug/CVS/Tag	(revision 780)
@@ -0,0 +1,1 @@
+Nv1-0-0
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Repository
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Repository	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Repository	(revision 780)
@@ -0,0 +1,1 @@
+ogrenew/Samples/RenderToTexture/obj
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Root
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Root	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Root	(revision 780)
@@ -0,0 +1,1 @@
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Entries
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Entries	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Entries	(revision 780)
@@ -0,0 +1,2 @@
+D/Debug////
+D/Release////
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Tag
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Tag	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/obj/CVS/Tag	(revision 780)
@@ -0,0 +1,1 @@
+Tv1-0-0
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Repository
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Repository	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Repository	(revision 780)
@@ -0,0 +1,1 @@
+ogrenew/Samples/RenderToTexture
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Root
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Root	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Root	(revision 780)
@@ -0,0 +1,1 @@
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Entries
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Entries	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Entries	(revision 780)
@@ -0,0 +1,6 @@
+/Makefile.am/1.2/Wed Oct  6 00:04:08 2004//Tv1-0-0
+D/bin////
+D/misc////
+D/obj////
+D/scripts////
+D/src////
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Tag
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Tag	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/CVS/Tag	(revision 780)
@@ -0,0 +1,1 @@
+Nv1-0-0
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/.keepme
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/.keepme	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/.keepme	(revision 780)
@@ -0,0 +1,1 @@
+keep me
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Repository
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Repository	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Repository	(revision 780)
@@ -0,0 +1,1 @@
+ogrenew/Samples/RenderToTexture/misc
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Root
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Root	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Root	(revision 780)
@@ -0,0 +1,1 @@
+:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Entries
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Entries	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Entries	(revision 780)
@@ -0,0 +1,2 @@
+/.keepme/1.1/Wed Jan 22 09:15:03 2003//Tv1-0-0
+D
Index: GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Tag
===================================================================
--- GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Tag	(revision 780)
+++ GTP/trunk/Lib/Illum/IllumModule/IllumModule/misc/CVS/Tag	(revision 780)
@@ -0,0 +1,1 @@
+Nv1-0-0
