Gui/FreeCADpov.h

Go to the documentation of this file.
00001 const char FreeCAD[] ="// FreeCAD Povray standard file\n"
00002 "/***************************************************************************\n"
00003 " *   Copyright (c) 2005 Juergen Riegel         <juergen.riegel@web.de>     *\n"
00004 " *                                                                         *\n"
00005 " *   This file is part of the FreeCAD CAx development system.              *\n"
00006 " *                                                                         *\n"
00007 " *   This library is free software; you can redistribute it and/or         *\n"
00008 " *   modify it under the terms of the GNU Library General Public           *\n"
00009 " *   License as published by the Free Software Foundation; either          *\n"
00010 " *   version 2 of the License, or (at your option) any later version.      *\n"
00011 " *                                                                         *\n"
00012 " *   This library  is distributed in the hope that it will be useful,      *\n"
00013 " *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *\n"
00014 " *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *\n"
00015 " *   GNU Library General Public License for more details.                  *\n"
00016 " *                                                                         *\n"
00017 " *   You should have received a copy of the GNU Library General Public     *\n"
00018 " *   License along with this library; see the file COPYING.LIB. If not,    *\n"
00019 " *   write to the Free Software Foundation, Inc., 59 Temple Place,         *\n"
00020 " *   Suite 330, Boston, MA  02111-1307, USA                                *\n"
00021 " *                                                                         *\n"
00022 " ***************************************************************************/\n"
00023 "\n"
00024 "// -w320 -h240\n"
00025 "// -w8000 -h6000 +a0.3\n"
00026 "// Use povray -iLehreW221animation.pov LehreW221animation.ini to trace.\n"
00027 "// Use povray -w1280 -h720 +a0.3 -iLehreW221animation.pov LehreW221animation.ini to trace.\n"
00028 "\n"
00029 "// Include Standard-Colors provided by povray\n"
00030 "#include \"colors.inc\"\n"
00031 "// Include Standard-Textures and Finishes provided by povray\n"
00032 "#include \"textures.inc\"\n"
00033 "#include \"woods.inc\"\n"
00034 "\n"
00035 "// default texture\n"
00036 "//default {\n"
00037 "//  texture { pigment {rgb 1} finish {ambient 0.2 reflection 0.2 specular 0.7} }\n"
00038 "//}\n"
00039 "\n"
00040 "\n"
00041 "sky_sphere {\n"
00042 "    pigment { rgb <0.8,0.8,0.8> }\n"
00043 "    pigment {\n"
00044 "    gradient x\n"
00045 "      color_map {\n"
00046 "        [0.00 color rgbt <1,1,1,0>]\n"
00047 "        [0.08 color rgbt <1,1,1,0>]\n"
00048 "        [0.09 color rgbt <0.1,0.1,0.1,1>]\n"
00049 "        [1.00 color rgbt <0.1,0.1,0.1,1>]\n"
00050 "      }\n"
00051 "      scale 0.05\n"
00052 "    }\n"
00053 "    pigment {\n"
00054 "    gradient y\n"
00055 "      color_map {\n"
00056 "        [0.00 color rgbt <1,1,1,0>]\n"
00057 "        [0.08 color rgbt <1,1,1,0>]\n"
00058 "        [0.09 color rgbt <0.1,0.1,0.1,1>]\n"
00059 "        [1.00 color rgbt <0.1,0.1,0.1,1>]\n"
00060 "      }\n"
00061 "      scale 0.05\n"
00062 "    }\n"
00063 "}\n"
00064 "\n"
00065 "\n"
00066 "// Fussboden\n"
00067 "plane {               // checkered floor\n"
00068 "  y, -1\n"
00069 "  texture\n"
00070 "  {\n"
00071 "    pigment {\n"
00072 "      checker\n"
00073 "      color rgb 1\n"
00074 "      color rgb 0.5\n"
00075 "      scale 0.5\n"
00076 "    }\n"
00077 "    finish{\n"
00078 "      diffuse 0.2\n"
00079 "      ambient 0.4\n"
00080 "    }\n"
00081 "  }\n"
00082 "  scale 1000\n"
00083 "}\n"
00084 "\n"
00085 "\n"
00086 "// includes the Part mesh writen from FreeCAD\n"
00087 "#include \"TempPart.inc\"\n"
00088 "object {Part\n"
00089 "   texture { pigment {rgb <0.3,0.8,0.3>} finish {ambient 0.2 reflection 0.2 specular 0.7} }\n"
00090 " }\n"
00091 "\n"
00092 "// includes the camera from FreeCAD\n"
00093 "#include \"TempCamera.inc\"\n"
00094 "camera {\n"
00095 "  location  CamPos\n"
00096 "  look_at   LookAt\n"
00097 "  sky       Up\n"
00098 "  angle     50\n"
00099 "}\n"
00100 "\n"
00101 "\n"
00102 "\n"
00103 "// Lightsource\n"
00104 "light_source {\n"
00105 "<-1573.9813500000005,1310.07165000000003,-2000.1032>, color White\n"
00106 "}\n"
00107 ;
00108 
00109 

Generated on Wed Nov 23 19:00:15 2011 for FreeCAD by  doxygen 1.6.1