~ubuntu-branches/ubuntu/vivid/meshlab/vivid

« back to all changes in this revision

Viewing changes to meshlab/src/distrib/shaders/slicingplane.gdp

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2011-03-28 17:54:11 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110328175411-ntj9e50d1yl0luzb
Tags: 1.3.0a+dfsg1-1
* New upstream version (closes: #618522)
* Repackage the upstream sources to get rid of some files with questionable
  licensing information and useless libraries, see the copyright file for
  details.
* Builds with GCC-4.5 (closes: #565034)
* Fix watch-file to work with new upstream names and dfsg source
  (closes: #582477)
* Require debhelper version 8 or above.
* control:
  - Update standards-version to 3.9.1, cleanup.
  - Remove build-dep to libgl-dev to fix a lintian warning about a
    build-dep to a virtual package.
  - Remove build-dep to asciidoc, add build-dep to libeigen2-dev.
* rules:
  - Remove manpage-related code.
  - Build the necessary code from meshlab/src/external. Also clean it.
  - Override dh_shlibdeps to include /usr/lib/meshlab in search path.
  - Don't install shader licenses.
* install: Install binaries from meshlab/src/distrib.
* copyright: Update to the latest DEP5 format, document changes due to
  source repackaging and add the copyright info for the files added in
  this upstream release.
* Hardcode shadersDir and pluginDir in upstream source to locations
  in the Debian binary package.
* Use source format '3.0 (quilt)'.
* Split changes affecting upstream code to branches in the git repository
  at git.d.o. Add DEP3 patch metadata headers to debian/metapatches and
  generate patches from git branches with gdp (http://gitorious.org/gdp).
  Current patches:
  - 01_muparser: Use Debian muparser.
  - 02_qhull: Use Debian qhull.
  - 03_lib3ds: Use Debian lib3ds.
  - 04_libbz2: Use Debian libbz2.
  - 05_glew: Use Debian GLEW.
  - 06_eigen: Use Debian Eigen.
  - 07_disable-updates: Disable checking for updates on startup.
  - 08_externals: Only build necessary external sources.
  - 09_rpath: Use /usr/lib/meshlab as RPATH in binaries.
  - 10_shadersdir: Hardcode shadersDir to the correct path in Debian
  - 11_pluginsdir: Hardcode pluginsDir to the correct path in Debian
* Add a README.source file documenting the patch generation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
 
2
<!-- /****************************************************************************
 
3
* MeshLab                                                           o o     *
 
4
* An extendible mesh processor                                    o     o   *
 
5
*                                                                _   O  _   *
 
6
* Copyright(C) 2005, 2009                                          \/)\/    *
 
7
* Visual Computing Lab                                            /\/|      *
 
8
* ISTI - Italian National Research Council                           |      *
 
9
*                                                                    \      *
 
10
* All rights reserved.                                                      *
 
11
*                                                                           *
 
12
* This program is free software; you can redistribute it and/or modify      *
 
13
* it under the terms of the GNU General Public License as published by      *
 
14
* the Free Software Foundation; either version 2 of the License, or         *
 
15
* (at your option) any later version.                                       *
 
16
*                                                                           *
 
17
* This program is distributed in the hope that it will be useful,           *
 
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of            *
 
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             *
 
20
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)          *
 
21
* for more details.                                                         *
 
22
*                                                                           *
 
23
****************************************************************************/ -->
 
24
<GLSLang>
 
25
  <Metadata>
 
26
    <Author Author="" />
 
27
    <Email Email="" />
 
28
    <Company Company="" />
 
29
    <Shader Shader="" />
 
30
    <ShaderDescription ShaderDescription="" />
 
31
    <License License="" />
 
32
    <Version Version="" />
 
33
  </Metadata>
 
34
  <VPCount numero="1">
 
35
    <Filenames>
 
36
      <Filename0 VertexProgram="slicingplane.vert" />
 
37
    </Filenames>
 
38
  </VPCount>
 
39
  <FPCount numero="1">
 
40
    <Filenames>
 
41
      <Filename0 FragmentProgram="slicingplane.frag" />
 
42
    </Filenames>
 
43
  </FPCount>
 
44
  <TexturesPlugins NumberOfPlugins="0" />
 
45
  <TexturedUsed NumberUsedTU="0" />
 
46
  <UniformVariables NumberOfVariables="3">
 
47
 
 
48
    <Uniform0 Type="1" Name="useXslice" ArraySize="1" Widget="0" Min="0" Max="1" Step="1">
 
49
      <Values Value0="0" />
 
50
    </Uniform0>
 
51
    <Uniform1 Type="5" Name="Xsliceoff" ArraySize="1" Widget="2" Min="-1000" Max="1000" Step="1">
 
52
      <Values Value0="0" />
 
53
    </Uniform1>
 
54
    <Uniform2 Type="1" Name="onlyXslice" ArraySize="1" Widget="0" Min="0" Max="1" Step="1">
 
55
      <Values Value0="0" />
 
56
    </Uniform2>
 
57
 
 
58
    <Uniform3 Type="1" Name="useYslice" ArraySize="1" Widget="0" Min="0" Max="1" Step="1">
 
59
      <Values Value0="0" />
 
60
    </Uniform3>
 
61
    <Uniform4 Type="5" Name="Ysliceoff" ArraySize="1" Widget="2" Min="-1000" Max="1000" Step="1">
 
62
      <Values Value0="0" />
 
63
    </Uniform4>
 
64
    <Uniform5 Type="1" Name="onlyYslice" ArraySize="1" Widget="0" Min="0" Max="1" Step="1">
 
65
      <Values Value0="0" />
 
66
    </Uniform5>
 
67
        
 
68
    <Uniform6 Type="1" Name="useZslice" ArraySize="1" Widget="0" Min="0" Max="1" Step="1">
 
69
      <Values Value0="0" />
 
70
    </Uniform6>
 
71
    <Uniform7 Type="5" Name="Zsliceoff" ArraySize="1" Widget="2" Min="-1000" Max="1000" Step="1">
 
72
      <Values Value0="0" />
 
73
    </Uniform7>
 
74
    <Uniform8 Type="1" Name="onlyZslice" ArraySize="1" Widget="0" Min="0" Max="1" Step="1">
 
75
      <Values Value0="0" />
 
76
    </Uniform8> 
 
77
        
 
78
  </UniformVariables>
 
79
  <FogParameters FogColorR="0" FogColorG="0" FogColorB="0" FogColorA="1" Density="1" Start="0" End="1" />
 
80
  <VertexProcessor CullFace="True" PolygonMode="DummieField" PolygonModeBack="6914" PolygonModeFront="6914" LocalValue="1" TwoSidedValue="0" ColorControlValue="33273" />
 
81
  <FragmentProcessor Shade="7425" AlphaTest="False" AlphaFunc="516" AlphaClamp="0.5" Blending="False" BlendFuncSRC="770" BlendFuncDST="1" BlendEquation="32774" DepthTest="True" DepthFunc="515" ClampNear="0" ClampFar="1" ClearColorR="0.5019608" ClearColorG="0.5019608" ClearColorB="0.5019608" ClearColorA="1" />
 
82
  <MotionData Speed="0.05" Distance="4" Rotation="False" />
 
83
  <BuiltInStates>
 
84
    <ModelAmbient AmbientR="3.075741E-06" AmbientG="3.075741E-06" AmbientB="3.075741E-06" AmbientA="1.53787E-05" />
 
85
    <FrontMaterial AmbR="0.2" AmbG="0.2" AmbB="0.2" AmbA="1" DifR="0.8000001" DifG="0.8000001" DifB="0.8000001" DifA="1" SpecR="0" SpecG="0" SpecB="0" SpecA="1" EmiR="0" EmiG="0" EmiB="0" EmiA="1" Shininess="0" />
 
86
    <BackMaterial AmbR="0.2" AmbG="0.2" AmbB="0.2" AmbA="1" DifR="0.8000001" DifG="0.8000001" DifB="0.8000001" DifA="1" SpecR="0" SpecG="0" SpecB="0" SpecA="1" EmiR="0" EmiG="0" EmiB="0" EmiA="1" Shininess="0" />
 
87
    <PointParameters Size="1" MinSize="0" MaxSize="1" Threshold="1" ConstantAttenuation="1" LinearAttenuation="0" QuadraticAttenuation="0" />
 
88
    <Light0 Enabled="True" PosX="0" PosY="0" PosZ="1" PosW="0" AmbR="0" AmbG="0" AmbB="0" AmbA="1" DifR="1" DifG="1" DifB="1" DifA="1" SpecR="1" SpecG="1" SpecB="1" SpecA="1" SpotDirX="0" SpotDirY="0" SpotDirZ="-1" SpotExp="0" SpotCutoff="180" SpotConstant="1" SpotLinear="0" SpotQuadratic="0" />
 
89
    <Light1 Enabled="False" PosX="0" PosY="0" PosZ="1" PosW="0" AmbR="0" AmbG="0" AmbB="0" AmbA="1" DifR="0" DifG="0" DifB="0" DifA="1" SpecR="0" SpecG="0" SpecB="0" SpecA="1" SpotDirX="0" SpotDirY="0" SpotDirZ="-1" SpotExp="0" SpotCutoff="180" SpotConstant="1" SpotLinear="0" SpotQuadratic="0" />
 
90
    <Light2 Enabled="False" PosX="0" PosY="0" PosZ="1" PosW="0" AmbR="0" AmbG="0" AmbB="0" AmbA="1" DifR="0" DifG="0" DifB="0" DifA="1" SpecR="0" SpecG="0" SpecB="0" SpecA="1" SpotDirX="0" SpotDirY="0" SpotDirZ="-1" SpotExp="0" SpotCutoff="180" SpotConstant="1" SpotLinear="0" SpotQuadratic="0" />
 
91
    <Light3 Enabled="False" PosX="0" PosY="0" PosZ="1" PosW="0" AmbR="0" AmbG="0" AmbB="0" AmbA="1" DifR="0" DifG="0" DifB="0" DifA="1" SpecR="0" SpecG="0" SpecB="0" SpecA="1" SpotDirX="0" SpotDirY="0" SpotDirZ="-1" SpotExp="0" SpotCutoff="180" SpotConstant="1" SpotLinear="0" SpotQuadratic="0" />
 
92
    <Light4 Enabled="False" PosX="0" PosY="0" PosZ="1" PosW="0" AmbR="0" AmbG="0" AmbB="0" AmbA="1" DifR="0" DifG="0" DifB="0" DifA="1" SpecR="0" SpecG="0" SpecB="0" SpecA="1" SpotDirX="0" SpotDirY="0" SpotDirZ="-1" SpotExp="0" SpotCutoff="180" SpotConstant="1" SpotLinear="0" SpotQuadratic="0" />
 
93
    <Light5 Enabled="False" PosX="0" PosY="0" PosZ="1" PosW="0" AmbR="0" AmbG="0" AmbB="0" AmbA="1" DifR="0" DifG="0" DifB="0" DifA="1" SpecR="0" SpecG="0" SpecB="0" SpecA="1" SpotDirX="0" SpotDirY="0" SpotDirZ="-1" SpotExp="0" SpotCutoff="180" SpotConstant="1" SpotLinear="0" SpotQuadratic="0" />
 
94
    <Light6 Enabled="False" PosX="0" PosY="0" PosZ="1" PosW="0" AmbR="0" AmbG="0" AmbB="0" AmbA="1" DifR="0" DifG="0" DifB="0" DifA="1" SpecR="0" SpecG="0" SpecB="0" SpecA="1" SpotDirX="0" SpotDirY="0" SpotDirZ="-1" SpotExp="0" SpotCutoff="180" SpotConstant="1" SpotLinear="0" SpotQuadratic="0" />
 
95
    <Light7 Enabled="False" PosX="0" PosY="0" PosZ="1" PosW="0" AmbR="0" AmbG="0" AmbB="0" AmbA="1" DifR="0" DifG="0" DifB="0" DifA="1" SpecR="0" SpecG="0" SpecB="0" SpecA="1" SpotDirX="0" SpotDirY="0" SpotDirZ="-1" SpotExp="0" SpotCutoff="180" SpotConstant="1" SpotLinear="0" SpotQuadratic="0" />
 
96
  </BuiltInStates>
 
97
  <BackGround>
 
98
    <BackGroundMode Mode="1" BackGround=".\Art\saruman.jpg" />
 
99
  </BackGround>
 
100
</GLSLang>