# HG changeset patch # User Matti Hamalainen # Date 1574393342 -7200 # Node ID 03b86b9c2f2910885f9bec428b65c15e10d67bb2 # Parent 1404dfcee7b89ec8f327c4194910150a4d21a518 Add copyright blurbs and licenses. diff -r 1404dfcee7b8 -r 03b86b9c2f29 COPYING --- /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. diff -r 1404dfcee7b8 -r 03b86b9c2f29 dmmodel.cpp --- 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 +// (C) Copyright 2019 Tecnic Software productions (TNSP) // +// See file "COPYING" for license information. // #include "dmmodel.h" #include diff -r 1404dfcee7b8 -r 03b86b9c2f29 dmmodel.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 +// (C) Copyright 2019 Tecnic Software productions (TNSP) // +// See file "COPYING" for license information. // #ifndef DMMODEL_H #define DMMODEL_H 1 diff -r 1404dfcee7b8 -r 03b86b9c2f29 dmutil.cpp --- 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 +// (C) Copyright 2019 Tecnic Software productions (TNSP) // +// See file "COPYING" for license information. // #include "dmutil.h" #include diff -r 1404dfcee7b8 -r 03b86b9c2f29 dmutil.h --- 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 +// (C) Copyright 2019 Tecnic Software productions (TNSP) // +// See file "COPYING" for license information. // #ifndef DMUTIL_H #define DMUTIL_H 1 diff -r 1404dfcee7b8 -r 03b86b9c2f29 dragon.README --- /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 + diff -r 1404dfcee7b8 -r 03b86b9c2f29 glxdragon.cpp --- 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 +// 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: -// * 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 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 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 #include #include