changeset 22:03b86b9c2f29

Add copyright blurbs and licenses.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 22 Nov 2019 05:29:02 +0200
parents 1404dfcee7b8
children f080349584b8
files COPYING dmmodel.cpp dmmodel.h dmutil.cpp dmutil.h dragon.README glxdragon.cpp
diffstat 7 files changed, 83 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/COPYING	Fri Nov 22 05:29:02 2019 +0200
@@ -0,0 +1,32 @@
+GLDragon - OpenGL PLY model viewer / simple benchmark
+Programmed and designed by Matti 'ccr' Hämäläinen
+(C) Copyright 2019 Tecnic Software productions (TNSP)
+
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in
+    the documentation and/or other materials provided with the
+    distribution.
+
+ 3. The name of the author may not be used to endorse or promote
+    products derived from this software without specific prior written
+    permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
--- a/dmmodel.cpp	Fri Nov 22 03:03:52 2019 +0200
+++ b/dmmodel.cpp	Fri Nov 22 05:29:02 2019 +0200
@@ -1,5 +1,10 @@
 //
+// GLDragon - OpenGL PLY model viewer / simple benchmark
+// -- Scene and model handling + PLY file parsing
+// Programmed and designed by Matti 'ccr' Hämäläinen <ccr@tnsp.org>
+// (C) Copyright 2019 Tecnic Software productions (TNSP)
 //
+// See file "COPYING" for license information.
 //
 #include "dmmodel.h"
 #include <SDL_endian.h>
--- a/dmmodel.h	Fri Nov 22 03:03:52 2019 +0200
+++ b/dmmodel.h	Fri Nov 22 05:29:02 2019 +0200
@@ -1,5 +1,10 @@
 //
+// GLDragon - OpenGL PLY model viewer / simple benchmark
+// -- Scene and model handling + PLY file parsing
+// Programmed and designed by Matti 'ccr' Hämäläinen <ccr@tnsp.org>
+// (C) Copyright 2019 Tecnic Software productions (TNSP)
 //
+// See file "COPYING" for license information.
 //
 #ifndef DMMODEL_H
 #define DMMODEL_H 1
--- a/dmutil.cpp	Fri Nov 22 03:03:52 2019 +0200
+++ b/dmutil.cpp	Fri Nov 22 05:29:02 2019 +0200
@@ -1,5 +1,10 @@
 //
+// GLDragon - OpenGL PLY model viewer / simple benchmark
+// -- Miscellaneous utility functions
+// Programmed and designed by Matti 'ccr' Hämäläinen <ccr@tnsp.org>
+// (C) Copyright 2019 Tecnic Software productions (TNSP)
 //
+// See file "COPYING" for license information.
 //
 #include "dmutil.h"
 #include <fstream>
--- a/dmutil.h	Fri Nov 22 03:03:52 2019 +0200
+++ b/dmutil.h	Fri Nov 22 05:29:02 2019 +0200
@@ -1,5 +1,10 @@
 //
+// GLDragon - OpenGL PLY model viewer / simple benchmark
+// -- Miscellaneous utility functions
+// Programmed and designed by Matti 'ccr' Hämäläinen <ccr@tnsp.org>
+// (C) Copyright 2019 Tecnic Software productions (TNSP)
 //
+// See file "COPYING" for license information.
 //
 #ifndef DMUTIL_H
 #define DMUTIL_H 1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dragon.README	Fri Nov 22 05:29:02 2019 +0200
@@ -0,0 +1,27 @@
+		       Surface Reconstructions
+
+		      Stanford Range Repository
+		     Computer Graphics Laboratory
+			 Stanford University
+
+			    August 4, 1996
+
+
+These files are the result of reconstructing a set of range images
+using the "vrip" program.  The first file is the high resolution
+result, while the "_res*" files are decimated versions.  Note that
+these decimations were performed using a crude algorithm that does not
+necessarily preserve mesh topology.  While they are not beautiful,
+they are suitable for interactive rendering.
+
+Note that this model is a decimated version of the original which was
+constructed at the voxel resolution of 0.35 mm.  The original model
+has no holes in it, however, the decimated model has some holes that
+we detected with software, but not by inspection.  Apparently, the
+decimation software introduced these holes.
+
+For more information, consult the web pages of the Stanford Graphics
+Laboratory:
+
+	http://www-graphics.stanford.edu
+
--- a/glxdragon.cpp	Fri Nov 22 03:03:52 2019 +0200
+++ b/glxdragon.cpp	Fri Nov 22 05:29:02 2019 +0200
@@ -1,33 +1,12 @@
 //
-// Copyright (c) 2009, Thomas Trummer
-// All rights reserved.
-//
-// Port to libSDL2 and cleanups by Matti Hämäläinen <ccr@tnsp.org>
+// GLDragon - OpenGL PLY model viewer / simple benchmark
+// Programmed and designed by Matti 'ccr' Hämäläinen <ccr@tnsp.org>
 // (C) Copyright 2019 Tecnic Software productions (TNSP)
 //
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are met:
-//     * Redistributions of source code must retain the above copyright
-//       notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above copyright
-//       notice, this list of conditions and the following disclaimer in the
-//       documentation and/or other materials provided with the distribution.
-//     * Neither the name of the <organization> nor the
-//       names of its contributors may be used to endorse or promote products
-//       derived from this software without specific prior written permission.
+// See file "COPYING" for license information.
 //
-// THIS SOFTWARE IS PROVIDED BY Thomas Trummer ''AS IS'' AND ANY
-// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-// DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
-// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Originally based on 'glxdragon' Copyright (c) 2009, Thomas Trummer
 //
-
 #include <SDL.h>
 #include <SDL_opengl.h>
 #include <GL/glu.h>