From 0f1158c678f8d3d2055909cac77507ceb82f120e Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Thu, 2 Sep 2010 23:41:20 +0200 Subject: [PATCH] added copyright headers to all relevant source files --- include/mitsuba/core/aabb.h | 18 + include/mitsuba/core/aabb_sse.h | 18 + include/mitsuba/core/appender.h | 18 + include/mitsuba/core/bitmap.h | 18 + include/mitsuba/core/bsphere.h | 18 + include/mitsuba/core/class.h | 18 + include/mitsuba/core/cobject.h | 18 + include/mitsuba/core/constants.h | 18 + include/mitsuba/core/cstream.h | 18 + include/mitsuba/core/fifo.h | 18 + include/mitsuba/core/formatter.h | 18 + include/mitsuba/core/frame.h | 18 + include/mitsuba/core/fresolver.h | 18 + include/mitsuba/core/fstream.h | 18 + include/mitsuba/core/grid.h | 18 + include/mitsuba/core/lock.h | 18 + include/mitsuba/core/logger.h | 18 + include/mitsuba/core/mstream.h | 18 + include/mitsuba/core/netobject.h | 18 + include/mitsuba/core/normal.h | 18 + include/mitsuba/core/object.h | 18 + include/mitsuba/core/octree.h | 18 + include/mitsuba/core/pdf.h | 18 + include/mitsuba/core/platform.h | 230 ++++++------ include/mitsuba/core/plugin.h | 18 + include/mitsuba/core/point.h | 18 + include/mitsuba/core/properties.h | 18 + include/mitsuba/core/random.h | 18 + include/mitsuba/core/ray.h | 18 + include/mitsuba/core/ref.h | 18 + include/mitsuba/core/sched.h | 18 + include/mitsuba/core/sched_remote.h | 18 + include/mitsuba/core/serialization.h | 18 + include/mitsuba/core/shvector.h | 18 + include/mitsuba/core/shvector4d.h | 18 + include/mitsuba/core/spectrum.h | 18 + include/mitsuba/core/sse.h | 18 + include/mitsuba/core/sshstream.h | 18 + include/mitsuba/core/sstream.h | 18 + include/mitsuba/core/statistics.h | 18 + include/mitsuba/core/stl.h | 326 +++++++++-------- include/mitsuba/core/stream.h | 18 + include/mitsuba/core/thread.h | 18 + include/mitsuba/core/timer.h | 18 + include/mitsuba/core/tls.h | 18 + include/mitsuba/core/transform.h | 18 + include/mitsuba/core/triangle.h | 18 + include/mitsuba/core/util.h | 18 + include/mitsuba/core/vector.h | 18 + include/mitsuba/core/wavelet.h | 18 + include/mitsuba/core/zstream.h | 18 + include/mitsuba/hw/device.h | 18 + include/mitsuba/hw/glgeometry.h | 18 + include/mitsuba/hw/glprogram.h | 18 + include/mitsuba/hw/glrenderer.h | 18 + include/mitsuba/hw/glsync.h | 18 + include/mitsuba/hw/gltexture.h | 18 + include/mitsuba/hw/glxdevice.h | 18 + include/mitsuba/hw/glxrenderer.h | 18 + include/mitsuba/hw/gpugeometry.h | 18 + include/mitsuba/hw/gpuprogram.h | 18 + include/mitsuba/hw/gpusync.h | 18 + include/mitsuba/hw/gputexture.h | 18 + include/mitsuba/hw/nsgldevice.h | 18 + include/mitsuba/hw/nsglkeys.h | 18 + include/mitsuba/hw/nsglrenderer.h | 18 + include/mitsuba/hw/nsglsession.h | 18 + include/mitsuba/hw/renderer.h | 18 + include/mitsuba/hw/session.h | 18 + include/mitsuba/hw/vpl.h | 18 + include/mitsuba/hw/wgldevice.h | 18 + include/mitsuba/hw/wglrenderer.h | 18 + include/mitsuba/hw/wglsession.h | 18 + include/mitsuba/hw/x11device.h | 18 + include/mitsuba/hw/x11session.h | 18 + include/mitsuba/mitsuba.h | 18 + include/mitsuba/render/bsdf.h | 18 + include/mitsuba/render/camera.h | 18 + include/mitsuba/render/film.h | 18 + include/mitsuba/render/gatherproc.h | 18 + include/mitsuba/render/imageproc.h | 18 + include/mitsuba/render/imageproc_wu.h | 18 + include/mitsuba/render/integrator.h | 18 + include/mitsuba/render/irrcache.h | 18 + include/mitsuba/render/kdtree.h | 18 + include/mitsuba/render/luminaire.h | 18 + include/mitsuba/render/medium.h | 18 + include/mitsuba/render/mipmap.h | 18 + include/mitsuba/render/mipmap3d.h | 18 + include/mitsuba/render/particleproc.h | 18 + include/mitsuba/render/photonmap.h | 18 + include/mitsuba/render/preview.h | 18 + include/mitsuba/render/range.h | 18 + include/mitsuba/render/records.h | 18 + include/mitsuba/render/renderjob.h | 18 + include/mitsuba/render/renderproc.h | 18 + include/mitsuba/render/renderproc_wr.h | 18 + include/mitsuba/render/renderqueue.h | 18 + include/mitsuba/render/rfilter.h | 18 + include/mitsuba/render/sampler.h | 18 + include/mitsuba/render/scene.h | 18 + include/mitsuba/render/shader.h | 18 + include/mitsuba/render/shandler.h | 18 + include/mitsuba/render/shape.h | 18 + include/mitsuba/render/spiral.h | 18 + include/mitsuba/render/subsurface.h | 18 + include/mitsuba/render/testcase.h | 18 + include/mitsuba/render/texture.h | 18 + include/mitsuba/render/triaccel.h | 18 + include/mitsuba/render/triaccel_sse.h | 18 + include/mitsuba/render/trimesh.h | 18 + include/mitsuba/render/util.h | 18 + include/mitsuba/render/volume.h | 18 + include/mitsuba/render/vpl.h | 18 + src/bsdfs/composite.cpp | 18 + src/bsdfs/dielectric.cpp | 18 + src/bsdfs/difftrans.cpp | 18 + src/bsdfs/lambertian.cpp | 18 + src/bsdfs/mask.cpp | 18 + src/bsdfs/microfacet.cpp | 18 + src/bsdfs/mirror.cpp | 18 + src/bsdfs/phong.cpp | 18 + src/bsdfs/roughglass.cpp | 18 + src/bsdfs/roughmetal.cpp | 18 + src/bsdfs/transparent.cpp | 18 + src/bsdfs/ward.cpp | 18 + src/cameras/orthographic.cpp | 18 + src/cameras/perspective.cpp | 18 + src/converter/collada.cpp | 18 + src/converter/converter.cpp | 18 + src/converter/mtsimport.cpp | 18 + src/converter/obj.cpp | 18 + src/films/exrfilm.cpp | 18 + src/films/mfilm.cpp | 18 + src/films/pngfilm.cpp | 18 + src/integrators/direct/direct.cpp | 18 + src/integrators/misc/errctrl.cpp | 18 + src/integrators/misc/irrcache.cpp | 18 + src/integrators/misc/irrcache_proc.cpp | 18 + src/integrators/path/path.cpp | 18 + src/integrators/path/ptracer.cpp | 18 + src/integrators/path/ptracer_proc.cpp | 18 + src/integrators/path/volpath.cpp | 18 + src/integrators/path/volpath_simple.cpp | 18 + src/integrators/photonmapper/photonmapper.cpp | 18 + src/integrators/photonmapper/ppm.cpp | 18 + src/integrators/photonmapper/sppm.cpp | 18 + src/integrators/vpl/vpl.cpp | 18 + src/libcore/aabb.cpp | 18 + src/libcore/appender.cpp | 18 + src/libcore/bitmap.cpp | 18 + src/libcore/class.cpp | 18 + src/libcore/cstream.cpp | 18 + src/libcore/darwin.mm | 18 + src/libcore/formatter.cpp | 18 + src/libcore/fstream.cpp | 18 + src/libcore/lock.cpp | 18 + src/libcore/logger.cpp | 18 + src/libcore/mstream.cpp | 18 + src/libcore/object.cpp | 18 + src/libcore/plugin.cpp | 18 + src/libcore/properties.cpp | 18 + src/libcore/sched.cpp | 18 + src/libcore/sched_remote.cpp | 18 + src/libcore/serialization.cpp | 18 + src/libcore/shvector.cpp | 18 + src/libcore/spectrum.cpp | 18 + src/libcore/sshstream.cpp | 18 + src/libcore/sstream.cpp | 18 + src/libcore/statistics.cpp | 18 + src/libcore/stream.cpp | 18 + src/libcore/thread.cpp | 18 + src/libcore/timer.cpp | 18 + src/libcore/transform.cpp | 18 + src/libcore/triangle.cpp | 18 + src/libcore/util.cpp | 18 + src/libcore/wavelet.cpp | 18 + src/libcore/zstream.cpp | 18 + src/libhw/device.cpp | 18 + src/libhw/glgeometry.cpp | 18 + src/libhw/glprogram.cpp | 18 + src/libhw/glrenderer.cpp | 18 + src/libhw/glsync.cpp | 18 + src/libhw/gltexture.cpp | 18 + src/libhw/glxdevice.cpp | 18 + src/libhw/glxrenderer.cpp | 18 + src/libhw/gpugeometry.cpp | 18 + src/libhw/gpuprogram.cpp | 18 + src/libhw/gpusync.cpp | 18 + src/libhw/gputexture.cpp | 18 + src/libhw/nsgldevice.mm | 18 + src/libhw/nsglrenderer.mm | 18 + src/libhw/nsglsession.mm | 18 + src/libhw/renderer.cpp | 18 + src/libhw/session.cpp | 18 + src/libhw/vpl.cpp | 18 + src/libhw/wgldevice.cpp | 18 + src/libhw/wglrenderer.cpp | 140 ++++--- src/libhw/wglsession.cpp | 18 + src/libhw/x11device.cpp | 18 + src/libhw/x11session.cpp | 18 + src/librender/bsdf.cpp | 18 + src/librender/camera.cpp | 18 + src/librender/film.cpp | 18 + src/librender/gatherproc.cpp | 18 + src/librender/imageproc.cpp | 18 + src/librender/imageproc_wu.cpp | 18 + src/librender/integrator.cpp | 18 + src/librender/irrcache.cpp | 18 + src/librender/kdtree.cpp | 18 + src/librender/kdtree_coherent.cpp | 18 + src/librender/kdtree_compiler.cpp | 18 + src/librender/kdtree_traversal.cpp | 18 + src/librender/luminaire.cpp | 18 + src/librender/medium.cpp | 18 + src/librender/mipmap.cpp | 18 + src/librender/mipmap3d.cpp | 18 + src/librender/particleproc.cpp | 18 + src/librender/photonmap.cpp | 18 + src/librender/preview.cpp | 18 + src/librender/records.cpp | 18 + src/librender/renderjob.cpp | 18 + src/librender/renderproc.cpp | 18 + src/librender/renderproc_wr.cpp | 18 + src/librender/renderqueue.cpp | 18 + src/librender/rfilter.cpp | 18 + src/librender/sampler.cpp | 18 + src/librender/scene.cpp | 18 + src/librender/shader.cpp | 18 + src/librender/shandler.cpp | 18 + src/librender/shape.cpp | 18 + src/librender/subsurface.cpp | 18 + src/librender/testcase.cpp | 18 + src/librender/texture.cpp | 18 + src/librender/trimesh.cpp | 18 + src/librender/util.cpp | 18 + src/librender/volume.cpp | 18 + src/librender/vpl.cpp | 18 + src/luminaires/area.cpp | 18 + src/luminaires/collimated.cpp | 18 + src/luminaires/constant.cpp | 18 + src/luminaires/directional.cpp | 18 + src/luminaires/envmap.cpp | 18 + src/luminaires/point.cpp | 18 + src/luminaires/portal.cpp | 18 + src/luminaires/spot.cpp | 18 + src/medium/adaptive.cpp | 18 + src/medium/flake.cpp | 18 + src/medium/heterogeneous-flake.cpp | 18 + src/medium/heterogeneous-stencil.cpp | 18 + src/medium/heterogeneous.cpp | 18 + src/medium/homogeneous.cpp | 18 + src/mitsuba/darwin_stub.mm | 18 + src/mitsuba/mitsuba.cpp | 18 + src/mitsuba/mtssrv.cpp | 18 + src/mitsuba/mtsutil.cpp | 18 + src/phase/hg.cpp | 18 + src/phase/isotropic.cpp | 18 + src/phase/kkay.cpp | 18 + src/qtgui/aboutdlg.cpp | 18 + src/qtgui/acknowledgmentdlg.cpp | 18 + src/qtgui/addserverdlg.cpp | 18 + src/qtgui/glwidget.cpp | 18 + src/qtgui/importdlg.cpp | 18 + src/qtgui/locateresourcedlg.cpp | 18 + src/qtgui/logwidget.cpp | 18 + src/qtgui/main.cpp | 18 + src/qtgui/mainwindow.cpp | 18 + src/qtgui/navdlg.cpp | 18 + src/qtgui/preview.cpp | 18 + src/qtgui/preview_proc.cpp | 18 + src/qtgui/previewsettingsdlg.cpp | 18 + src/qtgui/previewsettingsdlg_cocoa.cpp | 18 + src/qtgui/previewsettingsdlg_cocoa_impl.mm | 18 + src/qtgui/programsettingsdlg.cpp | 18 + src/qtgui/rendersettingsdlg.cpp | 18 + src/qtgui/save.cpp | 18 + src/qtgui/sceneimporter.cpp | 18 + src/qtgui/sceneloader.cpp | 18 + src/qtgui/server.cpp | 18 + src/qtgui/tabbar.cpp | 18 + src/qtgui/xmltreemodel.cpp | 18 + src/rfilters/box.cpp | 18 + src/rfilters/catmullrom.cpp | 18 + src/rfilters/gaussian.cpp | 18 + src/rfilters/mitchell.cpp | 18 + src/rfilters/wsinc.cpp | 18 + src/samplers/halton.cpp | 18 + src/samplers/hammersley.cpp | 18 + src/samplers/independent.cpp | 18 + src/samplers/ldsampler.cpp | 18 + src/samplers/stratified.cpp | 18 + src/shapes/cylinder.cpp | 18 + src/shapes/hair.cpp | 18 + src/shapes/obj.cpp | 18 + src/shapes/serialized.cpp | 18 + src/shapes/sphere.cpp | 18 + src/subsurface/adipole.cpp | 18 + src/subsurface/dipole.cpp | 18 + src/subsurface/irrproc.cpp | 18 + src/subsurface/irrtree.cpp | 18 + src/tests/test_samplers.cpp | 18 + src/tests/test_sh.cpp | 18 + src/textures/checkerboard.cpp | 18 + src/textures/exrtexture.cpp | 18 + src/textures/gridtexture.cpp | 18 + src/textures/ldrtexture.cpp | 18 + src/utils/addimages.cpp | 18 + src/utils/createvol.cpp | 18 + src/utils/joinrgb.cpp | 18 + src/utils/trackball.cpp | 346 ------------------ src/utils/ttest.cpp | 18 + src/volume/constvolume.cpp | 18 + src/volume/gridvolume.cpp | 18 + src/volume/hgridvolume.cpp | 18 + 315 files changed, 5973 insertions(+), 667 deletions(-) delete mode 100644 src/utils/trackball.cpp 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 . +*/ + #include #include #include diff --git a/src/librender/texture.cpp b/src/librender/texture.cpp index 975ebccf..c45b6347 100644 --- a/src/librender/texture.cpp +++ b/src/librender/texture.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/trimesh.cpp b/src/librender/trimesh.cpp index f78c66ed..159216e4 100644 --- a/src/librender/trimesh.cpp +++ b/src/librender/trimesh.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/util.cpp b/src/librender/util.cpp index c34c6508..b5b171b2 100644 --- a/src/librender/util.cpp +++ b/src/librender/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/librender/volume.cpp b/src/librender/volume.cpp index 0306c0c8..5689da14 100644 --- a/src/librender/volume.cpp +++ b/src/librender/volume.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(__LINUX__) diff --git a/src/librender/vpl.cpp b/src/librender/vpl.cpp index e6245e92..3808a6e6 100644 --- a/src/librender/vpl.cpp +++ b/src/librender/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 diff --git a/src/luminaires/area.cpp b/src/luminaires/area.cpp index a26e58dd..8d84f6f7 100644 --- a/src/luminaires/area.cpp +++ b/src/luminaires/area.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/luminaires/collimated.cpp b/src/luminaires/collimated.cpp index e718ed90..155b3120 100644 --- a/src/luminaires/collimated.cpp +++ b/src/luminaires/collimated.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/luminaires/constant.cpp b/src/luminaires/constant.cpp index 0835c0e3..68e11225 100644 --- a/src/luminaires/constant.cpp +++ b/src/luminaires/constant.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/luminaires/directional.cpp b/src/luminaires/directional.cpp index 370cb4a3..020bc231 100644 --- a/src/luminaires/directional.cpp +++ b/src/luminaires/directional.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/luminaires/envmap.cpp b/src/luminaires/envmap.cpp index 4f5ad876..3cc78762 100644 --- a/src/luminaires/envmap.cpp +++ b/src/luminaires/envmap.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/luminaires/point.cpp b/src/luminaires/point.cpp index d6d0c031..a4dd6bd6 100644 --- a/src/luminaires/point.cpp +++ b/src/luminaires/point.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/luminaires/portal.cpp b/src/luminaires/portal.cpp index de8db0e1..7e09e5db 100644 --- a/src/luminaires/portal.cpp +++ b/src/luminaires/portal.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/luminaires/spot.cpp b/src/luminaires/spot.cpp index d260e623..776e6dc3 100644 --- a/src/luminaires/spot.cpp +++ b/src/luminaires/spot.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/medium/adaptive.cpp b/src/medium/adaptive.cpp index c1fb1ea4..117b6dec 100644 --- a/src/medium/adaptive.cpp +++ b/src/medium/adaptive.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/medium/flake.cpp b/src/medium/flake.cpp index 0a5c1f82..07630ee9 100644 --- a/src/medium/flake.cpp +++ b/src/medium/flake.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/medium/heterogeneous-flake.cpp b/src/medium/heterogeneous-flake.cpp index 2aefeb42..af50d9f5 100644 --- a/src/medium/heterogeneous-flake.cpp +++ b/src/medium/heterogeneous-flake.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/medium/heterogeneous-stencil.cpp b/src/medium/heterogeneous-stencil.cpp index dde247d7..fd2c1c86 100644 --- a/src/medium/heterogeneous-stencil.cpp +++ b/src/medium/heterogeneous-stencil.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/medium/heterogeneous.cpp b/src/medium/heterogeneous.cpp index 0dcf919a..de665d3a 100644 --- a/src/medium/heterogeneous.cpp +++ b/src/medium/heterogeneous.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/medium/homogeneous.cpp b/src/medium/homogeneous.cpp index 81271aad..f6709ff3 100644 --- a/src/medium/homogeneous.cpp +++ b/src/medium/homogeneous.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 "maxexp.h" diff --git a/src/mitsuba/darwin_stub.mm b/src/mitsuba/darwin_stub.mm index a5d17a88..6489633c 100644 --- a/src/mitsuba/darwin_stub.mm +++ b/src/mitsuba/darwin_stub.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 . +*/ + #import extern int ubi_main(int argc, char **argv); diff --git a/src/mitsuba/mitsuba.cpp b/src/mitsuba/mitsuba.cpp index e0038da8..28967a49 100644 --- a/src/mitsuba/mitsuba.cpp +++ b/src/mitsuba/mitsuba.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/mitsuba/mtssrv.cpp b/src/mitsuba/mtssrv.cpp index 7295a626..1b8cdd16 100644 --- a/src/mitsuba/mtssrv.cpp +++ b/src/mitsuba/mtssrv.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/mitsuba/mtsutil.cpp b/src/mitsuba/mtsutil.cpp index a03fe922..1ce200c5 100644 --- a/src/mitsuba/mtsutil.cpp +++ b/src/mitsuba/mtsutil.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/phase/hg.cpp b/src/phase/hg.cpp index 0c7090fb..963906ab 100644 --- a/src/phase/hg.cpp +++ b/src/phase/hg.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/phase/isotropic.cpp b/src/phase/isotropic.cpp index 9b0ba78b..cca19493 100644 --- a/src/phase/isotropic.cpp +++ b/src/phase/isotropic.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/phase/kkay.cpp b/src/phase/kkay.cpp index 7ffed8bb..5ab252ae 100644 --- a/src/phase/kkay.cpp +++ b/src/phase/kkay.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/qtgui/aboutdlg.cpp b/src/qtgui/aboutdlg.cpp index 94b5c68f..b8f7ea66 100644 --- a/src/qtgui/aboutdlg.cpp +++ b/src/qtgui/aboutdlg.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 "ui_aboutdlg.h" #include "aboutdlg.h" #include "acknowledgmentdlg.h" diff --git a/src/qtgui/acknowledgmentdlg.cpp b/src/qtgui/acknowledgmentdlg.cpp index fed462c6..123236dc 100644 --- a/src/qtgui/acknowledgmentdlg.cpp +++ b/src/qtgui/acknowledgmentdlg.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 "ui_acknowledgmentdlg.h" #include "acknowledgmentdlg.h" diff --git a/src/qtgui/addserverdlg.cpp b/src/qtgui/addserverdlg.cpp index ed9169bd..c65e2c5a 100644 --- a/src/qtgui/addserverdlg.cpp +++ b/src/qtgui/addserverdlg.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 "ui_addserverdlg.h" #include "addserverdlg.h" diff --git a/src/qtgui/glwidget.cpp b/src/qtgui/glwidget.cpp index d1050316..d6c82b44 100644 --- a/src/qtgui/glwidget.cpp +++ b/src/qtgui/glwidget.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 #if defined(__OSX__) diff --git a/src/qtgui/importdlg.cpp b/src/qtgui/importdlg.cpp index 83cd8c55..758d351e 100644 --- a/src/qtgui/importdlg.cpp +++ b/src/qtgui/importdlg.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 "ui_importdlg.h" #include "importdlg.h" #include "acknowledgmentdlg.h" diff --git a/src/qtgui/locateresourcedlg.cpp b/src/qtgui/locateresourcedlg.cpp index bc77d5c2..e4d72745 100644 --- a/src/qtgui/locateresourcedlg.cpp +++ b/src/qtgui/locateresourcedlg.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 "ui_locateresourcedlg.h" #include "locateresourcedlg.h" diff --git a/src/qtgui/logwidget.cpp b/src/qtgui/logwidget.cpp index efa953bf..10eeb468 100644 --- a/src/qtgui/logwidget.cpp +++ b/src/qtgui/logwidget.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 "logwidget.h" LogWidget::LogWidget(QWidget *parent) diff --git a/src/qtgui/main.cpp b/src/qtgui/main.cpp index 328a797f..870efe04 100644 --- a/src/qtgui/main.cpp +++ b/src/qtgui/main.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/qtgui/mainwindow.cpp b/src/qtgui/mainwindow.cpp index 13bcdca8..0d506e11 100644 --- a/src/qtgui/mainwindow.cpp +++ b/src/qtgui/mainwindow.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 "mainwindow.h" #include "ui_mainwindow.h" #include "rendersettingsdlg.h" diff --git a/src/qtgui/navdlg.cpp b/src/qtgui/navdlg.cpp index 1eb5b8f2..9029302d 100644 --- a/src/qtgui/navdlg.cpp +++ b/src/qtgui/navdlg.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 "ui_navdlg.h" #include "navdlg.h" diff --git a/src/qtgui/preview.cpp b/src/qtgui/preview.cpp index 1e137815..6ea9ffde 100644 --- a/src/qtgui/preview.cpp +++ b/src/qtgui/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 "glwidget.h" #include "preview.h" diff --git a/src/qtgui/preview_proc.cpp b/src/qtgui/preview_proc.cpp index 4bba69ec..dd04ed79 100644 --- a/src/qtgui/preview_proc.cpp +++ b/src/qtgui/preview_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 "preview_proc.h" diff --git a/src/qtgui/previewsettingsdlg.cpp b/src/qtgui/previewsettingsdlg.cpp index e96c3c63..bb29796d 100644 --- a/src/qtgui/previewsettingsdlg.cpp +++ b/src/qtgui/previewsettingsdlg.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 "glwidget.h" #include "ui_previewsettingsdlg.h" #include "previewsettingsdlg.h" diff --git a/src/qtgui/previewsettingsdlg_cocoa.cpp b/src/qtgui/previewsettingsdlg_cocoa.cpp index e69de29b..79cb04b8 100644 --- a/src/qtgui/previewsettingsdlg_cocoa.cpp +++ b/src/qtgui/previewsettingsdlg_cocoa.cpp @@ -0,0 +1,18 @@ +/* + 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 . +*/ + diff --git a/src/qtgui/previewsettingsdlg_cocoa_impl.mm b/src/qtgui/previewsettingsdlg_cocoa_impl.mm index f0f0118b..11836a68 100644 --- a/src/qtgui/previewsettingsdlg_cocoa_impl.mm +++ b/src/qtgui/previewsettingsdlg_cocoa_impl.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 "previewsettingsdlg_cocoa.h" @implementation CocoaRenderSettingsDlg diff --git a/src/qtgui/programsettingsdlg.cpp b/src/qtgui/programsettingsdlg.cpp index 37e1d7f4..489cf261 100644 --- a/src/qtgui/programsettingsdlg.cpp +++ b/src/qtgui/programsettingsdlg.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 "ui_programsettingsdlg.h" #include "programsettingsdlg.h" #include "addserverdlg.h" diff --git a/src/qtgui/rendersettingsdlg.cpp b/src/qtgui/rendersettingsdlg.cpp index feb65d19..f79b8a08 100644 --- a/src/qtgui/rendersettingsdlg.cpp +++ b/src/qtgui/rendersettingsdlg.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 "rendersettingsdlg.h" #include "ui_rendersettingsdlg.h" #include diff --git a/src/qtgui/save.cpp b/src/qtgui/save.cpp index 3d627e79..a6e50ae7 100644 --- a/src/qtgui/save.cpp +++ b/src/qtgui/save.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 "save.h" #include diff --git a/src/qtgui/sceneimporter.cpp b/src/qtgui/sceneimporter.cpp index 8ac3c888..6bf671cb 100644 --- a/src/qtgui/sceneimporter.cpp +++ b/src/qtgui/sceneimporter.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 "sceneimporter.h" #include "../converter/converter.h" #include "locateresourcedlg.h" diff --git a/src/qtgui/sceneloader.cpp b/src/qtgui/sceneloader.cpp index 4a993fab..0790e8d9 100644 --- a/src/qtgui/sceneloader.cpp +++ b/src/qtgui/sceneloader.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 "glwidget.h" #include "sceneloader.h" diff --git a/src/qtgui/server.cpp b/src/qtgui/server.cpp index b52ca5b9..ec69a73b 100644 --- a/src/qtgui/server.cpp +++ b/src/qtgui/server.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 "server.h" #include #include diff --git a/src/qtgui/tabbar.cpp b/src/qtgui/tabbar.cpp index af7486b9..0350b528 100644 --- a/src/qtgui/tabbar.cpp +++ b/src/qtgui/tabbar.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 "mainwindow.h" #include "tabbar.h" diff --git a/src/qtgui/xmltreemodel.cpp b/src/qtgui/xmltreemodel.cpp index 34efd02b..9dc34d37 100644 --- a/src/qtgui/xmltreemodel.cpp +++ b/src/qtgui/xmltreemodel.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 "xmltreemodel.h" // ==================================================================== diff --git a/src/rfilters/box.cpp b/src/rfilters/box.cpp index 44f985b0..517093a6 100644 --- a/src/rfilters/box.cpp +++ b/src/rfilters/box.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/rfilters/catmullrom.cpp b/src/rfilters/catmullrom.cpp index 047da3f5..70f7bf99 100644 --- a/src/rfilters/catmullrom.cpp +++ b/src/rfilters/catmullrom.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/rfilters/gaussian.cpp b/src/rfilters/gaussian.cpp index 99785251..c2168ad8 100644 --- a/src/rfilters/gaussian.cpp +++ b/src/rfilters/gaussian.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/rfilters/mitchell.cpp b/src/rfilters/mitchell.cpp index 6e5c9f4f..0c06705d 100644 --- a/src/rfilters/mitchell.cpp +++ b/src/rfilters/mitchell.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/rfilters/wsinc.cpp b/src/rfilters/wsinc.cpp index 1281d850..3c232508 100644 --- a/src/rfilters/wsinc.cpp +++ b/src/rfilters/wsinc.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/samplers/halton.cpp b/src/samplers/halton.cpp index 07fcab65..fd474b56 100644 --- a/src/samplers/halton.cpp +++ b/src/samplers/halton.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/samplers/hammersley.cpp b/src/samplers/hammersley.cpp index 968a8788..e71b607f 100644 --- a/src/samplers/hammersley.cpp +++ b/src/samplers/hammersley.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/samplers/independent.cpp b/src/samplers/independent.cpp index 821cbd31..f8ed812a 100644 --- a/src/samplers/independent.cpp +++ b/src/samplers/independent.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/samplers/ldsampler.cpp b/src/samplers/ldsampler.cpp index 5c1d88b9..b00ea916 100644 --- a/src/samplers/ldsampler.cpp +++ b/src/samplers/ldsampler.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/samplers/stratified.cpp b/src/samplers/stratified.cpp index 881ed18d..8b44d415 100644 --- a/src/samplers/stratified.cpp +++ b/src/samplers/stratified.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/shapes/cylinder.cpp b/src/shapes/cylinder.cpp index 1072e8b2..19fb399f 100644 --- a/src/shapes/cylinder.cpp +++ b/src/shapes/cylinder.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/shapes/hair.cpp b/src/shapes/hair.cpp index e26e5f63..8d52dab9 100644 --- a/src/shapes/hair.cpp +++ b/src/shapes/hair.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/shapes/obj.cpp b/src/shapes/obj.cpp index 05a52fea..c97b708a 100644 --- a/src/shapes/obj.cpp +++ b/src/shapes/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 . +*/ + #include #include #include diff --git a/src/shapes/serialized.cpp b/src/shapes/serialized.cpp index 649d397d..3cf049ad 100644 --- a/src/shapes/serialized.cpp +++ b/src/shapes/serialized.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/shapes/sphere.cpp b/src/shapes/sphere.cpp index 636abad9..0707233d 100644 --- a/src/shapes/sphere.cpp +++ b/src/shapes/sphere.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/subsurface/adipole.cpp b/src/subsurface/adipole.cpp index 35b2b95e..f2b93b28 100644 --- a/src/subsurface/adipole.cpp +++ b/src/subsurface/adipole.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/subsurface/dipole.cpp b/src/subsurface/dipole.cpp index 116c84d3..eb7e15e8 100644 --- a/src/subsurface/dipole.cpp +++ b/src/subsurface/dipole.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 "irrtree.h" diff --git a/src/subsurface/irrproc.cpp b/src/subsurface/irrproc.cpp index 7990f959..83c3e887 100644 --- a/src/subsurface/irrproc.cpp +++ b/src/subsurface/irrproc.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 "irrproc.h" diff --git a/src/subsurface/irrtree.cpp b/src/subsurface/irrtree.cpp index 0770509d..61e5c7fd 100644 --- a/src/subsurface/irrtree.cpp +++ b/src/subsurface/irrtree.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 "irrtree.h" MTS_NAMESPACE_BEGIN diff --git a/src/tests/test_samplers.cpp b/src/tests/test_samplers.cpp index 65489a3d..4d8221a2 100644 --- a/src/tests/test_samplers.cpp +++ b/src/tests/test_samplers.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/tests/test_sh.cpp b/src/tests/test_sh.cpp index aed347a1..f6306b67 100644 --- a/src/tests/test_sh.cpp +++ b/src/tests/test_sh.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/textures/checkerboard.cpp b/src/textures/checkerboard.cpp index 37ff63ec..df6016bb 100644 --- a/src/textures/checkerboard.cpp +++ b/src/textures/checkerboard.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/textures/exrtexture.cpp b/src/textures/exrtexture.cpp index 2747fd7d..a44de900 100644 --- a/src/textures/exrtexture.cpp +++ b/src/textures/exrtexture.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/textures/gridtexture.cpp b/src/textures/gridtexture.cpp index 3ac205f2..a7eb5f5a 100644 --- a/src/textures/gridtexture.cpp +++ b/src/textures/gridtexture.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/textures/ldrtexture.cpp b/src/textures/ldrtexture.cpp index c830b48e..b44497a4 100644 --- a/src/textures/ldrtexture.cpp +++ b/src/textures/ldrtexture.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/utils/addimages.cpp b/src/utils/addimages.cpp index 675d77a5..eb67a34a 100644 --- a/src/utils/addimages.cpp +++ b/src/utils/addimages.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/utils/createvol.cpp b/src/utils/createvol.cpp index ee0599dc..640819a0 100644 --- a/src/utils/createvol.cpp +++ b/src/utils/createvol.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 #ifndef WIN32 diff --git a/src/utils/joinrgb.cpp b/src/utils/joinrgb.cpp index 7957d341..4cad448a 100644 --- a/src/utils/joinrgb.cpp +++ b/src/utils/joinrgb.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/utils/trackball.cpp b/src/utils/trackball.cpp deleted file mode 100644 index db4428c7..00000000 --- a/src/utils/trackball.cpp +++ /dev/null @@ -1,346 +0,0 @@ -/* - * (c) Copyright 1993, 1994, Silicon Graphics, Inc. - * ALL RIGHTS RESERVED - * Permission to use, copy, modify, and distribute this software for - * any purpose and without fee is hereby granted, provided that the above - * copyright notice appear in all copies and that both the copyright notice - * and this permission notice appear in supporting documentation, and that - * the name of Silicon Graphics, Inc. not be used in advertising - * or publicity pertaining to distribution of the software without specific, - * written prior permission. - * - * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" - * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, - * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR - * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON - * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, - * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY - * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, - * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF - * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN - * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE - * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. - * - * US Government Users Restricted Rights - * Use, duplication, or disclosure by the Government is subject to - * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph - * (c)(1)(ii) of the Rights in Technical Data and Computer Software - * clause at DFARS 252.227-7013 and/or in similar or successor - * clauses in the FAR or the DOD or NASA FAR Supplement. - * Unpublished-- rights reserved under the copyright laws of the - * United States. Contractor/manufacturer is Silicon Graphics, - * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. - * - * OpenGL(TM) is a trademark of Silicon Graphics, Inc. - */ -/* - * Trackball code: - * - * Implementation of a virtual trackball. - * Implemented by Gavin Bell, lots of ideas from Thant Tessman and - * the August '88 issue of Siggraph's "Computer Graphics," pp. 121-129. - * - * Vector manip code: - * - * Original code from: - * David M. Ciemiewicz, Mark Grossman, Henry Moreton, and Paul Haeberli - * - * Much mucking with by: - * Gavin Bell - */ -#if defined(_WIN32) -#pragma warning (disable:4244) /* disable bogus conversion warnings */ -#endif -#include -#include -#include "trackball.h" - -/* - * This size should really be based on the distance from the center of - * rotation to the point on the object underneath the mouse. That - * point would then track the mouse as closely as possible. This is a - * simple example, though, so that is left as an Exercise for the - * Programmer. - */ -#define TRACKBALLSIZE (0.8f) - -/* - * Local function prototypes (not defined in trackball.h) - */ -static float tb_project_to_sphere(float, float, float); -static void normalize_quat(float [4]); - -void -vzero(float *v) -{ - v[0] = 0.0; - v[1] = 0.0; - v[2] = 0.0; -} - -void -vset(float *v, float x, float y, float z) -{ - v[0] = x; - v[1] = y; - v[2] = z; -} - -void -vsub(const float *src1, const float *src2, float *dst) -{ - dst[0] = src1[0] - src2[0]; - dst[1] = src1[1] - src2[1]; - dst[2] = src1[2] - src2[2]; -} - -void -vcopy(const float *v1, float *v2) -{ - register int i; - for (i = 0 ; i < 3 ; i++) - v2[i] = v1[i]; -} - -void -vcross(const float *v1, const float *v2, float *cross) -{ - float temp[3]; - - temp[0] = (v1[1] * v2[2]) - (v1[2] * v2[1]); - temp[1] = (v1[2] * v2[0]) - (v1[0] * v2[2]); - temp[2] = (v1[0] * v2[1]) - (v1[1] * v2[0]); - vcopy(temp, cross); -} - -float -vlength(const float *v) -{ - return sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]); -} - -void -vscale(float *v, float div) -{ - v[0] *= div; - v[1] *= div; - v[2] *= div; -} - -void -vnormal(float *v) -{ - vscale(v,1.0/vlength(v)); -} - -float -vdot(const float *v1, const float *v2) -{ - return v1[0]*v2[0] + v1[1]*v2[1] + v1[2]*v2[2]; -} - -void -vadd(const float *src1, const float *src2, float *dst) -{ - dst[0] = src1[0] + src2[0]; - dst[1] = src1[1] + src2[1]; - dst[2] = src1[2] + src2[2]; -} - -/* - * Ok, simulate a track-ball. Project the points onto the virtual - * trackball, then figure out the axis of rotation, which is the cross - * product of P1 P2 and O P1 (O is the center of the ball, 0,0,0) - * Note: This is a deformed trackball-- is a trackball in the center, - * but is deformed into a hyperbolic sheet of rotation away from the - * center. This particular function was chosen after trying out - * several variations. - * - * It is assumed that the arguments to this routine are in the range - * (-1.0 ... 1.0) - */ -void -trackball(float q[4], float p1x, float p1y, float p2x, float p2y) -{ - float a[3]; /* Axis of rotation */ - float phi; /* how much to rotate about axis */ - float p1[3], p2[3], d[3]; - float t; - - if (p1x == p2x && p1y == p2y) { - /* Zero rotation */ - vzero(q); - q[3] = 1.0; - return; - } - - /* - * First, figure out z-coordinates for projection of P1 and P2 to - * deformed sphere - */ - vset(p1,p1x,p1y,tb_project_to_sphere(TRACKBALLSIZE,p1x,p1y)); - vset(p2,p2x,p2y,tb_project_to_sphere(TRACKBALLSIZE,p2x,p2y)); - - /* - * Now, we want the cross product of P1 and P2 - */ - vcross(p2,p1,a); - - /* - * Figure out how much to rotate around that axis. - */ - vsub(p1,p2,d); - t = vlength(d) / (2.0*TRACKBALLSIZE); - - /* - * Avoid problems with out-of-control values... - */ - if (t > 1.0) t = 1.0; - if (t < -1.0) t = -1.0; - phi = 2.0 * asin(t); - - axis_to_quat(a,phi,q); -} - -/* - * Given an axis and angle, compute quaternion. - */ -void -axis_to_quat(float a[3], float phi, float q[4]) -{ - vnormal(a); - vcopy(a,q); - vscale(q,sin(phi/2.0)); - q[3] = cos(phi/2.0); -} - -/* - * Project an x,y pair onto a sphere of radius r OR a hyperbolic sheet - * if we are away from the center of the sphere. - */ -static float -tb_project_to_sphere(float r, float x, float y) -{ - float d, t, z; - - d = sqrt(x*x + y*y); - if (d < r * 0.70710678118654752440) { /* Inside sphere */ - z = sqrt(r*r - d*d); - } else { /* On hyperbola */ - t = r / 1.41421356237309504880; - z = t*t / d; - } - return z; -} - -/* - * Given two rotations, e1 and e2, expressed as quaternion rotations, - * figure out the equivalent single rotation and stuff it into dest. - * - * This routine also normalizes the result every RENORMCOUNT times it is - * called, to keep error from creeping in. - * - * NOTE: This routine is written so that q1 or q2 may be the same - * as dest (or each other). - */ - -#define RENORMCOUNT 97 - -void -negate_quat(float q[4], float nq[4]) -{ - nq[0] = -q[0]; - nq[1] = -q[1]; - nq[2] = -q[2]; - nq[3] = q[3]; -} - -void -add_quats(float q1[4], float q2[4], float dest[4]) -{ - static int count=0; - float t1[4], t2[4], t3[4]; - float tf[4]; - -#if 0 -printf("q1 = %f %f %f %f\n", q1[0], q1[1], q1[2], q1[3]); -printf("q2 = %f %f %f %f\n", q2[0], q2[1], q2[2], q2[3]); -#endif - - vcopy(q1,t1); - vscale(t1,q2[3]); - - vcopy(q2,t2); - vscale(t2,q1[3]); - - vcross(q2,q1,t3); - vadd(t1,t2,tf); - vadd(t3,tf,tf); - tf[3] = q1[3] * q2[3] - vdot(q1,q2); - -#if 0 -printf("tf = %f %f %f %f\n", tf[0], tf[1], tf[2], tf[3]); -#endif - - dest[0] = tf[0]; - dest[1] = tf[1]; - dest[2] = tf[2]; - dest[3] = tf[3]; - - if (++count > RENORMCOUNT) { - count = 0; - normalize_quat(dest); - } -} - -/* - * Quaternions always obey: a^2 + b^2 + c^2 + d^2 = 1.0 - * If they don't add up to 1.0, dividing by their magnitued will - * renormalize them. - * - * Note: See the following for more information on quaternions: - * - * - Shoemake, K., Animating rotation with quaternion curves, Computer - * Graphics 19, No 3 (Proc. SIGGRAPH'85), 245-254, 1985. - * - Pletinckx, D., Quaternion calculus as a basic tool in computer - * graphics, The Visual Computer 5, 2-13, 1989. - */ -static void -normalize_quat(float q[4]) -{ - int i; - float mag; - - mag = sqrt(q[0]*q[0] + q[1]*q[1] + q[2]*q[2] + q[3]*q[3]); - for (i = 0; i < 4; i++) q[i] /= mag; -} - -/* - * Build a rotation matrix, given a quaternion rotation. - * - */ -void -build_rotmatrix(float m[4][4], float q[4]) -{ - m[0][0] = 1.0 - 2.0 * (q[1] * q[1] + q[2] * q[2]); - m[0][1] = 2.0 * (q[0] * q[1] - q[2] * q[3]); - m[0][2] = 2.0 * (q[2] * q[0] + q[1] * q[3]); - m[0][3] = 0.0; - - m[1][0] = 2.0 * (q[0] * q[1] + q[2] * q[3]); - m[1][1]= 1.0 - 2.0 * (q[2] * q[2] + q[0] * q[0]); - m[1][2] = 2.0 * (q[1] * q[2] - q[0] * q[3]); - m[1][3] = 0.0; - - m[2][0] = 2.0 * (q[2] * q[0] - q[1] * q[3]); - m[2][1] = 2.0 * (q[1] * q[2] + q[0] * q[3]); - m[2][2] = 1.0 - 2.0 * (q[1] * q[1] + q[0] * q[0]); - m[2][3] = 0.0; - - m[3][0] = 0.0; - m[3][1] = 0.0; - m[3][2] = 0.0; - m[3][3] = 1.0; -} - diff --git a/src/utils/ttest.cpp b/src/utils/ttest.cpp index bd049ec2..6f33aa90 100644 --- a/src/utils/ttest.cpp +++ b/src/utils/ttest.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/volume/constvolume.cpp b/src/volume/constvolume.cpp index cfb2a182..77e6535c 100644 --- a/src/volume/constvolume.cpp +++ b/src/volume/constvolume.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/volume/gridvolume.cpp b/src/volume/gridvolume.cpp index a56a7281..f78992ad 100644 --- a/src/volume/gridvolume.cpp +++ b/src/volume/gridvolume.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/volume/hgridvolume.cpp b/src/volume/hgridvolume.cpp index c7c9e477..045fad95 100644 --- a/src/volume/hgridvolume.cpp +++ b/src/volume/hgridvolume.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