Skip to content

Commit

Permalink
Added chapter 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Riccio committed Jul 14, 2012
1 parent c90a258 commit 6804263
Show file tree
Hide file tree
Showing 30 changed files with 7,158 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OpenGLInsightsTessellation", "OpenGLInsightsTessellation\OpenGLInsightsTessellation.vcxproj", "{C293EC5B-5EF8-4BBC-A474-D8B0A71D37A5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C293EC5B-5EF8-4BBC-A474-D8B0A71D37A5}.Debug|Win32.ActiveCfg = Debug|Win32
{C293EC5B-5EF8-4BBC-A474-D8B0A71D37A5}.Debug|Win32.Build.0 = Debug|Win32
{C293EC5B-5EF8-4BBC-A474-D8B0A71D37A5}.Release|Win32.ActiveCfg = Release|Win32
{C293EC5B-5EF8-4BBC-A474-D8B0A71D37A5}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CC=g++
CCFLAGS=-I. -I/usr/include -g -D_LINUX -rdynamic
LIBS=-lglut -lGL -lGLEW -lIL -ltinyxml -L/usr/lib
FILES= vsFontLib.cpp \
vsGLInfoLib.cpp \
vsLogLib.cpp \
vsShaderLib.cpp \
vsMathLib.cpp \
vsTerrainLib.cpp \
vsResourceLib.cpp \
vsTerrainLODSingleScaledLib.cpp \
terrainTessDemo.cpp

main: $(FILES)
$(CC) -o $@ $^ $(CCFLAGS) $(LIBS)

clean:
rm -f *.o *~ main

Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C293EC5B-5EF8-4BBC-A474-D8B0A71D37A5}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>OpenGLInsightsTessellation</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreSpecificDefaultLibraries>libcmt.lib</IgnoreSpecificDefaultLibraries>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<IgnoreSpecificDefaultLibraries>libcmt.lib</IgnoreSpecificDefaultLibraries>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="terrainTessDemo.cpp" />
<ClCompile Include="vsGLInfoLib.cpp" />
<ClCompile Include="vsLogLib.cpp" />
<ClCompile Include="vsMathLib.cpp" />
<ClCompile Include="vsResourceLib.cpp" />
<ClCompile Include="vsShaderLib.cpp" />
<ClCompile Include="vsTerrainLib.cpp" />
<ClCompile Include="vsTerrainLODSingleScaledLib.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="vsGLInfoLib.h" />
<ClInclude Include="vslibs.h" />
<ClInclude Include="vsLogLib.h" />
<ClInclude Include="vsMathLib.h" />
<ClInclude Include="vsResourceLib.h" />
<ClInclude Include="vsShaderLib.h" />
<ClInclude Include="vsTerrainLib.h" />
<ClInclude Include="vsTerrainLODSingleScaledLib.h" />
</ItemGroup>
<ItemGroup>
<None Include="shaders\dirlightdiffambpix.frag" />
<None Include="shaders\dirlightdiffambpix.vert" />
<None Include="shaders\terrainTessDemoSingleScaled.frag" />
<None Include="shaders\terrainTessDemoSingleScaled.tesc" />
<None Include="shaders\terrainTessDemoSingleScaled.tese" />
<None Include="shaders\terrainTessDemoSingleScaled.vert" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\VSL">
<UniqueIdentifier>{a583fe43-df6e-45d7-a7f7-ccaf5741e26f}</UniqueIdentifier>
</Filter>
<Filter Include="Shaders">
<UniqueIdentifier>{35e1490a-dcf1-4c9e-ba07-b53c46dbdb09}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="terrainTessDemo.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="vsTerrainLODSingleScaledLib.cpp">
<Filter>Source Files\VSL</Filter>
</ClCompile>
<ClCompile Include="vsGLInfoLib.cpp">
<Filter>Source Files\VSL</Filter>
</ClCompile>
<ClCompile Include="vsLogLib.cpp">
<Filter>Source Files\VSL</Filter>
</ClCompile>
<ClCompile Include="vsMathLib.cpp">
<Filter>Source Files\VSL</Filter>
</ClCompile>
<ClCompile Include="vsResourceLib.cpp">
<Filter>Source Files\VSL</Filter>
</ClCompile>
<ClCompile Include="vsShaderLib.cpp">
<Filter>Source Files\VSL</Filter>
</ClCompile>
<ClCompile Include="vsTerrainLib.cpp">
<Filter>Source Files\VSL</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="vsGLInfoLib.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="vslibs.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="vsLogLib.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="vsMathLib.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="vsResourceLib.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="vsShaderLib.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="vsTerrainLib.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="vsTerrainLODSingleScaledLib.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="shaders\dirlightdiffambpix.frag">
<Filter>Shaders</Filter>
</None>
<None Include="shaders\dirlightdiffambpix.vert">
<Filter>Shaders</Filter>
</None>
<None Include="shaders\terrainTessDemoSingleScaled.frag">
<Filter>Shaders</Filter>
</None>
<None Include="shaders\terrainTessDemoSingleScaled.tesc">
<Filter>Shaders</Filter>
</None>
<None Include="shaders\terrainTessDemoSingleScaled.tese">
<Filter>Shaders</Filter>
</None>
<None Include="shaders\terrainTessDemoSingleScaled.vert">
<Filter>Shaders</Filter>
</None>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>
Binary file not shown.
Loading

0 comments on commit 6804263

Please sign in to comment.