Skip to content

Commit 8ec37f7

Browse files
author
feiy
committed
Upload
0 parents  commit 8ec37f7

File tree

1,595 files changed

+418333
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,595 files changed

+418333
-0
lines changed

BVHTracing.cpp

Lines changed: 409 additions & 0 deletions
Large diffs are not rendered by default.

BVHTracing.sln

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.4.33403.182
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BVHTracing", "BVHTracing.vcxproj", "{6F804203-B854-4E8C-8E16-255817FBD020}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|x64 = Debug|x64
11+
Debug|x86 = Debug|x86
12+
Release|x64 = Release|x64
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{6F804203-B854-4E8C-8E16-255817FBD020}.Debug|x64.ActiveCfg = Debug|x64
17+
{6F804203-B854-4E8C-8E16-255817FBD020}.Debug|x64.Build.0 = Debug|x64
18+
{6F804203-B854-4E8C-8E16-255817FBD020}.Debug|x86.ActiveCfg = Debug|Win32
19+
{6F804203-B854-4E8C-8E16-255817FBD020}.Debug|x86.Build.0 = Debug|Win32
20+
{6F804203-B854-4E8C-8E16-255817FBD020}.Release|x64.ActiveCfg = Release|x64
21+
{6F804203-B854-4E8C-8E16-255817FBD020}.Release|x64.Build.0 = Release|x64
22+
{6F804203-B854-4E8C-8E16-255817FBD020}.Release|x86.ActiveCfg = Release|Win32
23+
{6F804203-B854-4E8C-8E16-255817FBD020}.Release|x86.Build.0 = Release|Win32
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {4BF0FCE2-E982-4042-A17B-CC0F07C7580D}
30+
EndGlobalSection
31+
EndGlobal

BVHTracing.vcxproj

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Debug|x64">
13+
<Configuration>Debug</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<VCProjectVersion>16.0</VCProjectVersion>
23+
<Keyword>Win32Proj</Keyword>
24+
<ProjectGuid>{6f804203-b854-4e8c-8e16-255817fbd020}</ProjectGuid>
25+
<RootNamespace>BVHTracing</RootNamespace>
26+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
27+
</PropertyGroup>
28+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30+
<ConfigurationType>Application</ConfigurationType>
31+
<UseDebugLibraries>true</UseDebugLibraries>
32+
<PlatformToolset>v143</PlatformToolset>
33+
<CharacterSet>Unicode</CharacterSet>
34+
</PropertyGroup>
35+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
36+
<ConfigurationType>Application</ConfigurationType>
37+
<UseDebugLibraries>false</UseDebugLibraries>
38+
<PlatformToolset>v143</PlatformToolset>
39+
<WholeProgramOptimization>true</WholeProgramOptimization>
40+
<CharacterSet>Unicode</CharacterSet>
41+
</PropertyGroup>
42+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
43+
<ConfigurationType>Application</ConfigurationType>
44+
<UseDebugLibraries>true</UseDebugLibraries>
45+
<PlatformToolset>v143</PlatformToolset>
46+
<CharacterSet>Unicode</CharacterSet>
47+
</PropertyGroup>
48+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49+
<ConfigurationType>Application</ConfigurationType>
50+
<UseDebugLibraries>false</UseDebugLibraries>
51+
<PlatformToolset>v143</PlatformToolset>
52+
<WholeProgramOptimization>true</WholeProgramOptimization>
53+
<CharacterSet>Unicode</CharacterSet>
54+
</PropertyGroup>
55+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56+
<ImportGroup Label="ExtensionSettings">
57+
</ImportGroup>
58+
<ImportGroup Label="Shared">
59+
</ImportGroup>
60+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
61+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62+
</ImportGroup>
63+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
64+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65+
</ImportGroup>
66+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
67+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68+
</ImportGroup>
69+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
70+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71+
</ImportGroup>
72+
<PropertyGroup Label="UserMacros" />
73+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
74+
<ClCompile>
75+
<WarningLevel>Level3</WarningLevel>
76+
<SDLCheck>true</SDLCheck>
77+
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
78+
<ConformanceMode>true</ConformanceMode>
79+
</ClCompile>
80+
<Link>
81+
<SubSystem>Console</SubSystem>
82+
<GenerateDebugInformation>true</GenerateDebugInformation>
83+
</Link>
84+
</ItemDefinitionGroup>
85+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
86+
<ClCompile>
87+
<WarningLevel>Level3</WarningLevel>
88+
<FunctionLevelLinking>true</FunctionLevelLinking>
89+
<IntrinsicFunctions>true</IntrinsicFunctions>
90+
<SDLCheck>true</SDLCheck>
91+
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
92+
<ConformanceMode>true</ConformanceMode>
93+
</ClCompile>
94+
<Link>
95+
<SubSystem>Console</SubSystem>
96+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
97+
<OptimizeReferences>true</OptimizeReferences>
98+
<GenerateDebugInformation>true</GenerateDebugInformation>
99+
</Link>
100+
</ItemDefinitionGroup>
101+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
102+
<ClCompile>
103+
<WarningLevel>Level3</WarningLevel>
104+
<SDLCheck>true</SDLCheck>
105+
<PreprocessorDefinitions>_DEBUG;_CONSOLE; %(PreprocessorDefinitions)</PreprocessorDefinitions>
106+
<ConformanceMode>true</ConformanceMode>
107+
<AdditionalIncludeDirectories>./thirdparty;./thirdparty/glm/glm; ./thirdparty/bvh/include; ./thirdparty/jvb; ./flex_bvh;</AdditionalIncludeDirectories>
108+
<LanguageStandard>stdcpp17</LanguageStandard>
109+
</ClCompile>
110+
<Link>
111+
<SubSystem>Console</SubSystem>
112+
<GenerateDebugInformation>true</GenerateDebugInformation>
113+
</Link>
114+
</ItemDefinitionGroup>
115+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
116+
<ClCompile>
117+
<WarningLevel>Level3</WarningLevel>
118+
<FunctionLevelLinking>true</FunctionLevelLinking>
119+
<IntrinsicFunctions>true</IntrinsicFunctions>
120+
<SDLCheck>true</SDLCheck>
121+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS; GLEW_STATIC=1; %(PreprocessorDefinitions)</PreprocessorDefinitions>
122+
<ConformanceMode>true</ConformanceMode>
123+
<AdditionalIncludeDirectories>./thirdparty;./thirdparty/glfw/include;./thirdparty/glew/include;./thirdparty/glm/glm; ./thirdparty/bvh/include; ./thirdparty/jvb; ./flex_bvh;</AdditionalIncludeDirectories>
124+
<LanguageStandard>stdcpp17</LanguageStandard>
125+
</ClCompile>
126+
<Link>
127+
<SubSystem>Console</SubSystem>
128+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
129+
<OptimizeReferences>true</OptimizeReferences>
130+
<GenerateDebugInformation>true</GenerateDebugInformation>
131+
<AdditionalLibraryDirectories>./thirdparty/glfw/lib;./thirdparty/glew/lib</AdditionalLibraryDirectories>
132+
<AdditionalDependencies>glfw3.lib;glew.lib;opengl32.lib; $(CoreLibraryDependencies);%(AdditionalDependencies)</AdditionalDependencies>
133+
</Link>
134+
</ItemDefinitionGroup>
135+
<ItemGroup>
136+
<ClCompile Include="BVHTracing2.cpp" />
137+
<ClCompile Include="crc64.cpp" />
138+
<ClCompile Include="flex_bvh\AABB.cpp" />
139+
<ClCompile Include="flex_bvh\BVH.cpp" />
140+
<ClCompile Include="flex_bvh\BVH8Converter.cpp" />
141+
<ClCompile Include="flex_bvh\BVHPartitions.cpp" />
142+
<ClCompile Include="flex_bvh\SAHBuilder.cpp" />
143+
<ClCompile Include="flex_bvh\Triangle.cpp" />
144+
<ClCompile Include="GLUtils.cpp" />
145+
</ItemGroup>
146+
<ItemGroup>
147+
<ClInclude Include="crc64.h" />
148+
<ClInclude Include="flex_bvh\AABB.h" />
149+
<ClInclude Include="flex_bvh\BitArray.h" />
150+
<ClInclude Include="flex_bvh\BVH.h" />
151+
<ClInclude Include="flex_bvh\BVH8Converter.h" />
152+
<ClInclude Include="flex_bvh\BVHPartitions.h" />
153+
<ClInclude Include="flex_bvh\Compare.h" />
154+
<ClInclude Include="flex_bvh\Constructors.h" />
155+
<ClInclude Include="flex_bvh\Ray.h" />
156+
<ClInclude Include="flex_bvh\SAHBuilder.h" />
157+
<ClInclude Include="flex_bvh\Sort.h" />
158+
<ClInclude Include="flex_bvh\Triangle.h" />
159+
<ClInclude Include="flex_bvh\Util.h" />
160+
<ClInclude Include="GLUtils.h" />
161+
</ItemGroup>
162+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
163+
<ImportGroup Label="ExtensionTargets">
164+
</ImportGroup>
165+
</Project>

BVHTracing.vcxproj.filters

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+
</Filter>
16+
<Filter Include="flex_bvh">
17+
<UniqueIdentifier>{60d624cc-a808-4609-b6d4-e497967730ee}</UniqueIdentifier>
18+
</Filter>
19+
</ItemGroup>
20+
<ItemGroup>
21+
<ClCompile Include="crc64.cpp">
22+
<Filter>Source Files</Filter>
23+
</ClCompile>
24+
<ClCompile Include="BVHTracing2.cpp">
25+
<Filter>Source Files</Filter>
26+
</ClCompile>
27+
<ClCompile Include="flex_bvh\BVH.cpp">
28+
<Filter>flex_bvh</Filter>
29+
</ClCompile>
30+
<ClCompile Include="flex_bvh\AABB.cpp">
31+
<Filter>flex_bvh</Filter>
32+
</ClCompile>
33+
<ClCompile Include="flex_bvh\Triangle.cpp">
34+
<Filter>flex_bvh</Filter>
35+
</ClCompile>
36+
<ClCompile Include="flex_bvh\SAHBuilder.cpp">
37+
<Filter>flex_bvh</Filter>
38+
</ClCompile>
39+
<ClCompile Include="flex_bvh\BVHPartitions.cpp">
40+
<Filter>flex_bvh</Filter>
41+
</ClCompile>
42+
<ClCompile Include="flex_bvh\BVH8Converter.cpp">
43+
<Filter>flex_bvh</Filter>
44+
</ClCompile>
45+
<ClCompile Include="GLUtils.cpp">
46+
<Filter>Source Files</Filter>
47+
</ClCompile>
48+
</ItemGroup>
49+
<ItemGroup>
50+
<ClInclude Include="crc64.h">
51+
<Filter>Header Files</Filter>
52+
</ClInclude>
53+
<ClInclude Include="flex_bvh\BVH.h">
54+
<Filter>flex_bvh</Filter>
55+
</ClInclude>
56+
<ClInclude Include="flex_bvh\AABB.h">
57+
<Filter>flex_bvh</Filter>
58+
</ClInclude>
59+
<ClInclude Include="flex_bvh\Triangle.h">
60+
<Filter>flex_bvh</Filter>
61+
</ClInclude>
62+
<ClInclude Include="flex_bvh\Constructors.h">
63+
<Filter>flex_bvh</Filter>
64+
</ClInclude>
65+
<ClInclude Include="flex_bvh\SAHBuilder.h">
66+
<Filter>flex_bvh</Filter>
67+
</ClInclude>
68+
<ClInclude Include="flex_bvh\BitArray.h">
69+
<Filter>flex_bvh</Filter>
70+
</ClInclude>
71+
<ClInclude Include="flex_bvh\Sort.h">
72+
<Filter>flex_bvh</Filter>
73+
</ClInclude>
74+
<ClInclude Include="flex_bvh\Compare.h">
75+
<Filter>flex_bvh</Filter>
76+
</ClInclude>
77+
<ClInclude Include="flex_bvh\Util.h">
78+
<Filter>flex_bvh</Filter>
79+
</ClInclude>
80+
<ClInclude Include="flex_bvh\BVHPartitions.h">
81+
<Filter>flex_bvh</Filter>
82+
</ClInclude>
83+
<ClInclude Include="flex_bvh\Ray.h">
84+
<Filter>flex_bvh</Filter>
85+
</ClInclude>
86+
<ClInclude Include="flex_bvh\BVH8Converter.h">
87+
<Filter>flex_bvh</Filter>
88+
</ClInclude>
89+
<ClInclude Include="GLUtils.h">
90+
<Filter>Source Files</Filter>
91+
</ClInclude>
92+
</ItemGroup>
93+
</Project>

BVHTracing.vcxproj.user

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup />
4+
</Project>

0 commit comments

Comments
 (0)