diff --git a/include/mitsuba/core/aabb.h b/include/mitsuba/core/aabb.h
index d2955f9f..570a4927 100644
--- a/include/mitsuba/core/aabb.h
+++ b/include/mitsuba/core/aabb.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__AABB_H)
#define __AABB_H
diff --git a/include/mitsuba/core/aabb_sse.h b/include/mitsuba/core/aabb_sse.h
index 2ff08f0f..d80b0553 100644
--- a/include/mitsuba/core/aabb_sse.h
+++ b/include/mitsuba/core/aabb_sse.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__AABB_SSE_H)
#define __AABB_SSE_H
diff --git a/include/mitsuba/core/appender.h b/include/mitsuba/core/appender.h
index eea5fdef..c87a85d5 100644
--- a/include/mitsuba/core/appender.h
+++ b/include/mitsuba/core/appender.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__APPENDER_H)
#define __APPENDER_H
diff --git a/include/mitsuba/core/bitmap.h b/include/mitsuba/core/bitmap.h
index 9e55979d..c1ce00e2 100644
--- a/include/mitsuba/core/bitmap.h
+++ b/include/mitsuba/core/bitmap.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__BITMAP_H)
#define __BITMAP_H
diff --git a/include/mitsuba/core/bsphere.h b/include/mitsuba/core/bsphere.h
index ad4ba5b4..14dc5afd 100644
--- a/include/mitsuba/core/bsphere.h
+++ b/include/mitsuba/core/bsphere.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__BSPHERE_H)
#define __BSPHERE_H
diff --git a/include/mitsuba/core/class.h b/include/mitsuba/core/class.h
index 61174f4b..ae32d4db 100644
--- a/include/mitsuba/core/class.h
+++ b/include/mitsuba/core/class.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__CLASS_H)
#define __CLASS_H
diff --git a/include/mitsuba/core/cobject.h b/include/mitsuba/core/cobject.h
index 9a6e1724..29135531 100644
--- a/include/mitsuba/core/cobject.h
+++ b/include/mitsuba/core/cobject.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__COBJECT_H)
#define __COBJECT_H
diff --git a/include/mitsuba/core/constants.h b/include/mitsuba/core/constants.h
index 474186aa..4ea8ebd7 100644
--- a/include/mitsuba/core/constants.h
+++ b/include/mitsuba/core/constants.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__CONSTANTS_H)
#define __CONSTANTS_H
diff --git a/include/mitsuba/core/cstream.h b/include/mitsuba/core/cstream.h
index 886b4f40..fca3aaf1 100644
--- a/include/mitsuba/core/cstream.h
+++ b/include/mitsuba/core/cstream.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__CSTREAM_H)
#define __CSTREAM_H
diff --git a/include/mitsuba/core/fifo.h b/include/mitsuba/core/fifo.h
index 62c9a74b..a4099b65 100644
--- a/include/mitsuba/core/fifo.h
+++ b/include/mitsuba/core/fifo.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__FIFO_H)
#define __FIFO_H
diff --git a/include/mitsuba/core/formatter.h b/include/mitsuba/core/formatter.h
index 64f16ec8..e4fadeee 100644
--- a/include/mitsuba/core/formatter.h
+++ b/include/mitsuba/core/formatter.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__FORMATTER_H)
#define __FORMATTER_H
diff --git a/include/mitsuba/core/frame.h b/include/mitsuba/core/frame.h
index c496d377..f163814c 100644
--- a/include/mitsuba/core/frame.h
+++ b/include/mitsuba/core/frame.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__FRAME_H)
#define __FRAME_H
diff --git a/include/mitsuba/core/fresolver.h b/include/mitsuba/core/fresolver.h
index 92ed5090..2733184b 100644
--- a/include/mitsuba/core/fresolver.h
+++ b/include/mitsuba/core/fresolver.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__FRESOLVER_H)
#define __FRESOLVER_H
diff --git a/include/mitsuba/core/fstream.h b/include/mitsuba/core/fstream.h
index d40c76be..b8373230 100644
--- a/include/mitsuba/core/fstream.h
+++ b/include/mitsuba/core/fstream.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__FSTREAM_H)
#define __FSTREAM_H
diff --git a/include/mitsuba/core/grid.h b/include/mitsuba/core/grid.h
index 7928ac59..11ff2a3a 100644
--- a/include/mitsuba/core/grid.h
+++ b/include/mitsuba/core/grid.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GRID_H)
#define __GRID_H
diff --git a/include/mitsuba/core/lock.h b/include/mitsuba/core/lock.h
index 4637f6d7..ad9d71b3 100644
--- a/include/mitsuba/core/lock.h
+++ b/include/mitsuba/core/lock.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__LOCK_H)
#define __LOCK_H
diff --git a/include/mitsuba/core/logger.h b/include/mitsuba/core/logger.h
index 3af26024..f7178f6a 100644
--- a/include/mitsuba/core/logger.h
+++ b/include/mitsuba/core/logger.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__LOGGER_H)
#define __LOGGER_H
diff --git a/include/mitsuba/core/mstream.h b/include/mitsuba/core/mstream.h
index 8ca50796..e756f481 100644
--- a/include/mitsuba/core/mstream.h
+++ b/include/mitsuba/core/mstream.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__MSTREAM_H)
#define __MSTREAM_H
diff --git a/include/mitsuba/core/netobject.h b/include/mitsuba/core/netobject.h
index db9d6078..16b4a891 100644
--- a/include/mitsuba/core/netobject.h
+++ b/include/mitsuba/core/netobject.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__NETOBJECT_H)
#define __NETOBJECT_H
diff --git a/include/mitsuba/core/normal.h b/include/mitsuba/core/normal.h
index 158bbfd9..82df009c 100644
--- a/include/mitsuba/core/normal.h
+++ b/include/mitsuba/core/normal.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__NORMAL_H)
#define __NORMAL_H
diff --git a/include/mitsuba/core/object.h b/include/mitsuba/core/object.h
index d2a860b5..5ed10dfc 100644
--- a/include/mitsuba/core/object.h
+++ b/include/mitsuba/core/object.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__OBJECT_H)
#define __OBJECT_H
diff --git a/include/mitsuba/core/octree.h b/include/mitsuba/core/octree.h
index 8ec30b62..07a0ecc3 100644
--- a/include/mitsuba/core/octree.h
+++ b/include/mitsuba/core/octree.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__OCTREE_H)
#define __OCTREE_H
diff --git a/include/mitsuba/core/pdf.h b/include/mitsuba/core/pdf.h
index 3e88457f..f6da2a39 100644
--- a/include/mitsuba/core/pdf.h
+++ b/include/mitsuba/core/pdf.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__PDF_H)
#define __PDF_H
diff --git a/include/mitsuba/core/platform.h b/include/mitsuba/core/platform.h
index 2efa4f46..0dbf0914 100644
--- a/include/mitsuba/core/platform.h
+++ b/include/mitsuba/core/platform.h
@@ -1,106 +1,124 @@
-#if !defined(__PLATFORM_H)
-#define __PLATFORM_H
-
-#if defined(_MSC_VER)
- /* Disable MSVC STL debug + security features (slow..!) */
- #ifdef _SECURE_SCL
- #undef _SECURE_SCL
- #endif
- #ifdef _SECURE_SCL_THROWS
- #undef _SECURE_SCL_THROWS
- #endif
- #ifdef _HAS_ITERATOR_DEBUGGING
- #undef _HAS_ITERATOR_DEBUGGING
- #endif
- #undef _STLP_DEBUG
-
- #define _SECURE_SCL 0
- #define _SECURE_SCL_THROWS 0
- #define _HAS_ITERATOR_DEBUGGING 0
- #define __MSVC__
- #define __WINDOWS__
-
- // Don't complain about perfectly fine ISO C++
- #define _CRT_SECURE_NO_WARNINGS
- #define _CRT_NONSTDC_NO_DEPRECATE
- #define _CRT_SECURE_NO_DEPRECATE
-
- #define _WIN32_WINNT 0x0501
- #define NOMINMAX
- #include // IPv6 support
- #include
-
- #pragma warning(disable : 4251) // 'field' : class 'A' needs to have dll-interface to be used by clients of class 'B'
- #pragma warning(disable : 4800) // 'type' : forcing value to bool 'true' or 'false' (performance warning)
- #include // Does not exist in MSVC. Use a replacement
- #if _MSC_VER >= 1400
- #include
- #include
- #include
- #pragma intrinsic(memset, memcmp, memcpy, strlen, strcmp, strcpy, _strset, strcat, fabs, abs)
- #endif
-#elif defined(__APPLE__)
- #define __OSX__
-#elif defined(__linux)
- #define __LINUX__
-#else
- #error Unknown OS
-#endif
-
-#ifdef __MSVC__
- #define MTS_MODULE_CORE 1
- #define MTS_MODULE_RENDER 2
- #define MTS_MODULE_HW 3
-
- #define MTS_EXPORT __declspec(dllexport)
- #define MTS_IMPORT __declspec(dllimport)
-
- #if MTS_BUILD_MODULE == MTS_MODULE_CORE
- #define MTS_EXPORT_CORE __declspec(dllexport)
- #else
- #define MTS_EXPORT_CORE __declspec(dllimport)
- #endif
- #if MTS_BUILD_MODULE == MTS_MODULE_RENDER
- #define MTS_EXPORT_RENDER __declspec(dllexport)
- #else
- #define MTS_EXPORT_RENDER __declspec(dllimport)
- #endif
- #if MTS_BUILD_MODULE == MTS_MODULE_HW
- #define MTS_EXPORT_HW __declspec(dllexport)
- #else
- #define MTS_EXPORT_HW __declspec(dllimport)
- #endif
-
- #define SIZE_T_FMT "%Iu"
-#else
- #define MTS_EXPORT
- #define MTS_EXPORT_CORE
- #define MTS_EXPORT_RENDER
- #define MTS_EXPORT_HW
- #include
-
- #define SIZE_T_FMT "%zd"
-#endif
-
-#define MTS_NAMESPACE_BEGIN namespace mitsuba {
-#define MTS_NAMESPACE_END }
-
-#include
-
-MTS_NAMESPACE_BEGIN
-#if defined(__OSX__)
-extern void __ubi_autorelease_init();
-extern void __ubi_autorelease_shutdown();
-extern void __ubi_autorelease_begin();
-extern void __ubi_autorelease_end();
-extern std::string __ubi_bundlepath();
-extern void __ubi_chdir_to_bundlepath();
-#define MTS_AUTORELEASE_BEGIN() __ubi_autorelease_begin();
-#define MTS_AUTORELEASE_END() __ubi_autorelease_end();
-#else
-#define MTS_AUTORELEASE_BEGIN()
-#define MTS_AUTORELEASE_END()
-#endif
-MTS_NAMESPACE_END
-
-#endif /* __PLATFORM_H */
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
+#if !defined(__PLATFORM_H)
+#define __PLATFORM_H
+
+#if defined(_MSC_VER)
+ /* Disable MSVC STL debug + security features (slow..!) */
+ #ifdef _SECURE_SCL
+ #undef _SECURE_SCL
+ #endif
+ #ifdef _SECURE_SCL_THROWS
+ #undef _SECURE_SCL_THROWS
+ #endif
+ #ifdef _HAS_ITERATOR_DEBUGGING
+ #undef _HAS_ITERATOR_DEBUGGING
+ #endif
+ #undef _STLP_DEBUG
+
+ #define _SECURE_SCL 0
+ #define _SECURE_SCL_THROWS 0
+ #define _HAS_ITERATOR_DEBUGGING 0
+ #define __MSVC__
+ #define __WINDOWS__
+
+ // Don't complain about perfectly fine ISO C++
+ #define _CRT_SECURE_NO_WARNINGS
+ #define _CRT_NONSTDC_NO_DEPRECATE
+ #define _CRT_SECURE_NO_DEPRECATE
+
+ #define _WIN32_WINNT 0x0501
+ #define NOMINMAX
+ #include // IPv6 support
+ #include
+
+ #pragma warning(disable : 4251) // 'field' : class 'A' needs to have dll-interface to be used by clients of class 'B'
+ #pragma warning(disable : 4800) // 'type' : forcing value to bool 'true' or 'false' (performance warning)
+ #include // Does not exist in MSVC. Use a replacement
+ #if _MSC_VER >= 1400
+ #include
+ #include
+ #include
+ #pragma intrinsic(memset, memcmp, memcpy, strlen, strcmp, strcpy, _strset, strcat, fabs, abs)
+ #endif
+#elif defined(__APPLE__)
+ #define __OSX__
+#elif defined(__linux)
+ #define __LINUX__
+#else
+ #error Unknown OS
+#endif
+
+#ifdef __MSVC__
+ #define MTS_MODULE_CORE 1
+ #define MTS_MODULE_RENDER 2
+ #define MTS_MODULE_HW 3
+
+ #define MTS_EXPORT __declspec(dllexport)
+ #define MTS_IMPORT __declspec(dllimport)
+
+ #if MTS_BUILD_MODULE == MTS_MODULE_CORE
+ #define MTS_EXPORT_CORE __declspec(dllexport)
+ #else
+ #define MTS_EXPORT_CORE __declspec(dllimport)
+ #endif
+ #if MTS_BUILD_MODULE == MTS_MODULE_RENDER
+ #define MTS_EXPORT_RENDER __declspec(dllexport)
+ #else
+ #define MTS_EXPORT_RENDER __declspec(dllimport)
+ #endif
+ #if MTS_BUILD_MODULE == MTS_MODULE_HW
+ #define MTS_EXPORT_HW __declspec(dllexport)
+ #else
+ #define MTS_EXPORT_HW __declspec(dllimport)
+ #endif
+
+ #define SIZE_T_FMT "%Iu"
+#else
+ #define MTS_EXPORT
+ #define MTS_EXPORT_CORE
+ #define MTS_EXPORT_RENDER
+ #define MTS_EXPORT_HW
+ #include
+
+ #define SIZE_T_FMT "%zd"
+#endif
+
+#define MTS_NAMESPACE_BEGIN namespace mitsuba {
+#define MTS_NAMESPACE_END }
+
+#include
+
+MTS_NAMESPACE_BEGIN
+#if defined(__OSX__)
+extern void __ubi_autorelease_init();
+extern void __ubi_autorelease_shutdown();
+extern void __ubi_autorelease_begin();
+extern void __ubi_autorelease_end();
+extern std::string __ubi_bundlepath();
+extern void __ubi_chdir_to_bundlepath();
+#define MTS_AUTORELEASE_BEGIN() __ubi_autorelease_begin();
+#define MTS_AUTORELEASE_END() __ubi_autorelease_end();
+#else
+#define MTS_AUTORELEASE_BEGIN()
+#define MTS_AUTORELEASE_END()
+#endif
+MTS_NAMESPACE_END
+
+#endif /* __PLATFORM_H */
diff --git a/include/mitsuba/core/plugin.h b/include/mitsuba/core/plugin.h
index 480348e4..8f4d7c1e 100644
--- a/include/mitsuba/core/plugin.h
+++ b/include/mitsuba/core/plugin.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__PLUGIN_H)
#define __PLUGIN_H
diff --git a/include/mitsuba/core/point.h b/include/mitsuba/core/point.h
index 1b32cf0f..cbf3217b 100644
--- a/include/mitsuba/core/point.h
+++ b/include/mitsuba/core/point.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__POINT_H)
#define __POINT_H
diff --git a/include/mitsuba/core/properties.h b/include/mitsuba/core/properties.h
index ac446380..63360aea 100644
--- a/include/mitsuba/core/properties.h
+++ b/include/mitsuba/core/properties.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__PROPERTIES_H)
#define __PROPERTIES_H
diff --git a/include/mitsuba/core/random.h b/include/mitsuba/core/random.h
index 9a8440d9..7c00f3a6 100644
--- a/include/mitsuba/core/random.h
+++ b/include/mitsuba/core/random.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__RANDOM_H)
#define __RANDOM_H
diff --git a/include/mitsuba/core/ray.h b/include/mitsuba/core/ray.h
index 14962838..40988924 100644
--- a/include/mitsuba/core/ray.h
+++ b/include/mitsuba/core/ray.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__RAY_H)
#define __RAY_H
diff --git a/include/mitsuba/core/ref.h b/include/mitsuba/core/ref.h
index 1652680a..1f581e74 100644
--- a/include/mitsuba/core/ref.h
+++ b/include/mitsuba/core/ref.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__REFERENCE_H)
#define __REFERENCE_H
diff --git a/include/mitsuba/core/sched.h b/include/mitsuba/core/sched.h
index 2c1ba035..66a974c3 100644
--- a/include/mitsuba/core/sched.h
+++ b/include/mitsuba/core/sched.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SCHED_H)
#define __SCHED_H
diff --git a/include/mitsuba/core/sched_remote.h b/include/mitsuba/core/sched_remote.h
index 1729932d..6e24b999 100644
--- a/include/mitsuba/core/sched_remote.h
+++ b/include/mitsuba/core/sched_remote.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SCHED_REMOTE_H)
#define __SCHED_REMOTE_H
diff --git a/include/mitsuba/core/serialization.h b/include/mitsuba/core/serialization.h
index 306d7432..0f0c3986 100644
--- a/include/mitsuba/core/serialization.h
+++ b/include/mitsuba/core/serialization.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SERIALIZATION_H)
#define __SERIALIZATION_H
diff --git a/include/mitsuba/core/shvector.h b/include/mitsuba/core/shvector.h
index 8d722e5a..08f81d78 100644
--- a/include/mitsuba/core/shvector.h
+++ b/include/mitsuba/core/shvector.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SHVECTOR_H)
#define __SHVECTOR_H
diff --git a/include/mitsuba/core/shvector4d.h b/include/mitsuba/core/shvector4d.h
index fb870f60..fc084df6 100644
--- a/include/mitsuba/core/shvector4d.h
+++ b/include/mitsuba/core/shvector4d.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SHEXP4D_H)
#define __SHEXP4D_H
diff --git a/include/mitsuba/core/spectrum.h b/include/mitsuba/core/spectrum.h
index 03a1359f..ddba7957 100644
--- a/include/mitsuba/core/spectrum.h
+++ b/include/mitsuba/core/spectrum.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SPECTRUM_H)
#define __SPECTRUM_H
diff --git a/include/mitsuba/core/sse.h b/include/mitsuba/core/sse.h
index 76d88862..4ee951ee 100644
--- a/include/mitsuba/core/sse.h
+++ b/include/mitsuba/core/sse.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__MTS_SSE_H)
#define __MTS_SSE_H
diff --git a/include/mitsuba/core/sshstream.h b/include/mitsuba/core/sshstream.h
index 24becdf9..ceabfd27 100644
--- a/include/mitsuba/core/sshstream.h
+++ b/include/mitsuba/core/sshstream.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SSHSTREAM_H)
#define __SSHSTREAM_H
diff --git a/include/mitsuba/core/sstream.h b/include/mitsuba/core/sstream.h
index e18f0838..2c9ff7aa 100644
--- a/include/mitsuba/core/sstream.h
+++ b/include/mitsuba/core/sstream.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SSTREAM_H)
#define __SSTREAM_H
diff --git a/include/mitsuba/core/statistics.h b/include/mitsuba/core/statistics.h
index 758b8578..c97f59eb 100644
--- a/include/mitsuba/core/statistics.h
+++ b/include/mitsuba/core/statistics.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__DEBUG_H)
#define __DEBUG_H
diff --git a/include/mitsuba/core/stl.h b/include/mitsuba/core/stl.h
index 0ba9b66a..29327d72 100644
--- a/include/mitsuba/core/stl.h
+++ b/include/mitsuba/core/stl.h
@@ -1,154 +1,172 @@
-#ifndef __MITSUBA_STL_H
-#define __MITSUBA_STL_H
-
-/* Include some SGI STL extensions, which might be missing */
-#ifdef __GNUC__
-#include
-using __gnu_cxx::select2nd;
-using __gnu_cxx::compose1;
-#else
-#include
-namespace std {
- template struct _Select1st : public unary_function<_Pair, typename _Pair::first_type> {
- const typename _Pair::first_type& operator()(const _Pair& __x) const {
- return __x.first;
- }
- };
-
- template struct _Select2nd : public unary_function<_Pair, typename _Pair::second_type> {
- const typename _Pair::second_type& operator()(const _Pair& __x) const {
- return __x.second;
- }
- };
-
- template struct select1st : public _Select1st<_Pair> {};
- template struct select2nd : public _Select2nd<_Pair> {};
-
- template class unary_compose : public unary_function {
- protected:
- _Operation1 _M_fn1;
- _Operation2 _M_fn2;
- public:
- unary_compose(const _Operation1& __x, const _Operation2& __y) : _M_fn1(__x), _M_fn2(__y) {}
- typename _Operation1::result_type operator()(const typename _Operation2::argument_type& __x) const {
- return _M_fn1(_M_fn2(__x));
- }
- };
-
- template inline unary_compose<_Operation1,_Operation2> compose1(const _Operation1& __fn1, const _Operation2& __fn2) {
- return unary_compose<_Operation1,_Operation2>(__fn1, __fn2);
- }
-
-#if defined(_MSC_VER)
- #define _USE_MATH_DEFINES
- #include
- #include
-
- #define snprintf _snprintf
- #define vsnprintf _vsnprintf
-
- inline int isinf(float value) {
- int type = ::_fpclass(value);
- if (type == _FPCLASS_PINF || type == _FPCLASS_NINF)
- return 1;
- return 0;
- }
-
- inline char tolower(char c) {
- return ::tolower(c);
- }
-
- inline int isinf(double value) {
- int type = ::_fpclass(value);
- if (type == _FPCLASS_PINF || type == _FPCLASS_NINF)
- return 1;
- return 0;
- }
-#endif
-};
-using std::select2nd;
-using std::compose1;
-
-#endif
-
-/* Forward declarations */
-MTS_NAMESPACE_BEGIN
-extern MTS_EXPORT_CORE void * __restrict allocAligned(size_t size);
-extern MTS_EXPORT_CORE void freeAligned(void *ptr);
-MTS_NAMESPACE_END
-
-namespace std {
- template class aligned_allocator {
- public:
- typedef size_t size_type;
- typedef ptrdiff_t difference_type;
- typedef T* pointer;
- typedef const T* const_pointer;
- typedef T& reference;
- typedef const T& const_reference;
- typedef T value_type;
-
- template struct rebind {
- typedef aligned_allocator other;
- };
-
- pointer address (reference value) const {
- return &value;
- }
-
- const_pointer address (const_reference value) const {
- return &value;
- }
-
- aligned_allocator() throw() { }
-
- aligned_allocator(const aligned_allocator&) throw() { }
-
- template aligned_allocator (const aligned_allocator&) throw() { }
-
- ~aligned_allocator() throw() { }
-
- size_type max_size () const throw() {
- return INT_MAX;
- }
-
-
- T* __restrict allocate (size_type num, const_pointer *hint = 0) {
- return (T *) mitsuba::allocAligned(num*sizeof(T));
- }
-
- void construct (pointer p, const T& value) {
- *p=value;
- }
-
- void destroy (pointer p) {
- p->~T();
- };
-
- void deallocate (pointer p, size_type num) {
- freeAligned(p);
- }
- };
-};
-
-#if defined(WIN32)
-inline bool ubi_isnan(float f) {
- int classification = ::_fpclass(f);
- return classification == _FPCLASS_QNAN || classification == _FPCLASS_SNAN;
-}
-
-inline bool ubi_isnan(double f) {
- int classification = ::_fpclass(f);
- return classification == _FPCLASS_QNAN || classification == _FPCLASS_SNAN;
-}
-#else
-inline bool ubi_isnan(float f) {
- return std::fpclassify(f) == FP_NAN;
-}
-
-inline bool ubi_isnan(double f) {
- return std::fpclassify(f) == FP_NAN;
-}
-#endif
-#endif
-
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
+#ifndef __MITSUBA_STL_H
+#define __MITSUBA_STL_H
+
+/* Include some SGI STL extensions, which might be missing */
+#ifdef __GNUC__
+#include
+using __gnu_cxx::select2nd;
+using __gnu_cxx::compose1;
+#else
+#include
+namespace std {
+ template struct _Select1st : public unary_function<_Pair, typename _Pair::first_type> {
+ const typename _Pair::first_type& operator()(const _Pair& __x) const {
+ return __x.first;
+ }
+ };
+
+ template struct _Select2nd : public unary_function<_Pair, typename _Pair::second_type> {
+ const typename _Pair::second_type& operator()(const _Pair& __x) const {
+ return __x.second;
+ }
+ };
+
+ template struct select1st : public _Select1st<_Pair> {};
+ template struct select2nd : public _Select2nd<_Pair> {};
+
+ template class unary_compose : public unary_function {
+ protected:
+ _Operation1 _M_fn1;
+ _Operation2 _M_fn2;
+ public:
+ unary_compose(const _Operation1& __x, const _Operation2& __y) : _M_fn1(__x), _M_fn2(__y) {}
+ typename _Operation1::result_type operator()(const typename _Operation2::argument_type& __x) const {
+ return _M_fn1(_M_fn2(__x));
+ }
+ };
+
+ template inline unary_compose<_Operation1,_Operation2> compose1(const _Operation1& __fn1, const _Operation2& __fn2) {
+ return unary_compose<_Operation1,_Operation2>(__fn1, __fn2);
+ }
+
+#if defined(_MSC_VER)
+ #define _USE_MATH_DEFINES
+ #include
+ #include
+
+ #define snprintf _snprintf
+ #define vsnprintf _vsnprintf
+
+ inline int isinf(float value) {
+ int type = ::_fpclass(value);
+ if (type == _FPCLASS_PINF || type == _FPCLASS_NINF)
+ return 1;
+ return 0;
+ }
+
+ inline char tolower(char c) {
+ return ::tolower(c);
+ }
+
+ inline int isinf(double value) {
+ int type = ::_fpclass(value);
+ if (type == _FPCLASS_PINF || type == _FPCLASS_NINF)
+ return 1;
+ return 0;
+ }
+#endif
+};
+using std::select2nd;
+using std::compose1;
+
+#endif
+
+/* Forward declarations */
+MTS_NAMESPACE_BEGIN
+extern MTS_EXPORT_CORE void * __restrict allocAligned(size_t size);
+extern MTS_EXPORT_CORE void freeAligned(void *ptr);
+MTS_NAMESPACE_END
+
+namespace std {
+ template class aligned_allocator {
+ public:
+ typedef size_t size_type;
+ typedef ptrdiff_t difference_type;
+ typedef T* pointer;
+ typedef const T* const_pointer;
+ typedef T& reference;
+ typedef const T& const_reference;
+ typedef T value_type;
+
+ template struct rebind {
+ typedef aligned_allocator other;
+ };
+
+ pointer address (reference value) const {
+ return &value;
+ }
+
+ const_pointer address (const_reference value) const {
+ return &value;
+ }
+
+ aligned_allocator() throw() { }
+
+ aligned_allocator(const aligned_allocator&) throw() { }
+
+ template aligned_allocator (const aligned_allocator&) throw() { }
+
+ ~aligned_allocator() throw() { }
+
+ size_type max_size () const throw() {
+ return INT_MAX;
+ }
+
+
+ T* __restrict allocate (size_type num, const_pointer *hint = 0) {
+ return (T *) mitsuba::allocAligned(num*sizeof(T));
+ }
+
+ void construct (pointer p, const T& value) {
+ *p=value;
+ }
+
+ void destroy (pointer p) {
+ p->~T();
+ };
+
+ void deallocate (pointer p, size_type num) {
+ freeAligned(p);
+ }
+ };
+};
+
+#if defined(WIN32)
+inline bool ubi_isnan(float f) {
+ int classification = ::_fpclass(f);
+ return classification == _FPCLASS_QNAN || classification == _FPCLASS_SNAN;
+}
+
+inline bool ubi_isnan(double f) {
+ int classification = ::_fpclass(f);
+ return classification == _FPCLASS_QNAN || classification == _FPCLASS_SNAN;
+}
+#else
+inline bool ubi_isnan(float f) {
+ return std::fpclassify(f) == FP_NAN;
+}
+
+inline bool ubi_isnan(double f) {
+ return std::fpclassify(f) == FP_NAN;
+}
+#endif
+#endif
+
diff --git a/include/mitsuba/core/stream.h b/include/mitsuba/core/stream.h
index e93b2047..93dbd3f5 100644
--- a/include/mitsuba/core/stream.h
+++ b/include/mitsuba/core/stream.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__STREAM_H)
#define __STREAM_H
diff --git a/include/mitsuba/core/thread.h b/include/mitsuba/core/thread.h
index ee3c4f18..3ddc2cdc 100644
--- a/include/mitsuba/core/thread.h
+++ b/include/mitsuba/core/thread.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__THREAD_H)
#define __THREAD_H
diff --git a/include/mitsuba/core/timer.h b/include/mitsuba/core/timer.h
index 1cddb8ab..6ec493de 100644
--- a/include/mitsuba/core/timer.h
+++ b/include/mitsuba/core/timer.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__TIMER_H)
#define __TIMER_H
diff --git a/include/mitsuba/core/tls.h b/include/mitsuba/core/tls.h
index 37db3a48..b4436b30 100644
--- a/include/mitsuba/core/tls.h
+++ b/include/mitsuba/core/tls.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__TLS_H)
#define __TLS_H
diff --git a/include/mitsuba/core/transform.h b/include/mitsuba/core/transform.h
index 0f5aa714..1788a85b 100644
--- a/include/mitsuba/core/transform.h
+++ b/include/mitsuba/core/transform.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__TRANSFORM_H)
#define __TRANSFORM_H
diff --git a/include/mitsuba/core/triangle.h b/include/mitsuba/core/triangle.h
index a3efffc0..e1917481 100644
--- a/include/mitsuba/core/triangle.h
+++ b/include/mitsuba/core/triangle.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__TRIANGLE_H)
#define __TRIANGLE_H
diff --git a/include/mitsuba/core/util.h b/include/mitsuba/core/util.h
index 19d8b91a..7c639384 100644
--- a/include/mitsuba/core/util.h
+++ b/include/mitsuba/core/util.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__UTIL_H)
#define __UTIL_H
diff --git a/include/mitsuba/core/vector.h b/include/mitsuba/core/vector.h
index 2cc9662b..a48588c0 100644
--- a/include/mitsuba/core/vector.h
+++ b/include/mitsuba/core/vector.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__VECTOR_H)
#define __VECTOR_H
diff --git a/include/mitsuba/core/wavelet.h b/include/mitsuba/core/wavelet.h
index adc65eab..0af07fb3 100644
--- a/include/mitsuba/core/wavelet.h
+++ b/include/mitsuba/core/wavelet.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__WAVELET_H)
#define __WAVELET_H
diff --git a/include/mitsuba/core/zstream.h b/include/mitsuba/core/zstream.h
index 429020c4..3f1cde8e 100644
--- a/include/mitsuba/core/zstream.h
+++ b/include/mitsuba/core/zstream.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__ZSTREAM_H)
#define __ZSTREAM_H
diff --git a/include/mitsuba/hw/device.h b/include/mitsuba/hw/device.h
index d56c6f2e..286ab71e 100644
--- a/include/mitsuba/hw/device.h
+++ b/include/mitsuba/hw/device.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__HWDEVICE_H)
#define __HWDEVICE_H
diff --git a/include/mitsuba/hw/glgeometry.h b/include/mitsuba/hw/glgeometry.h
index bc62969c..49bd56f3 100644
--- a/include/mitsuba/hw/glgeometry.h
+++ b/include/mitsuba/hw/glgeometry.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GLGEOMETRY_H)
#define __GLGEOMETRY_H
diff --git a/include/mitsuba/hw/glprogram.h b/include/mitsuba/hw/glprogram.h
index 8a9d5c66..38721275 100644
--- a/include/mitsuba/hw/glprogram.h
+++ b/include/mitsuba/hw/glprogram.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GLPROGRAM_H)
#define __GLPROGRAM_H
diff --git a/include/mitsuba/hw/glrenderer.h b/include/mitsuba/hw/glrenderer.h
index 058e70be..b7ab48ac 100644
--- a/include/mitsuba/hw/glrenderer.h
+++ b/include/mitsuba/hw/glrenderer.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GLRENDERER_H)
#define __GLRENDERER_H
diff --git a/include/mitsuba/hw/glsync.h b/include/mitsuba/hw/glsync.h
index bff76b7c..d29df7fb 100644
--- a/include/mitsuba/hw/glsync.h
+++ b/include/mitsuba/hw/glsync.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GLSYNC_H)
#define __GLSYNC_H
diff --git a/include/mitsuba/hw/gltexture.h b/include/mitsuba/hw/gltexture.h
index d6d9cd12..4a4af60b 100644
--- a/include/mitsuba/hw/gltexture.h
+++ b/include/mitsuba/hw/gltexture.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GLTEXTURE_H)
#define __GLTEXTURE_H
diff --git a/include/mitsuba/hw/glxdevice.h b/include/mitsuba/hw/glxdevice.h
index 2769bc1b..071bbbfb 100644
--- a/include/mitsuba/hw/glxdevice.h
+++ b/include/mitsuba/hw/glxdevice.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GLXDEVICE_H)
#define __GLXDEVICE_H
diff --git a/include/mitsuba/hw/glxrenderer.h b/include/mitsuba/hw/glxrenderer.h
index 55bb90aa..9b5dd030 100644
--- a/include/mitsuba/hw/glxrenderer.h
+++ b/include/mitsuba/hw/glxrenderer.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GLXRENDERER_H)
#define __GLXRENDERER_H
diff --git a/include/mitsuba/hw/gpugeometry.h b/include/mitsuba/hw/gpugeometry.h
index b82b5fee..3276fc0e 100644
--- a/include/mitsuba/hw/gpugeometry.h
+++ b/include/mitsuba/hw/gpugeometry.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GPUGEOMETRY_H)
#define __GPUGEOMETRY_H
diff --git a/include/mitsuba/hw/gpuprogram.h b/include/mitsuba/hw/gpuprogram.h
index c72e4e53..c753a7fb 100644
--- a/include/mitsuba/hw/gpuprogram.h
+++ b/include/mitsuba/hw/gpuprogram.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GPUPROGRAM_H)
#define __GPUPROGRAM_H
diff --git a/include/mitsuba/hw/gpusync.h b/include/mitsuba/hw/gpusync.h
index f89e5ae5..2a2599d2 100644
--- a/include/mitsuba/hw/gpusync.h
+++ b/include/mitsuba/hw/gpusync.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GPUSYNC_H)
#define __GPUSYNC_H
diff --git a/include/mitsuba/hw/gputexture.h b/include/mitsuba/hw/gputexture.h
index 608254e6..8b3d8f26 100644
--- a/include/mitsuba/hw/gputexture.h
+++ b/include/mitsuba/hw/gputexture.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GPUTEXTURE_H)
#define __GPUTEXTURE_H
diff --git a/include/mitsuba/hw/nsgldevice.h b/include/mitsuba/hw/nsgldevice.h
index efc59cc7..c9603ee7 100644
--- a/include/mitsuba/hw/nsgldevice.h
+++ b/include/mitsuba/hw/nsgldevice.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__NSGLDEVICE_H)
#define __NSGLDEVICE_H
diff --git a/include/mitsuba/hw/nsglkeys.h b/include/mitsuba/hw/nsglkeys.h
index c007c994..37b2dace 100644
--- a/include/mitsuba/hw/nsglkeys.h
+++ b/include/mitsuba/hw/nsglkeys.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2003 Sam Lantinga
diff --git a/include/mitsuba/hw/nsglrenderer.h b/include/mitsuba/hw/nsglrenderer.h
index 1809e0cf..36405609 100644
--- a/include/mitsuba/hw/nsglrenderer.h
+++ b/include/mitsuba/hw/nsglrenderer.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__NSGLRENDERER_H)
#define __NSGLRENDERER_H
diff --git a/include/mitsuba/hw/nsglsession.h b/include/mitsuba/hw/nsglsession.h
index e83a5ce7..80f23cfd 100644
--- a/include/mitsuba/hw/nsglsession.h
+++ b/include/mitsuba/hw/nsglsession.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
/*************************************************************************
Apollyon, a set of C++ utilities including standard templates and
diff --git a/include/mitsuba/hw/renderer.h b/include/mitsuba/hw/renderer.h
index c0b4408b..58596103 100644
--- a/include/mitsuba/hw/renderer.h
+++ b/include/mitsuba/hw/renderer.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__RENDERER_H)
#define __RENDERER_H
diff --git a/include/mitsuba/hw/session.h b/include/mitsuba/hw/session.h
index c2d0c4af..97663633 100644
--- a/include/mitsuba/hw/session.h
+++ b/include/mitsuba/hw/session.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SESSION_H)
#define __SESSION_H
diff --git a/include/mitsuba/hw/vpl.h b/include/mitsuba/hw/vpl.h
index b6b7474f..1dc737e2 100644
--- a/include/mitsuba/hw/vpl.h
+++ b/include/mitsuba/hw/vpl.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__VPL_HW_H)
#define __VPL_HW_H
diff --git a/include/mitsuba/hw/wgldevice.h b/include/mitsuba/hw/wgldevice.h
index b034cae3..68fc23de 100644
--- a/include/mitsuba/hw/wgldevice.h
+++ b/include/mitsuba/hw/wgldevice.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__WGLDEVICE_H)
#define __WGLDEVICE_H
diff --git a/include/mitsuba/hw/wglrenderer.h b/include/mitsuba/hw/wglrenderer.h
index 05ebd35d..8e499cb0 100644
--- a/include/mitsuba/hw/wglrenderer.h
+++ b/include/mitsuba/hw/wglrenderer.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__WGLRENDERER_H)
#define __WGLRENDERER_H
diff --git a/include/mitsuba/hw/wglsession.h b/include/mitsuba/hw/wglsession.h
index 82b3cf6f..0daa5b97 100644
--- a/include/mitsuba/hw/wglsession.h
+++ b/include/mitsuba/hw/wglsession.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__WGLSESSION_H)
#define __WGLSESSION_H
diff --git a/include/mitsuba/hw/x11device.h b/include/mitsuba/hw/x11device.h
index 1bb49249..508802b5 100644
--- a/include/mitsuba/hw/x11device.h
+++ b/include/mitsuba/hw/x11device.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__X11DEVICE_H)
#define __X11DEVICE_H
diff --git a/include/mitsuba/hw/x11session.h b/include/mitsuba/hw/x11session.h
index 5c283864..be84bb8d 100644
--- a/include/mitsuba/hw/x11session.h
+++ b/include/mitsuba/hw/x11session.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__X11SESSION_H)
#define __X11SESSION_H
diff --git a/include/mitsuba/mitsuba.h b/include/mitsuba/mitsuba.h
index 58262599..f04ee6fd 100644
--- a/include/mitsuba/mitsuba.h
+++ b/include/mitsuba/mitsuba.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__MITSUBA_H)
#define __MITSUBA_H
diff --git a/include/mitsuba/render/bsdf.h b/include/mitsuba/render/bsdf.h
index 81343aa1..ab08d746 100644
--- a/include/mitsuba/render/bsdf.h
+++ b/include/mitsuba/render/bsdf.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__BSDF_H)
#define __BSDF_H
diff --git a/include/mitsuba/render/camera.h b/include/mitsuba/render/camera.h
index 5705916e..dc60b884 100644
--- a/include/mitsuba/render/camera.h
+++ b/include/mitsuba/render/camera.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__CAMERA_H)
#define __CAMERA_H
diff --git a/include/mitsuba/render/film.h b/include/mitsuba/render/film.h
index b8163b2d..1b340b26 100644
--- a/include/mitsuba/render/film.h
+++ b/include/mitsuba/render/film.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__FILM_H)
#define __FILM_H
diff --git a/include/mitsuba/render/gatherproc.h b/include/mitsuba/render/gatherproc.h
index 8fcc0abe..da31d69c 100644
--- a/include/mitsuba/render/gatherproc.h
+++ b/include/mitsuba/render/gatherproc.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__GATHERPHOTONPROC_H)
#define __GATHERPHOTONPROC_H
diff --git a/include/mitsuba/render/imageproc.h b/include/mitsuba/render/imageproc.h
index 7a891ed2..89d3b931 100644
--- a/include/mitsuba/render/imageproc.h
+++ b/include/mitsuba/render/imageproc.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__IMAGEPROC_H)
#define __IMAGEPROC_H
diff --git a/include/mitsuba/render/imageproc_wu.h b/include/mitsuba/render/imageproc_wu.h
index 44eefd1a..6a215c51 100644
--- a/include/mitsuba/render/imageproc_wu.h
+++ b/include/mitsuba/render/imageproc_wu.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__IMAGEPROC_WU_H)
#define __IMAGEPROC_WU_H
diff --git a/include/mitsuba/render/integrator.h b/include/mitsuba/render/integrator.h
index 05762a1f..8fcd15fa 100644
--- a/include/mitsuba/render/integrator.h
+++ b/include/mitsuba/render/integrator.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__INTEGRATOR_H)
#define __INTEGRATOR_H
diff --git a/include/mitsuba/render/irrcache.h b/include/mitsuba/render/irrcache.h
index 0c88ac46..e27bf917 100644
--- a/include/mitsuba/render/irrcache.h
+++ b/include/mitsuba/render/irrcache.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__IRRADIANCECACHE_H)
#define __IRRADIANCECACHE_H
diff --git a/include/mitsuba/render/kdtree.h b/include/mitsuba/render/kdtree.h
index eb5e5d6d..d429a6a4 100644
--- a/include/mitsuba/render/kdtree.h
+++ b/include/mitsuba/render/kdtree.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__KD_TREE_H)
#define __KD_TREE_H
diff --git a/include/mitsuba/render/luminaire.h b/include/mitsuba/render/luminaire.h
index 859337c1..7836a517 100644
--- a/include/mitsuba/render/luminaire.h
+++ b/include/mitsuba/render/luminaire.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__LUMINAIRE_H)
#define __LUMINAIRE_H
diff --git a/include/mitsuba/render/medium.h b/include/mitsuba/render/medium.h
index 08bdaee2..4cd2d38b 100644
--- a/include/mitsuba/render/medium.h
+++ b/include/mitsuba/render/medium.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__MEDIUM_H)
#define __MEDIUM_H
diff --git a/include/mitsuba/render/mipmap.h b/include/mitsuba/render/mipmap.h
index e474d496..090f6edc 100644
--- a/include/mitsuba/render/mipmap.h
+++ b/include/mitsuba/render/mipmap.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__MIPMAP_H)
#define __MIPMAP_H
diff --git a/include/mitsuba/render/mipmap3d.h b/include/mitsuba/render/mipmap3d.h
index 6812d29d..ac17a34b 100644
--- a/include/mitsuba/render/mipmap3d.h
+++ b/include/mitsuba/render/mipmap3d.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__MIPMAP3D_H)
#define __MIPMAP3D_H
diff --git a/include/mitsuba/render/particleproc.h b/include/mitsuba/render/particleproc.h
index 833a750c..1011376b 100644
--- a/include/mitsuba/render/particleproc.h
+++ b/include/mitsuba/render/particleproc.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__PARTICLEPROC_H)
#define __PARTICLEPROC_H
diff --git a/include/mitsuba/render/photonmap.h b/include/mitsuba/render/photonmap.h
index 296a9dcc..1b00f895 100644
--- a/include/mitsuba/render/photonmap.h
+++ b/include/mitsuba/render/photonmap.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__PHOTONMAP_H)
#define __PHOTONMAP_H
diff --git a/include/mitsuba/render/preview.h b/include/mitsuba/render/preview.h
index 431c0876..df7a4041 100644
--- a/include/mitsuba/render/preview.h
+++ b/include/mitsuba/render/preview.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__PREVIEW_H)
#define __PREVIEW_H
diff --git a/include/mitsuba/render/range.h b/include/mitsuba/render/range.h
index 514dca0e..1604ce9a 100644
--- a/include/mitsuba/render/range.h
+++ b/include/mitsuba/render/range.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__RANGE_WU_H)
#define __RANGE_WU_H
diff --git a/include/mitsuba/render/records.h b/include/mitsuba/render/records.h
index 2397fe60..8bbcbc38 100644
--- a/include/mitsuba/render/records.h
+++ b/include/mitsuba/render/records.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__RECORDS_H)
#define __RECORDS_H
diff --git a/include/mitsuba/render/renderjob.h b/include/mitsuba/render/renderjob.h
index 4f09da63..a75611e8 100644
--- a/include/mitsuba/render/renderjob.h
+++ b/include/mitsuba/render/renderjob.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__RENDERJOB_H)
#define __RENDERJOB_H
diff --git a/include/mitsuba/render/renderproc.h b/include/mitsuba/render/renderproc.h
index ce45ddbd..0b151132 100644
--- a/include/mitsuba/render/renderproc.h
+++ b/include/mitsuba/render/renderproc.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__RENDERPROC_H)
#define __RENDERPROC_H
diff --git a/include/mitsuba/render/renderproc_wr.h b/include/mitsuba/render/renderproc_wr.h
index d41293c6..5d929795 100644
--- a/include/mitsuba/render/renderproc_wr.h
+++ b/include/mitsuba/render/renderproc_wr.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__IMAGEPROC_WR_H)
#define __IMAGEPROC_WR_H
diff --git a/include/mitsuba/render/renderqueue.h b/include/mitsuba/render/renderqueue.h
index 9be2614e..095fe58c 100644
--- a/include/mitsuba/render/renderqueue.h
+++ b/include/mitsuba/render/renderqueue.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__RENDERQUEUE_H)
#define __RENDERQUEUE_H
diff --git a/include/mitsuba/render/rfilter.h b/include/mitsuba/render/rfilter.h
index 0434c6df..0c98c59d 100644
--- a/include/mitsuba/render/rfilter.h
+++ b/include/mitsuba/render/rfilter.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__RFILTER_H)
#define __RFILTER_H
diff --git a/include/mitsuba/render/sampler.h b/include/mitsuba/render/sampler.h
index 9e8c4a4a..7cc74581 100644
--- a/include/mitsuba/render/sampler.h
+++ b/include/mitsuba/render/sampler.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SAMPLER_H)
#define __SAMPLER_H
diff --git a/include/mitsuba/render/scene.h b/include/mitsuba/render/scene.h
index 940b8273..e3d5ccef 100644
--- a/include/mitsuba/render/scene.h
+++ b/include/mitsuba/render/scene.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SCENE_H)
#define __SCENE_H
diff --git a/include/mitsuba/render/shader.h b/include/mitsuba/render/shader.h
index caf93e95..31ade4e1 100644
--- a/include/mitsuba/render/shader.h
+++ b/include/mitsuba/render/shader.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SHADER_H)
#define __SHADER_H
diff --git a/include/mitsuba/render/shandler.h b/include/mitsuba/render/shandler.h
index fe71a379..a6ab02fe 100644
--- a/include/mitsuba/render/shandler.h
+++ b/include/mitsuba/render/shandler.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SHANDLER_H)
#define __SHANDLER_H
diff --git a/include/mitsuba/render/shape.h b/include/mitsuba/render/shape.h
index 37a2b3fa..7fe43038 100644
--- a/include/mitsuba/render/shape.h
+++ b/include/mitsuba/render/shape.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SHAPE_H)
#define __SHAPE_H
diff --git a/include/mitsuba/render/spiral.h b/include/mitsuba/render/spiral.h
index 343d42b3..7bbb1180 100644
--- a/include/mitsuba/render/spiral.h
+++ b/include/mitsuba/render/spiral.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SPIRAL_H)
#define __SPIRAL_H
diff --git a/include/mitsuba/render/subsurface.h b/include/mitsuba/render/subsurface.h
index bbf68dc2..f5676798 100644
--- a/include/mitsuba/render/subsurface.h
+++ b/include/mitsuba/render/subsurface.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__SUBSURFACE_H)
#define __SUBSURFACE_H
diff --git a/include/mitsuba/render/testcase.h b/include/mitsuba/render/testcase.h
index 546d70ca..2b672f04 100644
--- a/include/mitsuba/render/testcase.h
+++ b/include/mitsuba/render/testcase.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__TESTCASE_H)
#define __TESTCASE_H
diff --git a/include/mitsuba/render/texture.h b/include/mitsuba/render/texture.h
index 6845727e..c445913b 100644
--- a/include/mitsuba/render/texture.h
+++ b/include/mitsuba/render/texture.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__TEXTURE_H)
#define __TEXTURE_H
diff --git a/include/mitsuba/render/triaccel.h b/include/mitsuba/render/triaccel.h
index c9fc0759..03a61a85 100644
--- a/include/mitsuba/render/triaccel.h
+++ b/include/mitsuba/render/triaccel.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__TRIACCEL_H)
#define __TRIACCEL_H
diff --git a/include/mitsuba/render/triaccel_sse.h b/include/mitsuba/render/triaccel_sse.h
index bc33d2c3..ed49c52f 100644
--- a/include/mitsuba/render/triaccel_sse.h
+++ b/include/mitsuba/render/triaccel_sse.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__TRIACCEL_SSE_H)
#define __TRIACCEL_SSE_H
diff --git a/include/mitsuba/render/trimesh.h b/include/mitsuba/render/trimesh.h
index b8cf6780..a527fa6d 100644
--- a/include/mitsuba/render/trimesh.h
+++ b/include/mitsuba/render/trimesh.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__TRIMESH_H)
#define __TRIMESH_H
diff --git a/include/mitsuba/render/util.h b/include/mitsuba/render/util.h
index 0e4bfa2f..0145921b 100644
--- a/include/mitsuba/render/util.h
+++ b/include/mitsuba/render/util.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__UTILITY_H)
#define __UTILITY_H
diff --git a/include/mitsuba/render/volume.h b/include/mitsuba/render/volume.h
index 709618cb..c68f7706 100644
--- a/include/mitsuba/render/volume.h
+++ b/include/mitsuba/render/volume.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__VOLUME_H)
#define __VOLUME_H
diff --git a/include/mitsuba/render/vpl.h b/include/mitsuba/render/vpl.h
index f0e1639d..b036d40b 100644
--- a/include/mitsuba/render/vpl.h
+++ b/include/mitsuba/render/vpl.h
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#if !defined(__VPL_H)
#define __VPL_H
diff --git a/src/bsdfs/composite.cpp b/src/bsdfs/composite.cpp
index 4c1f7e65..ea61c7de 100644
--- a/src/bsdfs/composite.cpp
+++ b/src/bsdfs/composite.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/bsdfs/dielectric.cpp b/src/bsdfs/dielectric.cpp
index 27e15572..221f5dc5 100644
--- a/src/bsdfs/dielectric.cpp
+++ b/src/bsdfs/dielectric.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/bsdfs/difftrans.cpp b/src/bsdfs/difftrans.cpp
index 5829d2e0..9048684b 100644
--- a/src/bsdfs/difftrans.cpp
+++ b/src/bsdfs/difftrans.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/bsdfs/lambertian.cpp b/src/bsdfs/lambertian.cpp
index b906e74a..469d0efa 100644
--- a/src/bsdfs/lambertian.cpp
+++ b/src/bsdfs/lambertian.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/bsdfs/mask.cpp b/src/bsdfs/mask.cpp
index 3665e9c0..91cdc203 100644
--- a/src/bsdfs/mask.cpp
+++ b/src/bsdfs/mask.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/bsdfs/microfacet.cpp b/src/bsdfs/microfacet.cpp
index 7b836c15..ba1ec41b 100644
--- a/src/bsdfs/microfacet.cpp
+++ b/src/bsdfs/microfacet.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/bsdfs/mirror.cpp b/src/bsdfs/mirror.cpp
index a3d7abc0..ed14ace9 100644
--- a/src/bsdfs/mirror.cpp
+++ b/src/bsdfs/mirror.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/bsdfs/phong.cpp b/src/bsdfs/phong.cpp
index 0642346c..5eef964a 100644
--- a/src/bsdfs/phong.cpp
+++ b/src/bsdfs/phong.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/bsdfs/roughglass.cpp b/src/bsdfs/roughglass.cpp
index 7cf42653..587a354b 100644
--- a/src/bsdfs/roughglass.cpp
+++ b/src/bsdfs/roughglass.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/bsdfs/roughmetal.cpp b/src/bsdfs/roughmetal.cpp
index c8102b07..4380e451 100644
--- a/src/bsdfs/roughmetal.cpp
+++ b/src/bsdfs/roughmetal.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/bsdfs/transparent.cpp b/src/bsdfs/transparent.cpp
index 2b89deab..7e32bb08 100644
--- a/src/bsdfs/transparent.cpp
+++ b/src/bsdfs/transparent.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/bsdfs/ward.cpp b/src/bsdfs/ward.cpp
index 0ea83f26..6266bd9b 100644
--- a/src/bsdfs/ward.cpp
+++ b/src/bsdfs/ward.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/cameras/orthographic.cpp b/src/cameras/orthographic.cpp
index 776e4b2a..c9f88c75 100644
--- a/src/cameras/orthographic.cpp
+++ b/src/cameras/orthographic.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/cameras/perspective.cpp b/src/cameras/perspective.cpp
index d775f0e4..bfc6fd4d 100644
--- a/src/cameras/perspective.cpp
+++ b/src/cameras/perspective.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/converter/collada.cpp b/src/converter/collada.cpp
index 20d2913d..a50533cf 100644
--- a/src/converter/collada.cpp
+++ b/src/converter/collada.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#define BOOST_FILESYSTEM_NO_LIB
#define BOOST_SYSTEM_NO_LIB
diff --git a/src/converter/converter.cpp b/src/converter/converter.cpp
index f325a3bb..f3c6a10b 100644
--- a/src/converter/converter.cpp
+++ b/src/converter/converter.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/converter/mtsimport.cpp b/src/converter/mtsimport.cpp
index e44d1032..ed5336e4 100644
--- a/src/converter/mtsimport.cpp
+++ b/src/converter/mtsimport.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
/**
* Mitsuba COLLADA 1.4 and Wavefront OBJ -> XML converter
*
diff --git a/src/converter/obj.cpp b/src/converter/obj.cpp
index ec5539d8..a75f0126 100644
--- a/src/converter/obj.cpp
+++ b/src/converter/obj.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#define BOOST_FILESYSTEM_NO_LIB
#define BOOST_SYSTEM_NO_LIB
diff --git a/src/films/exrfilm.cpp b/src/films/exrfilm.cpp
index ad985029..b15a64c2 100644
--- a/src/films/exrfilm.cpp
+++ b/src/films/exrfilm.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/films/mfilm.cpp b/src/films/mfilm.cpp
index 6f36a900..c5257a1b 100644
--- a/src/films/mfilm.cpp
+++ b/src/films/mfilm.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/films/pngfilm.cpp b/src/films/pngfilm.cpp
index 7682a807..292f64af 100644
--- a/src/films/pngfilm.cpp
+++ b/src/films/pngfilm.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/integrators/direct/direct.cpp b/src/integrators/direct/direct.cpp
index 62d564cc..0a508168 100644
--- a/src/integrators/direct/direct.cpp
+++ b/src/integrators/direct/direct.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/integrators/misc/errctrl.cpp b/src/integrators/misc/errctrl.cpp
index bcf205d8..5a6894dd 100644
--- a/src/integrators/misc/errctrl.cpp
+++ b/src/integrators/misc/errctrl.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/integrators/misc/irrcache.cpp b/src/integrators/misc/irrcache.cpp
index d93b493c..aa527681 100644
--- a/src/integrators/misc/irrcache.cpp
+++ b/src/integrators/misc/irrcache.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include "irrcache_proc.h"
diff --git a/src/integrators/misc/irrcache_proc.cpp b/src/integrators/misc/irrcache_proc.cpp
index 23f67c12..9901b0ef 100644
--- a/src/integrators/misc/irrcache_proc.cpp
+++ b/src/integrators/misc/irrcache_proc.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include "irrcache_proc.h"
diff --git a/src/integrators/path/path.cpp b/src/integrators/path/path.cpp
index bc5459d3..b7dccdfd 100644
--- a/src/integrators/path/path.cpp
+++ b/src/integrators/path/path.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/integrators/path/ptracer.cpp b/src/integrators/path/ptracer.cpp
index 6aeace7d..81cb75e3 100644
--- a/src/integrators/path/ptracer.cpp
+++ b/src/integrators/path/ptracer.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include "ptracer_proc.h"
MTS_NAMESPACE_BEGIN
diff --git a/src/integrators/path/ptracer_proc.cpp b/src/integrators/path/ptracer_proc.cpp
index 1c371e6f..9ed7fbc8 100644
--- a/src/integrators/path/ptracer_proc.cpp
+++ b/src/integrators/path/ptracer_proc.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include "ptracer_proc.h"
MTS_NAMESPACE_BEGIN
diff --git a/src/integrators/path/volpath.cpp b/src/integrators/path/volpath.cpp
index 6ac286ca..c236a26e 100644
--- a/src/integrators/path/volpath.cpp
+++ b/src/integrators/path/volpath.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/integrators/path/volpath_simple.cpp b/src/integrators/path/volpath_simple.cpp
index 12ac1b6e..19935a80 100644
--- a/src/integrators/path/volpath_simple.cpp
+++ b/src/integrators/path/volpath_simple.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/integrators/photonmapper/photonmapper.cpp b/src/integrators/photonmapper/photonmapper.cpp
index ee0fdf89..120afe7e 100644
--- a/src/integrators/photonmapper/photonmapper.cpp
+++ b/src/integrators/photonmapper/photonmapper.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/integrators/photonmapper/ppm.cpp b/src/integrators/photonmapper/ppm.cpp
index 97f08224..553e5941 100644
--- a/src/integrators/photonmapper/ppm.cpp
+++ b/src/integrators/photonmapper/ppm.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/integrators/photonmapper/sppm.cpp b/src/integrators/photonmapper/sppm.cpp
index 090e8b33..1bde91b0 100644
--- a/src/integrators/photonmapper/sppm.cpp
+++ b/src/integrators/photonmapper/sppm.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/integrators/vpl/vpl.cpp b/src/integrators/vpl/vpl.cpp
index 3d312440..a821488e 100644
--- a/src/integrators/vpl/vpl.cpp
+++ b/src/integrators/vpl/vpl.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libcore/aabb.cpp b/src/libcore/aabb.cpp
index 82f8432a..d284404a 100644
--- a/src/libcore/aabb.cpp
+++ b/src/libcore/aabb.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libcore/appender.cpp b/src/libcore/appender.cpp
index e28a1c5e..ff5bd84d 100644
--- a/src/libcore/appender.cpp
+++ b/src/libcore/appender.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#ifdef WIN32
diff --git a/src/libcore/bitmap.cpp b/src/libcore/bitmap.cpp
index 0558d771..c3d7defe 100644
--- a/src/libcore/bitmap.cpp
+++ b/src/libcore/bitmap.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libcore/class.cpp b/src/libcore/class.cpp
index 5bb0448c..24ba7726 100644
--- a/src/libcore/class.cpp
+++ b/src/libcore/class.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libcore/cstream.cpp b/src/libcore/cstream.cpp
index 8212efb7..23458426 100644
--- a/src/libcore/cstream.cpp
+++ b/src/libcore/cstream.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libcore/darwin.mm b/src/libcore/darwin.mm
index bfa22956..11f46c9e 100644
--- a/src/libcore/darwin.mm
+++ b/src/libcore/darwin.mm
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#import
diff --git a/src/libcore/formatter.cpp b/src/libcore/formatter.cpp
index 544b836d..2d6f8488 100644
--- a/src/libcore/formatter.cpp
+++ b/src/libcore/formatter.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libcore/fstream.cpp b/src/libcore/fstream.cpp
index 2624ef69..ae6ca50b 100644
--- a/src/libcore/fstream.cpp
+++ b/src/libcore/fstream.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libcore/lock.cpp b/src/libcore/lock.cpp
index b85e2d64..040cdf8a 100644
--- a/src/libcore/lock.cpp
+++ b/src/libcore/lock.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libcore/logger.cpp b/src/libcore/logger.cpp
index c2c37359..9acdcd06 100644
--- a/src/libcore/logger.cpp
+++ b/src/libcore/logger.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libcore/mstream.cpp b/src/libcore/mstream.cpp
index 9c196b73..88da5533 100644
--- a/src/libcore/mstream.cpp
+++ b/src/libcore/mstream.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libcore/object.cpp b/src/libcore/object.cpp
index 01d7fe1a..304611f6 100644
--- a/src/libcore/object.cpp
+++ b/src/libcore/object.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libcore/plugin.cpp b/src/libcore/plugin.cpp
index 290a045c..42b2b162 100644
--- a/src/libcore/plugin.cpp
+++ b/src/libcore/plugin.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libcore/properties.cpp b/src/libcore/properties.cpp
index 85a7af7e..b4442fa0 100644
--- a/src/libcore/properties.cpp
+++ b/src/libcore/properties.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libcore/sched.cpp b/src/libcore/sched.cpp
index 5ff165d7..dce6994f 100644
--- a/src/libcore/sched.cpp
+++ b/src/libcore/sched.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libcore/sched_remote.cpp b/src/libcore/sched_remote.cpp
index 8ac50f69..d00ef16b 100644
--- a/src/libcore/sched_remote.cpp
+++ b/src/libcore/sched_remote.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libcore/serialization.cpp b/src/libcore/serialization.cpp
index cfd5d55e..455784cc 100644
--- a/src/libcore/serialization.cpp
+++ b/src/libcore/serialization.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libcore/shvector.cpp b/src/libcore/shvector.cpp
index 10d4c53f..c4532e25 100644
--- a/src/libcore/shvector.cpp
+++ b/src/libcore/shvector.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libcore/spectrum.cpp b/src/libcore/spectrum.cpp
index fa11f3bd..597d384f 100644
--- a/src/libcore/spectrum.cpp
+++ b/src/libcore/spectrum.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libcore/sshstream.cpp b/src/libcore/sshstream.cpp
index 4d0b43ac..dfb1dc21 100644
--- a/src/libcore/sshstream.cpp
+++ b/src/libcore/sshstream.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#if !defined(WIN32)
diff --git a/src/libcore/sstream.cpp b/src/libcore/sstream.cpp
index 33a2d4f8..6711076e 100644
--- a/src/libcore/sstream.cpp
+++ b/src/libcore/sstream.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#if !defined(WIN32)
diff --git a/src/libcore/statistics.cpp b/src/libcore/statistics.cpp
index 971be1ce..c8118d7f 100644
--- a/src/libcore/statistics.cpp
+++ b/src/libcore/statistics.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libcore/stream.cpp b/src/libcore/stream.cpp
index 0921dcd0..03adbf86 100644
--- a/src/libcore/stream.cpp
+++ b/src/libcore/stream.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libcore/thread.cpp b/src/libcore/thread.cpp
index e2660682..ea7d2679 100644
--- a/src/libcore/thread.cpp
+++ b/src/libcore/thread.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libcore/timer.cpp b/src/libcore/timer.cpp
index 3d4b780f..7cb0ff35 100644
--- a/src/libcore/timer.cpp
+++ b/src/libcore/timer.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libcore/transform.cpp b/src/libcore/transform.cpp
index 2e7a2878..e953b8d3 100644
--- a/src/libcore/transform.cpp
+++ b/src/libcore/transform.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libcore/triangle.cpp b/src/libcore/triangle.cpp
index 552bcd3d..075fd7bc 100644
--- a/src/libcore/triangle.cpp
+++ b/src/libcore/triangle.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libcore/util.cpp b/src/libcore/util.cpp
index 76630128..6c25f4d9 100644
--- a/src/libcore/util.cpp
+++ b/src/libcore/util.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libcore/wavelet.cpp b/src/libcore/wavelet.cpp
index 4a7d9621..3b74854b 100644
--- a/src/libcore/wavelet.cpp
+++ b/src/libcore/wavelet.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libcore/zstream.cpp b/src/libcore/zstream.cpp
index 5504bf74..f97cd59b 100644
--- a/src/libcore/zstream.cpp
+++ b/src/libcore/zstream.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libhw/device.cpp b/src/libhw/device.cpp
index c47e8c0e..ac116103 100644
--- a/src/libhw/device.cpp
+++ b/src/libhw/device.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#if defined(WIN32)
#include
diff --git a/src/libhw/glgeometry.cpp b/src/libhw/glgeometry.cpp
index 1e5a3e64..8dab9768 100644
--- a/src/libhw/glgeometry.cpp
+++ b/src/libhw/glgeometry.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#if defined(__OSX__)
#include
diff --git a/src/libhw/glprogram.cpp b/src/libhw/glprogram.cpp
index 61baff45..af13800d 100644
--- a/src/libhw/glprogram.cpp
+++ b/src/libhw/glprogram.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#if defined(__OSX__)
#include
diff --git a/src/libhw/glrenderer.cpp b/src/libhw/glrenderer.cpp
index e36afc97..a9e9344d 100644
--- a/src/libhw/glrenderer.cpp
+++ b/src/libhw/glrenderer.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#if defined(__OSX__)
#include
diff --git a/src/libhw/glsync.cpp b/src/libhw/glsync.cpp
index 8327c2dc..4816e47b 100644
--- a/src/libhw/glsync.cpp
+++ b/src/libhw/glsync.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#if defined(__OSX__)
#include
diff --git a/src/libhw/gltexture.cpp b/src/libhw/gltexture.cpp
index 3bb65221..3b96791f 100644
--- a/src/libhw/gltexture.cpp
+++ b/src/libhw/gltexture.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#if defined(__OSX__)
#include
diff --git a/src/libhw/glxdevice.cpp b/src/libhw/glxdevice.cpp
index 4e81d5d5..348941ec 100644
--- a/src/libhw/glxdevice.cpp
+++ b/src/libhw/glxdevice.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#ifndef GLX_ARB_multisample
diff --git a/src/libhw/glxrenderer.cpp b/src/libhw/glxrenderer.cpp
index 31f5bb85..92437de7 100644
--- a/src/libhw/glxrenderer.cpp
+++ b/src/libhw/glxrenderer.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libhw/gpugeometry.cpp b/src/libhw/gpugeometry.cpp
index 360175f8..45f7423e 100644
--- a/src/libhw/gpugeometry.cpp
+++ b/src/libhw/gpugeometry.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libhw/gpuprogram.cpp b/src/libhw/gpuprogram.cpp
index f826ef54..f30cc7e8 100644
--- a/src/libhw/gpuprogram.cpp
+++ b/src/libhw/gpuprogram.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libhw/gpusync.cpp b/src/libhw/gpusync.cpp
index 054a7994..9805cdea 100644
--- a/src/libhw/gpusync.cpp
+++ b/src/libhw/gpusync.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libhw/gputexture.cpp b/src/libhw/gputexture.cpp
index aae78629..bb4c8330 100644
--- a/src/libhw/gputexture.cpp
+++ b/src/libhw/gputexture.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libhw/nsgldevice.mm b/src/libhw/nsgldevice.mm
index e6a5fea0..776e9c10 100644
--- a/src/libhw/nsgldevice.mm
+++ b/src/libhw/nsgldevice.mm
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libhw/nsglrenderer.mm b/src/libhw/nsglrenderer.mm
index d2272e4c..57ce66a0 100644
--- a/src/libhw/nsglrenderer.mm
+++ b/src/libhw/nsglrenderer.mm
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libhw/nsglsession.mm b/src/libhw/nsglsession.mm
index a86eca32..ddca1600 100644
--- a/src/libhw/nsglsession.mm
+++ b/src/libhw/nsglsession.mm
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/libhw/renderer.cpp b/src/libhw/renderer.cpp
index 703ed98c..db2a462b 100644
--- a/src/libhw/renderer.cpp
+++ b/src/libhw/renderer.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#if defined(WIN32)
#include
diff --git a/src/libhw/session.cpp b/src/libhw/session.cpp
index ce198a66..e5d47ab1 100644
--- a/src/libhw/session.cpp
+++ b/src/libhw/session.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#if defined(WIN32)
#include
diff --git a/src/libhw/vpl.cpp b/src/libhw/vpl.cpp
index 9226eaef..9b0a518d 100644
--- a/src/libhw/vpl.cpp
+++ b/src/libhw/vpl.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libhw/wgldevice.cpp b/src/libhw/wgldevice.cpp
index 269cfa4b..30384c0a 100644
--- a/src/libhw/wgldevice.cpp
+++ b/src/libhw/wgldevice.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#define REPEATED_KEYMASK (1<<30)
diff --git a/src/libhw/wglrenderer.cpp b/src/libhw/wglrenderer.cpp
index ded7d5f4..6bb3b092 100644
--- a/src/libhw/wglrenderer.cpp
+++ b/src/libhw/wglrenderer.cpp
@@ -1,61 +1,79 @@
-#include
-
-MTS_NAMESPACE_BEGIN
-
-WGLRenderer::WGLRenderer(WGLSession *session)
- : GLRenderer(session) {
-}
-
-WGLRenderer::~WGLRenderer() {
- if (m_initialized)
- shutdown();
-}
-
-void WGLRenderer::init(Device *device, Renderer *other) {
- WGLDevice *wglDevice = static_cast(device);
-
- if (m_session == NULL) {
- Log(EDebug, "Using an existing WGL context");
- m_context = wglGetCurrentContext();
- if (m_context == NULL)
- Log(EError, "Unable to retrieve the current WGL context!");
- m_borrowed = true;
- } else {
- /* Create a GL context */
- Log(EDebug, "Initializing WGL renderer");
- m_context = wglCreateContext(wglDevice->getDeviceContext());
-
- if (other != NULL) {
- Assert(other->getClass() == m_theClass);
- if (wglShareLists(m_context,
- static_cast(other)->m_context) != TRUE)
- Log(EError, "Unable to set up context sharing: %s",
- lastErrorText().c_str());
- }
-
- device->makeCurrent(this);
- m_borrowed = false;
- }
-
- GLRenderer::init(device);
-
- m_initialized = true;
-}
-
-void WGLRenderer::shutdown() {
- GLRenderer::shutdown();
-
- if (!m_borrowed) {
- Log(EDebug, "Shutting down WGL Renderer");
- wglDeleteContext(m_context);
- }
-
- m_initialized = false;
-}
-
-void *WGLRenderer::lookupExtension(const std::string &name) const {
- return (void *) wglGetProcAddress(name.c_str());
-}
-
-MTS_IMPLEMENT_CLASS(WGLRenderer, true, GLRenderer)
-MTS_NAMESPACE_END
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
+#include
+
+MTS_NAMESPACE_BEGIN
+
+WGLRenderer::WGLRenderer(WGLSession *session)
+ : GLRenderer(session) {
+}
+
+WGLRenderer::~WGLRenderer() {
+ if (m_initialized)
+ shutdown();
+}
+
+void WGLRenderer::init(Device *device, Renderer *other) {
+ WGLDevice *wglDevice = static_cast(device);
+
+ if (m_session == NULL) {
+ Log(EDebug, "Using an existing WGL context");
+ m_context = wglGetCurrentContext();
+ if (m_context == NULL)
+ Log(EError, "Unable to retrieve the current WGL context!");
+ m_borrowed = true;
+ } else {
+ /* Create a GL context */
+ Log(EDebug, "Initializing WGL renderer");
+ m_context = wglCreateContext(wglDevice->getDeviceContext());
+
+ if (other != NULL) {
+ Assert(other->getClass() == m_theClass);
+ if (wglShareLists(m_context,
+ static_cast(other)->m_context) != TRUE)
+ Log(EError, "Unable to set up context sharing: %s",
+ lastErrorText().c_str());
+ }
+
+ device->makeCurrent(this);
+ m_borrowed = false;
+ }
+
+ GLRenderer::init(device);
+
+ m_initialized = true;
+}
+
+void WGLRenderer::shutdown() {
+ GLRenderer::shutdown();
+
+ if (!m_borrowed) {
+ Log(EDebug, "Shutting down WGL Renderer");
+ wglDeleteContext(m_context);
+ }
+
+ m_initialized = false;
+}
+
+void *WGLRenderer::lookupExtension(const std::string &name) const {
+ return (void *) wglGetProcAddress(name.c_str());
+}
+
+MTS_IMPLEMENT_CLASS(WGLRenderer, true, GLRenderer)
+MTS_NAMESPACE_END
diff --git a/src/libhw/wglsession.cpp b/src/libhw/wglsession.cpp
index 6dcb8f42..f11b6e36 100644
--- a/src/libhw/wglsession.cpp
+++ b/src/libhw/wglsession.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/libhw/x11device.cpp b/src/libhw/x11device.cpp
index 4f849326..e6ab4608 100644
--- a/src/libhw/x11device.cpp
+++ b/src/libhw/x11device.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/libhw/x11session.cpp b/src/libhw/x11session.cpp
index 509448fb..966e4cf5 100644
--- a/src/libhw/x11session.cpp
+++ b/src/libhw/x11session.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/bsdf.cpp b/src/librender/bsdf.cpp
index e9e88460..aeacdbe2 100644
--- a/src/librender/bsdf.cpp
+++ b/src/librender/bsdf.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/camera.cpp b/src/librender/camera.cpp
index 91bb5c88..a329b2a0 100644
--- a/src/librender/camera.cpp
+++ b/src/librender/camera.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/film.cpp b/src/librender/film.cpp
index ef5796fb..65cfaf02 100644
--- a/src/librender/film.cpp
+++ b/src/librender/film.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/gatherproc.cpp b/src/librender/gatherproc.cpp
index d125f175..1c8b2526 100644
--- a/src/librender/gatherproc.cpp
+++ b/src/librender/gatherproc.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/imageproc.cpp b/src/librender/imageproc.cpp
index 9c91203f..552a61b1 100644
--- a/src/librender/imageproc.cpp
+++ b/src/librender/imageproc.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/imageproc_wu.cpp b/src/librender/imageproc_wu.cpp
index 4b28b004..6c91c820 100644
--- a/src/librender/imageproc_wu.cpp
+++ b/src/librender/imageproc_wu.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/integrator.cpp b/src/librender/integrator.cpp
index dbdb082e..f4d6a8eb 100644
--- a/src/librender/integrator.cpp
+++ b/src/librender/integrator.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/irrcache.cpp b/src/librender/irrcache.cpp
index bcb387a9..502432b5 100644
--- a/src/librender/irrcache.cpp
+++ b/src/librender/irrcache.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/kdtree.cpp b/src/librender/kdtree.cpp
index df6b7fb9..4f2011a5 100644
--- a/src/librender/kdtree.cpp
+++ b/src/librender/kdtree.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/kdtree_coherent.cpp b/src/librender/kdtree_coherent.cpp
index 76592b38..a00c621c 100644
--- a/src/librender/kdtree_coherent.cpp
+++ b/src/librender/kdtree_coherent.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/kdtree_compiler.cpp b/src/librender/kdtree_compiler.cpp
index 8a582b76..86df27f4 100644
--- a/src/librender/kdtree_compiler.cpp
+++ b/src/librender/kdtree_compiler.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/kdtree_traversal.cpp b/src/librender/kdtree_traversal.cpp
index 1fa7fd55..31bfca5c 100644
--- a/src/librender/kdtree_traversal.cpp
+++ b/src/librender/kdtree_traversal.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/luminaire.cpp b/src/librender/luminaire.cpp
index 39a0c2a0..1702b201 100644
--- a/src/librender/luminaire.cpp
+++ b/src/librender/luminaire.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/medium.cpp b/src/librender/medium.cpp
index f23ceb1d..f2c90fea 100644
--- a/src/librender/medium.cpp
+++ b/src/librender/medium.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/mipmap.cpp b/src/librender/mipmap.cpp
index a08d29f6..11a1a7e5 100644
--- a/src/librender/mipmap.cpp
+++ b/src/librender/mipmap.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/mipmap3d.cpp b/src/librender/mipmap3d.cpp
index 808779ec..3b73c049 100644
--- a/src/librender/mipmap3d.cpp
+++ b/src/librender/mipmap3d.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/particleproc.cpp b/src/librender/particleproc.cpp
index 8e0bf769..606dc7f1 100644
--- a/src/librender/particleproc.cpp
+++ b/src/librender/particleproc.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/photonmap.cpp b/src/librender/photonmap.cpp
index 74b932ab..5fbc6414 100644
--- a/src/librender/photonmap.cpp
+++ b/src/librender/photonmap.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/librender/preview.cpp b/src/librender/preview.cpp
index 89279020..27b90cbb 100644
--- a/src/librender/preview.cpp
+++ b/src/librender/preview.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/records.cpp b/src/librender/records.cpp
index 6dabcfa9..4386acb4 100644
--- a/src/librender/records.cpp
+++ b/src/librender/records.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/renderjob.cpp b/src/librender/renderjob.cpp
index 982a7c41..3d8fc57c 100644
--- a/src/librender/renderjob.cpp
+++ b/src/librender/renderjob.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/renderproc.cpp b/src/librender/renderproc.cpp
index f05b2962..a655b0a0 100644
--- a/src/librender/renderproc.cpp
+++ b/src/librender/renderproc.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/renderproc_wr.cpp b/src/librender/renderproc_wr.cpp
index 50424c37..ae9bf3a4 100644
--- a/src/librender/renderproc_wr.cpp
+++ b/src/librender/renderproc_wr.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/renderqueue.cpp b/src/librender/renderqueue.cpp
index 7730b31e..3c0551a3 100644
--- a/src/librender/renderqueue.cpp
+++ b/src/librender/renderqueue.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/rfilter.cpp b/src/librender/rfilter.cpp
index 992a50b3..820e3aa8 100644
--- a/src/librender/rfilter.cpp
+++ b/src/librender/rfilter.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/sampler.cpp b/src/librender/sampler.cpp
index 30ac3e20..c6a289fd 100644
--- a/src/librender/sampler.cpp
+++ b/src/librender/sampler.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/scene.cpp b/src/librender/scene.cpp
index d5b0869b..b26dc796 100644
--- a/src/librender/scene.cpp
+++ b/src/librender/scene.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/librender/shader.cpp b/src/librender/shader.cpp
index 7ea21e35..8c24a06d 100644
--- a/src/librender/shader.cpp
+++ b/src/librender/shader.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
MTS_NAMESPACE_BEGIN
diff --git a/src/librender/shandler.cpp b/src/librender/shandler.cpp
index 37e63ab3..1f5e3ecb 100644
--- a/src/librender/shandler.cpp
+++ b/src/librender/shandler.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
#include
diff --git a/src/librender/shape.cpp b/src/librender/shape.cpp
index 44e9be93..62769925 100644
--- a/src/librender/shape.cpp
+++ b/src/librender/shape.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/subsurface.cpp b/src/librender/subsurface.cpp
index 9553e67a..cf3272bc 100644
--- a/src/librender/subsurface.cpp
+++ b/src/librender/subsurface.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+*/
+
#include
#include
diff --git a/src/librender/testcase.cpp b/src/librender/testcase.cpp
index f8654af6..71139eae 100644
--- a/src/librender/testcase.cpp
+++ b/src/librender/testcase.cpp
@@ -1,3 +1,21 @@
+/*
+ This file is part of Mitsuba, a physically based rendering system.
+
+ Copyright (c) 2007-2010 by Wenzel Jakob and others.
+
+ Mitsuba is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License Version 3
+ as published by the Free Software Foundation.
+
+ Mitsuba is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see