Removed unnecessary
This commit is contained in:
parent
95b2ec0acc
commit
ba9f67484a
BIN
.vs/GRK/v16/.suo
BIN
.vs/GRK/v16/.suo
Binary file not shown.
Binary file not shown.
@ -2,6 +2,6 @@
|
||||
"ExpandedNodes": [
|
||||
""
|
||||
],
|
||||
"SelectedNode": "\\grk-cw6.sln (grk-cw6.sln)",
|
||||
"SelectedNode": "\\grk-cw.sln",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.vs/slnx.sqlite
BIN
.vs/slnx.sqlite
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
c:\users\andrzej\desktop\grk\zipy\grk-cw\cw 2\debug\vc142.pdb
|
||||
c:\users\andrzej\desktop\grk\zipy\grk-cw\cw 2\debug\vc142.idb
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\vc142.pdb
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\vc142.idb
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\shader_loader.obj
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\render_utils.obj
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\main_2_1a.obj
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\camera.obj
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\box.obj
|
||||
c:\users\andrzej\desktop\grk\zipy\grk-cw\cw 2\debug\vcpkg.applocal.log
|
||||
c:\users\user\desktop\grk-cw\debug\grk-cw2.exe
|
||||
c:\users\user\desktop\grk-cw\debug\grk-cw2.pdb
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\main_2_2.obj
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\grk-cw2.tlog\cl.command.1.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\grk-cw2.tlog\cl.read.1.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\grk-cw2.tlog\cl.write.1.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\grk-cw2.tlog\grk-cw2.write.1u.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\grk-cw2.tlog\link.command.1.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\grk-cw2.tlog\link.read.1.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 2\debug\grk-cw2.tlog\link.write.1.tlog
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>C:\Users\User\Desktop\grk-cw\Debug\grk-cw2.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
<SatelliteDlls />
|
||||
<NonRecipeFileRefs />
|
||||
</Project>
|
@ -1 +0,0 @@
|
||||
grk-cw2.vcxproj -> C:\Users\User\Desktop\grk-cw\Debug\grk-cw2.exe
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.29.30037:VCServicingVersionATL=14.29.30038:VCServicingVersionCrtHeaders=14.29.30040:VCServicingVersionCompilers=14.29.30040:TargetPlatformVersion=10.0.19041.0:
|
||||
Debug|Win32|C:\Users\User\Desktop\grk-cw\|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cw 2/glew32.dll
BIN
cw 2/glew32.dll
Binary file not shown.
BIN
cw 2/grk-cw2.aps
BIN
cw 2/grk-cw2.aps
Binary file not shown.
@ -1,60 +0,0 @@
|
||||
// Skrypt zasobów zosta³ wygenerowany przez program Microsoft Visual C++.
|
||||
//
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Wygenerowane z zasobu TEXTINCLUDE 2.
|
||||
//
|
||||
#include "winres.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Polski (Polska) zasoby
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||
LANGUAGE 21, 1
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TEXTINCLUDE
|
||||
//
|
||||
|
||||
1 TEXTINCLUDE
|
||||
BEGIN
|
||||
"resource.h\0"
|
||||
END
|
||||
|
||||
2 TEXTINCLUDE
|
||||
BEGIN
|
||||
"#include ""winres.h""\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
3 TEXTINCLUDE
|
||||
BEGIN
|
||||
"\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
#endif // Polski (Polska) zasoby
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
#ifndef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Wygenerowane z zasobu TEXTINCLUDE 3.
|
||||
//
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // nie APSTUDIO_INVOKED
|
@ -1,408 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.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>
|
||||
<ItemGroup>
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\advanced.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\basic.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\build.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\credits.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\glew.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\glxew.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\index.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\install.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\log.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\wglew.html" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_common.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_common_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_exponential.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_exponential_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_geometric.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_geometric_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_integer.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_integer_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_matrix.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_matrix_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_packing.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_packing_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_trigonometric.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_trigonometric_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_vector_relational.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_vector_relational_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_gentype.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_half.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat2x2.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat2x3.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat2x4.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat3x2.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat3x3.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat3x4.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat4x2.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat4x3.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat4x4.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat4x4_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec1.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec2.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec3.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec4.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec4_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\bitfield.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\color_encoding.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\color_space.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\constants.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\epsilon.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\functions.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\integer.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\matrix_access.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\matrix_inverse.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\matrix_transform.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\noise.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\packing.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\quaternion.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\quaternion_simd.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\random.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\reciprocal.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\round.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\type_precision.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\type_ptr.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\ulp.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtc\vec1.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\associated_min_max.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\bit.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\closest_point.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\color_space.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\color_space_YCoCg.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\common.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\compatibility.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\component_wise.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\dual_quaternion.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\euler_angles.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\extend.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\extended_min_max.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\fast_exponential.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\fast_square_root.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\fast_trigonometry.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\float_notmalize.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\gradient_paint.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\handed_coordinate_space.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\hash.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\integer.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\intersect.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\io.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\log_base.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_cross_product.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_decompose.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_interpolation.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_major_storage.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_operation.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_query.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_transform_2d.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\mixed_product.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\norm.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\normal.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\normalize_dot.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\number_precision.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\optimum_pow.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\orthonormalize.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\perpendicular.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\polar_coordinates.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\projection.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\quaternion.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\raw_data.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\rotate_normalized_axis.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\rotate_vector.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\scalar_relational.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\simd_mat4.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\simd_quat.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\simd_vec4.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\spline.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\std_based_type.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\string_cast.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\transform.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\transform2.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\type_aligned.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\type_trait.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\vector_angle.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\vector_query.inl" />
|
||||
<None Include="..\cw3\dependencies\glm\gtx\wrap.inl" />
|
||||
<None Include="..\cw3\exercises_3.html" />
|
||||
<None Include="..\cw3\zadania_3.html" />
|
||||
<None Include="shaders\shader_color.frag" />
|
||||
<None Include="shaders\shader_color.vert" />
|
||||
<None Include="shaders\shader_tex.frag" />
|
||||
<None Include="shaders\shader_tex.vert" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\cw3\dependencies\glm\detail\dummy.cpp" />
|
||||
<ClCompile Include="..\cw3\dependencies\glm\detail\glm.cpp" />
|
||||
<ClCompile Include="..\cw3\src\Box.cpp" />
|
||||
<ClCompile Include="..\cw3\src\Camera.cpp" />
|
||||
<ClCompile Include="..\cw3\src\main_3_1.cpp" />
|
||||
<ClCompile Include="..\cw3\src\Render_Utils.cpp" />
|
||||
<ClCompile Include="..\cw3\src\Shader_Loader.cpp" />
|
||||
<ClCompile Include="src\Box.cpp" />
|
||||
<ClCompile Include="src\Camera.cpp" />
|
||||
<ClCompile Include="src\main_2_1a.cpp" />
|
||||
<ClCompile Include="src\Render_Utils.cpp" />
|
||||
<ClCompile Include="src\Shader_Loader.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\cw3\dependencies\freeglut\include\GL\freeglut.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\freeglut\include\GL\freeglut_ext.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\freeglut\include\GL\freeglut_std.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\freeglut\include\GL\glut.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glew-2.0.0\include\GL\eglew.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glew-2.0.0\include\GL\glew.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glew-2.0.0\include\GL\glxew.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glew-2.0.0\include\GL\wglew.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\common.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_common.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_exponential.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_geometric.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_integer.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_matrix.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_packing.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_trigonometric.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_vector_relational.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\precision.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\setup.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_float.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_gentype.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_half.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_int.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat2x2.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat2x3.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat2x4.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat3x2.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat3x3.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat3x4.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat4x2.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat4x3.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat4x4.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_vec.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_vec1.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_vec2.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_vec3.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_vec4.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_features.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_fixes.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_noise.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_swizzle.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_swizzle_func.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_vectorize.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\exponential.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\ext.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\fwd.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\geometric.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\glm.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\bitfield.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\color_space.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\constants.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\epsilon.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\functions.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\integer.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\matrix_access.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\matrix_integer.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\matrix_inverse.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\matrix_transform.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\noise.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\packing.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\quaternion.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\random.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\reciprocal.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\round.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\type_aligned.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\type_precision.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\type_ptr.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\ulp.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\vec1.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\associated_min_max.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\bit.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\closest_point.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\color_space.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\color_space_YCoCg.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\common.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\compatibility.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\component_wise.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\dual_quaternion.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\euler_angles.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\extend.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\extended_min_max.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\fast_exponential.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\fast_square_root.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\fast_trigonometry.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\gradient_paint.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\handed_coordinate_space.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\hash.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\integer.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\intersect.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\io.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\log_base.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_cross_product.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_decompose.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_interpolation.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_major_storage.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_operation.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_query.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_transform_2d.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\mixed_product.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\norm.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\normal.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\normalize_dot.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\number_precision.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\optimum_pow.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\orthonormalize.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\perpendicular.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\polar_coordinates.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\projection.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\quaternion.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\range.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\raw_data.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\rotate_normalized_axis.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\rotate_vector.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\scalar_multiplication.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\scalar_relational.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\simd_mat4.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\simd_quat.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\simd_vec4.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\spline.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\std_based_type.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\string_cast.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\transform.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\transform2.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\type_aligned.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\type_trait.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\vector_angle.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\vector_query.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\wrap.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\integer.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat2x2.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat2x3.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat2x4.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat3x2.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat3x3.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat3x4.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat4x2.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat4x3.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat4x4.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\matrix.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\packing.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\common.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\exponential.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\geometric.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\integer.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\matrix.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\packing.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\platform.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\trigonometric.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\vector_relational.h" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\trigonometric.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\vec2.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\vec3.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\vec4.hpp" />
|
||||
<ClInclude Include="..\cw3\dependencies\glm\vector_relational.hpp" />
|
||||
<ClInclude Include="..\cw3\src\Camera.h" />
|
||||
<ClInclude Include="..\cw3\src\objload.h" />
|
||||
<ClInclude Include="..\cw3\src\Render_Utils.h" />
|
||||
<ClInclude Include="..\cw3\src\Shader_Loader.h" />
|
||||
<ClInclude Include="resource.h" />
|
||||
<ClInclude Include="src\Camera.h" />
|
||||
<ClInclude Include="src\Render_Utils.h" />
|
||||
<ClInclude Include="src\Shader_Loader.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="grk-cw2.rc" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{B4031E08-6274-4FFD-B41C-F8EA29E977FB}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>grk-cw9</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
<ProjectName>grk-cw2</ProjectName>
|
||||
</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>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</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>false</LinkIncremental>
|
||||
<LibraryPath>$(SolutionDir)dependencies\freeglut\lib;$(SolutionDir)dependencies\glew-2.0.0\lib\Release\Win32;$(SolutionDir)dependencies\assimp;$(LibraryPath)</LibraryPath>
|
||||
<IncludePath>$(SolutionDir)dependencies\freeglut\include\GL;$(SolutionDir)dependencies\glew-2.0.0\include\GL;$(SolutionDir)dependencies\glm;$(SolutionDir)dependencies\assimp\include;$(IncludePath)</IncludePath>
|
||||
<ExecutablePath>$(ExecutablePath)</ExecutablePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(SolutionDir)dependencies\freeglut\include\GL;$(SolutionDir)dependencies\glew-2.0.0\include\GL;$(SolutionDir)dependencies\glm;$(SolutionDir)dependencies\assimp\include;$(IncludePath)</IncludePath>
|
||||
<LibraryPath>$(SolutionDir)dependencies\freeglut\lib;$(SolutionDir)dependencies\glew-2.0.0\lib\Release\Win32;$(SolutionDir)dependencies\assimp\Release;$(LibraryPath)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)dependencies\physx-4.1\include;$(SolutionDir)dependencies\physx-4.1\source\common\include;$(SolutionDir)dependencies\physx-4.1\source\common\src;$(SolutionDir)dependencies\physx-4.1\source\physx\src;$(SolutionDir)dependencies\physx-4.1\source\physx\src\device;$(SolutionDir)dependencies\physx-4.1\source\physx\src\buffering;$(SolutionDir)dependencies\physx-4.1\source\physxgpu\include;$(SolutionDir)dependencies\physx-4.1\source\geomutils\include;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\contact;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\common;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\convex;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\distance;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\sweep;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\gjk;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\intersection;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\mesh;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\hf;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\pcm;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\ccd;$(SolutionDir)dependencies\physx-4.1\source\lowlevel\api\include;$(SolutionDir)dependencies\physx-4.1\source\lowlevel\software\include;$(SolutionDir)dependencies\physx-4.1\source\lowlevel\common\include\pipeline;$(SolutionDir)dependencies\physx-4.1\source\lowlevelaabb\include;$(SolutionDir)dependencies\physx-4.1\source\lowleveldynamics\include;$(SolutionDir)dependencies\physx-4.1\source\simulationcontroller\include;$(SolutionDir)dependencies\physx-4.1\source\simulationcontroller\src;$(SolutionDir)dependencies\physx-4.1\source\physxcooking\src;$(SolutionDir)dependencies\physx-4.1\source\physxcooking\src\mesh;$(SolutionDir)dependencies\physx-4.1\source\physxcooking\src\convex;$(SolutionDir)dependencies\physx-4.1\source\scenequery\include;$(SolutionDir)dependencies\physx-4.1\source\physxmetadata\core\include;$(SolutionDir)dependencies\physx-4.1\source\immediatemode\include;$(SolutionDir)dependencies\physx-4.1\source\pvd\include;$(SolutionDir)dependencies\physx-4.1\source\foundation\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\debug\PhysXExtensions_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\debug\PhysX_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\debug\PhysXPvdSDK_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\debug\PhysXVehicle_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\debug\PhysXCharacterKinematic_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\debug\PhysXCooking_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\debug\PhysXCommon_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\debug\SnippetUtils_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\debug\SnippetRender_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\debug\PhysXFoundation_32.lib;opengl32.lib;freeglut.lib;glew32.lib;zlibd.lib;assimp-vc141-mtd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</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>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)dependencies\physx-4.1\include;$(SolutionDir)dependencies\physx-4.1\source\common\include;$(SolutionDir)dependencies\physx-4.1\source\common\src;$(SolutionDir)dependencies\physx-4.1\source\physx\src;$(SolutionDir)dependencies\physx-4.1\source\physx\src\device;$(SolutionDir)dependencies\physx-4.1\source\physx\src\buffering;$(SolutionDir)dependencies\physx-4.1\source\physxgpu\include;$(SolutionDir)dependencies\physx-4.1\source\geomutils\include;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\contact;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\common;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\convex;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\distance;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\sweep;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\gjk;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\intersection;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\mesh;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\hf;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\pcm;$(SolutionDir)dependencies\physx-4.1\source\geomutils\src\ccd;$(SolutionDir)dependencies\physx-4.1\source\lowlevel\api\include;$(SolutionDir)dependencies\physx-4.1\source\lowlevel\software\include;$(SolutionDir)dependencies\physx-4.1\source\lowlevel\common\include\pipeline;$(SolutionDir)dependencies\physx-4.1\source\lowlevelaabb\include;$(SolutionDir)dependencies\physx-4.1\source\lowleveldynamics\include;$(SolutionDir)dependencies\physx-4.1\source\simulationcontroller\include;$(SolutionDir)dependencies\physx-4.1\source\simulationcontroller\src;$(SolutionDir)dependencies\physx-4.1\source\physxcooking\src;$(SolutionDir)dependencies\physx-4.1\source\physxcooking\src\mesh;$(SolutionDir)dependencies\physx-4.1\source\physxcooking\src\convex;$(SolutionDir)dependencies\physx-4.1\source\scenequery\include;$(SolutionDir)dependencies\physx-4.1\source\physxmetadata\core\include;$(SolutionDir)dependencies\physx-4.1\source\immediatemode\include;$(SolutionDir)dependencies\physx-4.1\source\pvd\include;$(SolutionDir)dependencies\physx-4.1\source\foundation\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\release\PhysXExtensions_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\release\PhysX_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\release\PhysXPvdSDK_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\release\PhysXVehicle_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\release\PhysXCharacterKinematic_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\release\PhysXCooking_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\release\PhysXCommon_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\release\SnippetUtils_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\release\SnippetRender_static_32.lib;$(SolutionDir)dependencies\physx-4.1\lib\win.x86_32.vc141.mt\release\PhysXFoundation_32.lib;opengl32.lib;freeglut.lib;glew32.lib;zlib.lib;assimp-vc141-mt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
@ -1,922 +0,0 @@
|
||||
<?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="Shader Files">
|
||||
<UniqueIdentifier>{0a247bb8-2e8e-4a90-b0ef-17415b0941ba}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="shaders\shader_color.frag">
|
||||
<Filter>Shader Files</Filter>
|
||||
</None>
|
||||
<None Include="shaders\shader_color.vert">
|
||||
<Filter>Shader Files</Filter>
|
||||
</None>
|
||||
<None Include="shaders\shader_tex.frag">
|
||||
<Filter>Shader Files</Filter>
|
||||
</None>
|
||||
<None Include="shaders\shader_tex.vert">
|
||||
<Filter>Shader Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\advanced.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\basic.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\build.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\credits.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\glew.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\glxew.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\index.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\install.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\log.html" />
|
||||
<None Include="..\cw3\dependencies\glew-2.0.0\doc\wglew.html" />
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_common.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_common_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_exponential.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_exponential_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_geometric.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_geometric_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_integer.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_integer_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_matrix.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_matrix_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_packing.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_packing_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_trigonometric.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_trigonometric_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_vector_relational.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\func_vector_relational_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_gentype.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_half.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat2x2.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat2x3.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat2x4.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat3x2.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat3x3.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat3x4.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat4x2.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat4x3.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat4x4.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_mat4x4_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec1.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec2.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec3.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec4.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\detail\type_vec4_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\bitfield.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\color_encoding.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\color_space.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\constants.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\epsilon.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\functions.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\integer.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\matrix_access.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\matrix_inverse.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\matrix_transform.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\noise.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\packing.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\quaternion.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\quaternion_simd.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\random.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\reciprocal.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\round.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\type_precision.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\type_ptr.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\ulp.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtc\vec1.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\associated_min_max.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\bit.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\closest_point.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\color_space.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\color_space_YCoCg.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\common.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\compatibility.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\component_wise.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\dual_quaternion.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\euler_angles.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\extend.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\extended_min_max.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\fast_exponential.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\fast_square_root.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\fast_trigonometry.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\float_notmalize.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\gradient_paint.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\handed_coordinate_space.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\hash.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\integer.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\intersect.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\io.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\log_base.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_cross_product.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_decompose.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_interpolation.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_major_storage.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_operation.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_query.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\matrix_transform_2d.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\mixed_product.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\norm.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\normal.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\normalize_dot.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\number_precision.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\optimum_pow.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\orthonormalize.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\perpendicular.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\polar_coordinates.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\projection.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\quaternion.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\raw_data.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\rotate_normalized_axis.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\rotate_vector.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\scalar_relational.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\simd_mat4.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\simd_quat.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\simd_vec4.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\spline.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\std_based_type.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\string_cast.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\transform.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\transform2.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\type_aligned.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\type_trait.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\vector_angle.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\vector_query.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\dependencies\glm\gtx\wrap.inl">
|
||||
<Filter>Header Files</Filter>
|
||||
</None>
|
||||
<None Include="..\cw3\exercises_3.html" />
|
||||
<None Include="..\cw3\zadania_3.html" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="src\Shader_Loader.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Box.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Camera.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\Render_Utils.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\main_2_1a.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\cw3\dependencies\glm\detail\dummy.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\cw3\dependencies\glm\detail\glm.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\cw3\src\Box.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\cw3\src\Camera.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\cw3\src\main_3_1.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\cw3\src\Render_Utils.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\cw3\src\Shader_Loader.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="src\Shader_Loader.h">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\Camera.h">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\Render_Utils.h">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="resource.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\freeglut\include\GL\freeglut.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\freeglut\include\GL\freeglut_ext.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\freeglut\include\GL\freeglut_std.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\freeglut\include\GL\glut.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glew-2.0.0\include\GL\eglew.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glew-2.0.0\include\GL\glew.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glew-2.0.0\include\GL\glxew.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glew-2.0.0\include\GL\wglew.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\common.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_common.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_exponential.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_geometric.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_integer.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_matrix.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_packing.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_trigonometric.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\func_vector_relational.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\precision.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\setup.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_float.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_gentype.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_half.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_int.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat2x2.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat2x3.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat2x4.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat3x2.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat3x3.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat3x4.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat4x2.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat4x3.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_mat4x4.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_vec.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_vec1.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_vec2.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_vec3.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\type_vec4.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_features.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_fixes.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_noise.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_swizzle.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_swizzle_func.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\detail\_vectorize.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\exponential.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\ext.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\fwd.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\geometric.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\glm.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\bitfield.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\color_space.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\constants.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\epsilon.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\functions.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\integer.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\matrix_access.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\matrix_integer.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\matrix_inverse.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\matrix_transform.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\noise.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\packing.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\quaternion.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\random.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\reciprocal.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\round.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\type_aligned.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\type_precision.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\type_ptr.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\ulp.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtc\vec1.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\associated_min_max.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\bit.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\closest_point.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\color_space.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\color_space_YCoCg.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\common.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\compatibility.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\component_wise.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\dual_quaternion.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\euler_angles.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\extend.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\extended_min_max.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\fast_exponential.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\fast_square_root.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\fast_trigonometry.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\gradient_paint.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\handed_coordinate_space.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\hash.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\integer.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\intersect.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\io.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\log_base.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_cross_product.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_decompose.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_interpolation.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_major_storage.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_operation.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_query.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\matrix_transform_2d.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\mixed_product.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\norm.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\normal.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\normalize_dot.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\number_precision.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\optimum_pow.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\orthonormalize.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\perpendicular.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\polar_coordinates.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\projection.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\quaternion.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\range.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\raw_data.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\rotate_normalized_axis.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\rotate_vector.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\scalar_multiplication.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\scalar_relational.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\simd_mat4.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\simd_quat.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\simd_vec4.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\spline.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\std_based_type.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\string_cast.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\transform.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\transform2.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\type_aligned.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\type_trait.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\vector_angle.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\vector_query.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\gtx\wrap.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\integer.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat2x2.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat2x3.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat2x4.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat3x2.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat3x3.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat3x4.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat4x2.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat4x3.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\mat4x4.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\matrix.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\packing.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\common.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\exponential.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\geometric.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\integer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\matrix.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\packing.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\platform.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\trigonometric.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\simd\vector_relational.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\trigonometric.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\vec2.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\vec3.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\vec4.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\dependencies\glm\vector_relational.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\src\Camera.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\src\objload.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\src\Render_Utils.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cw3\src\Shader_Loader.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="grk-cw2.rc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
</Project>
|
@ -1,315 +0,0 @@
|
||||
# Blender v2.90.0 OBJ File: 'spaceship.blend'
|
||||
# www.blender.org
|
||||
mtllib spaceship.mtl
|
||||
o spaceship
|
||||
v -0.466043 -0.046099 0.061004
|
||||
v -0.496632 -0.038727 -0.744142
|
||||
v -0.284772 -0.093266 -0.411636
|
||||
v -0.169612 -0.147446 -0.381196
|
||||
v -0.169612 -0.147446 0.061004
|
||||
v -0.091309 -0.100093 0.472421
|
||||
v -0.182617 -0.069341 0.472421
|
||||
v -0.182617 -0.001722 0.472421
|
||||
v -0.466043 0.045632 0.061004
|
||||
v -0.647568 0.071442 -0.238048
|
||||
v -0.169612 0.164038 0.061004
|
||||
v -0.284772 0.045632 -0.411636
|
||||
v -0.169612 0.116537 -0.381196
|
||||
v -0.053437 -0.049075 0.720448
|
||||
v -0.053437 -0.102143 0.720448
|
||||
v -0.040834 -0.049075 0.734564
|
||||
v -0.040834 -0.102143 0.734564
|
||||
v 0.000000 -0.049075 0.744142
|
||||
v 0.000000 -0.118734 0.744142
|
||||
v 0.040834 -0.049075 0.734564
|
||||
v 0.000000 0.045779 0.472421
|
||||
v 0.000000 -0.116684 0.472421
|
||||
v 0.091309 -0.100093 0.472421
|
||||
v 0.040834 -0.102143 0.734564
|
||||
v 0.000000 0.116537 -0.350755
|
||||
v 0.000000 0.164038 0.061004
|
||||
v 0.169612 -0.147446 -0.381196
|
||||
v 0.000000 -0.164038 -0.350755
|
||||
v 0.169612 0.164038 0.061004
|
||||
v 0.169612 0.116537 -0.381196
|
||||
v 0.000000 -0.164038 0.061004
|
||||
v 0.169612 -0.147446 0.061004
|
||||
v -0.647568 -0.038727 -0.238048
|
||||
v -0.496632 0.071442 -0.744142
|
||||
v -0.091309 0.045779 0.472421
|
||||
v 0.466043 -0.046099 0.061004
|
||||
v 0.647568 0.071442 -0.238048
|
||||
v 0.466043 0.045632 0.061004
|
||||
v 0.496632 -0.038727 -0.744142
|
||||
v 0.647568 -0.038727 -0.238048
|
||||
v 0.284772 -0.093266 -0.411636
|
||||
v 0.182617 -0.001722 0.472421
|
||||
v 0.182617 -0.069341 0.472421
|
||||
v 0.284772 0.045632 -0.411636
|
||||
v 0.053437 -0.049075 0.720448
|
||||
v 0.053437 -0.102143 0.720448
|
||||
v 0.496632 0.071442 -0.744142
|
||||
v 0.091309 0.045779 0.472421
|
||||
vt 0.542758 0.543965
|
||||
vt 0.356004 0.244407
|
||||
vt 0.504680 0.319696
|
||||
vt 0.553316 0.302407
|
||||
vt 0.649859 0.471001
|
||||
vt 0.766053 0.611338
|
||||
vt 0.733075 0.633795
|
||||
vt 0.942531 0.273938
|
||||
vt 0.916601 0.470616
|
||||
vt 0.908930 0.272020
|
||||
vt 0.906245 0.133229
|
||||
vt 0.060793 0.659810
|
||||
vt 0.095301 0.442790
|
||||
vt 0.182444 0.620892
|
||||
vt 0.912119 0.905444
|
||||
vt 0.989612 0.943366
|
||||
vt 0.900946 0.955153
|
||||
vt 0.229586 0.822972
|
||||
vt 0.045790 0.812939
|
||||
vt 0.871970 0.876051
|
||||
vt 0.270733 0.797357
|
||||
vt 0.928563 0.581569
|
||||
vt 0.948002 0.582679
|
||||
vt 0.928200 0.588981
|
||||
vt 0.833604 0.696984
|
||||
vt 0.841128 0.699424
|
||||
vt 0.941370 0.472030
|
||||
vt 0.927606 0.601110
|
||||
vt 0.953122 0.602566
|
||||
vt 0.116239 0.298971
|
||||
vt 0.134935 0.296266
|
||||
vt 0.170287 0.416872
|
||||
vt 0.947639 0.590091
|
||||
vt 0.858040 0.692927
|
||||
vt 0.798664 0.589407
|
||||
vt 1.000000 0.000000
|
||||
vt 0.975078 0.013585
|
||||
vt 0.974484 0.001457
|
||||
vt 0.830416 0.568707
|
||||
vt 0.869911 0.680359
|
||||
vt 0.785184 0.955792
|
||||
vt 0.850736 0.970525
|
||||
vt 0.334379 0.757520
|
||||
vt 0.252163 0.593452
|
||||
vt 0.740866 0.846584
|
||||
vt 0.807753 0.855379
|
||||
vt 0.321881 0.566013
|
||||
vt 0.410170 0.742478
|
||||
vt 0.620171 0.273802
|
||||
vt 0.672876 0.223217
|
||||
vt 0.710068 0.430790
|
||||
vt 0.769418 0.391811
|
||||
vt 0.946599 0.135534
|
||||
vt 0.413299 0.472597
|
||||
vt 0.208789 0.994633
|
||||
vt 0.953122 0.002304
|
||||
vt 0.980750 0.982793
|
||||
vt 0.912767 0.000000
|
||||
vt 0.101366 0.309478
|
||||
vt 0.132755 0.431644
|
||||
vt 0.099001 0.317265
|
||||
vt 0.989409 0.328628
|
||||
vt 0.953122 0.469337
|
||||
vt 0.955808 0.330547
|
||||
vt 0.871271 0.326374
|
||||
vt 0.706080 0.012535
|
||||
vt 0.869769 0.170254
|
||||
vt 0.705415 0.186739
|
||||
vt 0.963479 0.131951
|
||||
vt 0.988248 0.130536
|
||||
vt 0.443922 0.509019
|
||||
vt 0.463695 0.730833
|
||||
vt 0.578150 0.603414
|
||||
vt 0.692001 0.855970
|
||||
vt 0.680828 0.905679
|
||||
vt 0.605734 0.857085
|
||||
vt 0.719632 0.941058
|
||||
vt 0.975441 0.020998
|
||||
vt 0.994879 0.019888
|
||||
vt 0.142931 0.299975
|
||||
vt 0.245429 0.383703
|
||||
vt 0.994516 0.012475
|
||||
vt 0.871271 0.672035
|
||||
vt 0.861802 0.548533
|
||||
vt 0.993477 0.467033
|
||||
vt 1.000000 0.600262
|
||||
vt 0.959645 0.602566
|
||||
vt 0.617066 0.833945
|
||||
vt 0.596872 0.896513
|
||||
vt 0.207819 0.402100
|
||||
vn -0.2502 -0.9682 0.0006
|
||||
vn -0.3235 -0.9462 -0.0000
|
||||
vn -0.3158 -0.9343 0.1651
|
||||
vn -0.3186 -0.9329 0.1677
|
||||
vn -0.3148 -0.9349 0.1641
|
||||
vn -0.8235 0.0000 0.5673
|
||||
vn -0.8548 0.0000 0.5189
|
||||
vn -0.3487 0.8731 0.3407
|
||||
vn 0.8434 0.0000 -0.5374
|
||||
vn -0.4103 -0.9095 -0.0666
|
||||
vn 0.0862 0.9958 0.0321
|
||||
vn 0.0832 0.9962 0.0257
|
||||
vn 0.0868 0.9957 0.0333
|
||||
vn 0.2556 0.0000 -0.9668
|
||||
vn -0.5043 0.8586 -0.0922
|
||||
vn -0.8869 0.0000 0.4619
|
||||
vn -0.7459 0.0000 0.6660
|
||||
vn 0.0112 -0.9999 -0.0100
|
||||
vn -0.2284 0.0000 0.9736
|
||||
vn 0.0771 0.9413 0.3286
|
||||
vn -0.1788 -0.9839 -0.0074
|
||||
vn 0.2284 0.0000 0.9736
|
||||
vn 0.3892 -0.9187 0.0677
|
||||
vn 0.1766 0.0000 -0.9843
|
||||
vn 0.0000 0.9934 -0.1146
|
||||
vn -0.1766 0.0000 -0.9843
|
||||
vn -0.0192 0.9941 -0.1068
|
||||
vn 0.0974 -0.9952 -0.0000
|
||||
vn -0.0974 -0.9952 -0.0000
|
||||
vn -0.0965 -0.9866 0.1319
|
||||
vn 0.1776 -0.9776 0.1125
|
||||
vn -0.0272 -0.9996 -0.0081
|
||||
vn 0.0827 0.9963 0.0247
|
||||
vn -0.9583 -0.0000 -0.2858
|
||||
vn -0.3892 -0.9187 0.0677
|
||||
vn 0.0000 0.9403 0.3403
|
||||
vn -0.4230 0.8237 0.3776
|
||||
vn -0.4240 0.8230 0.3780
|
||||
vn -0.4228 0.8239 0.3775
|
||||
vn 0.0192 0.9941 -0.1068
|
||||
vn -0.3672 0.9194 -0.1408
|
||||
vn 0.0000 0.9611 0.2763
|
||||
vn -0.4366 0.8392 0.3243
|
||||
vn -0.3189 -0.9328 0.1681
|
||||
vn -0.4270 0.8209 0.3792
|
||||
vn -0.0771 0.9413 0.3286
|
||||
vn -0.1776 -0.9776 0.1125
|
||||
vn 0.1788 -0.9839 -0.0074
|
||||
vn -0.3189 -0.9469 0.0409
|
||||
vn 0.8548 -0.0000 0.5189
|
||||
vn 0.0272 -0.9996 -0.0081
|
||||
vn 0.4103 -0.9095 -0.0666
|
||||
vn 0.3158 -0.9343 0.1651
|
||||
vn 0.3186 -0.9329 0.1677
|
||||
vn 0.3189 -0.9328 0.1681
|
||||
vn 0.8235 0.0000 0.5673
|
||||
vn 0.3672 0.9194 -0.1408
|
||||
vn -0.0868 0.9957 0.0333
|
||||
vn -0.0832 0.9962 0.0257
|
||||
vn -0.0862 0.9958 0.0321
|
||||
vn 0.2502 -0.9682 0.0006
|
||||
vn -0.2556 0.0000 -0.9668
|
||||
vn -0.8434 0.0000 -0.5374
|
||||
vn 0.7459 0.0000 0.6660
|
||||
vn 0.4228 0.8239 0.3775
|
||||
vn 0.4240 0.8230 0.3780
|
||||
vn 0.4230 0.8237 0.3776
|
||||
vn 0.3189 -0.9469 0.0409
|
||||
vn 0.8869 0.0000 0.4619
|
||||
vn 0.9583 -0.0000 -0.2858
|
||||
vn -0.0827 0.9963 0.0247
|
||||
vn -0.0112 -0.9999 -0.0100
|
||||
vn 0.4270 0.8209 0.3792
|
||||
vn 0.5043 0.8586 -0.0922
|
||||
vn 0.3487 0.8731 0.3407
|
||||
vn 0.3235 -0.9462 -0.0000
|
||||
vn 0.0965 -0.9866 0.1319
|
||||
vn 0.4366 0.8392 0.3243
|
||||
vn 0.3148 -0.9349 0.1641
|
||||
usemtl cube1_auv
|
||||
s 1
|
||||
f 1/1/1 2/2/1 3/3/1
|
||||
f 1/1/2 4/4/2 5/5/2
|
||||
f 1/1/3 6/6/4 7/7/5
|
||||
f 1/8/6 8/9/6 9/10/6
|
||||
f 9/10/7 10/11/7 1/8/7
|
||||
f 9/12/8 8/13/8 11/14/8
|
||||
f 3/15/9 2/16/9 12/17/9
|
||||
f 3/3/10 4/4/10 1/1/10
|
||||
f 12/18/11 10/19/12 9/12/13
|
||||
f 12/17/14 4/20/14 3/15/14
|
||||
f 12/18/15 11/14/15 13/21/15
|
||||
f 14/22/16 8/9/16 15/23/16
|
||||
f 15/23/17 16/24/17 14/22/17
|
||||
f 15/25/18 6/6/18 17/26/18
|
||||
f 15/23/16 8/9/16 7/27/16
|
||||
f 18/28/19 16/24/19 19/29/19
|
||||
f 18/30/20 20/31/20 21/32/20
|
||||
f 19/29/19 16/24/19 17/33/19
|
||||
f 19/34/21 6/6/21 22/35/21
|
||||
f 19/36/22 20/37/22 18/38/22
|
||||
f 19/34/23 23/39/23 24/40/23
|
||||
f 25/41/24 4/20/24 13/42/24
|
||||
f 25/43/25 11/14/25 26/44/25
|
||||
f 25/41/26 27/45/26 28/46/26
|
||||
f 25/43/27 29/47/27 30/48/27
|
||||
f 28/46/24 4/20/24 25/41/24
|
||||
f 28/49/28 27/50/28 31/51/28
|
||||
f 26/44/25 29/47/25 25/43/25
|
||||
f 31/51/29 4/4/29 28/49/29
|
||||
f 31/51/30 6/6/30 5/5/30
|
||||
f 31/51/28 27/50/28 32/52/28
|
||||
f 31/51/31 23/39/31 22/35/31
|
||||
f 33/53/7 1/8/7 10/11/7
|
||||
f 33/54/32 2/2/32 1/1/32
|
||||
f 10/19/12 12/18/11 34/55/33
|
||||
f 10/11/34 2/56/34 33/53/34
|
||||
f 34/57/9 12/17/9 2/16/9
|
||||
f 34/58/34 2/56/34 10/11/34
|
||||
f 17/33/17 16/24/17 15/23/17
|
||||
f 17/26/35 6/6/35 19/34/35
|
||||
f 16/59/36 21/32/36 35/60/36
|
||||
f 16/59/37 8/13/38 14/61/39
|
||||
f 13/42/14 4/20/14 12/17/14
|
||||
f 13/21/40 11/14/40 25/43/40
|
||||
f 11/14/41 12/18/41 9/12/41
|
||||
f 11/14/42 21/32/42 26/44/42
|
||||
f 11/14/43 8/13/43 35/60/43
|
||||
f 5/5/29 4/4/29 31/51/29
|
||||
f 5/5/44 6/6/4 1/1/3
|
||||
f 35/60/42 21/32/42 11/14/42
|
||||
f 35/60/45 8/13/38 16/59/37
|
||||
f 21/32/46 16/59/46 18/30/46
|
||||
f 21/32/42 29/47/42 26/44/42
|
||||
f 22/35/47 6/6/47 31/51/47
|
||||
f 22/35/48 23/39/48 19/34/48
|
||||
f 7/7/49 6/6/49 15/25/49
|
||||
f 7/27/6 8/9/6 1/8/6
|
||||
f 36/62/50 37/63/50 38/64/50
|
||||
f 36/65/51 39/66/51 40/67/51
|
||||
f 36/65/52 27/50/52 41/68/52
|
||||
f 36/65/53 23/39/54 32/52/55
|
||||
f 36/62/56 42/69/56 43/70/56
|
||||
f 38/71/57 44/72/57 29/47/57
|
||||
f 38/71/58 37/73/59 44/72/60
|
||||
f 38/64/56 42/69/56 36/62/56
|
||||
f 41/68/61 39/66/61 36/65/61
|
||||
f 41/74/62 27/45/62 44/75/62
|
||||
f 44/75/63 39/76/63 41/74/63
|
||||
f 44/75/62 27/45/62 30/77/62
|
||||
f 45/78/64 20/37/64 46/79/64
|
||||
f 45/80/65 42/81/66 20/31/67
|
||||
f 46/79/64 20/37/64 24/82/64
|
||||
f 46/83/68 23/39/68 43/84/68
|
||||
f 46/79/69 42/69/69 45/78/69
|
||||
f 40/85/70 39/86/70 37/63/70
|
||||
f 37/63/50 36/62/50 40/85/50
|
||||
f 37/63/70 39/86/70 47/87/70
|
||||
f 47/88/71 44/72/60 37/73/59
|
||||
f 39/76/63 44/75/63 47/89/63
|
||||
f 24/82/22 20/37/22 19/36/22
|
||||
f 24/40/72 23/39/72 46/83/72
|
||||
f 20/31/67 42/81/66 48/90/73
|
||||
f 30/77/26 27/45/26 25/41/26
|
||||
f 30/48/74 29/47/74 44/72/74
|
||||
f 29/47/42 21/32/42 48/90/42
|
||||
f 29/47/75 42/81/75 38/71/75
|
||||
f 32/52/76 27/50/76 36/65/76
|
||||
f 32/52/77 23/39/77 31/51/77
|
||||
f 48/90/36 21/32/36 20/31/36
|
||||
f 48/90/78 42/81/78 29/47/78
|
||||
f 43/84/79 23/39/54 36/65/53
|
||||
f 43/70/69 42/69/69 46/79/69
|
File diff suppressed because it is too large
Load Diff
@ -1,7 +0,0 @@
|
||||
|
||||
import os
|
||||
rootdir = './'
|
||||
for filename in os.listdir(rootdir):
|
||||
if filename.endswith(".md"):
|
||||
name = filename[:-3]
|
||||
os.system(f'pandoc -s -o {name}.html {name}.md --css style.css')
|
@ -1,14 +0,0 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Visual C++ generated include file.
|
||||
// Used by grk-cw2.rc
|
||||
|
||||
// Nastêpne wartoœci domyœlne dla nowych obiektów
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 101
|
||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
@ -1,8 +0,0 @@
|
||||
#version 430 core
|
||||
|
||||
in vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = color;
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
#version 430 core
|
||||
|
||||
layout(location = 0) in vec4 vertexPosition;
|
||||
layout(location = 1) in vec4 vertexColor;
|
||||
|
||||
uniform mat4 transformation;
|
||||
|
||||
out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = vertexColor;
|
||||
gl_Position = transformation * vertexPosition;
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
#version 430 core
|
||||
out vec4 fragColor;
|
||||
|
||||
in float hue;
|
||||
|
||||
vec3 hsv2rgb(vec3 c)
|
||||
{
|
||||
vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);
|
||||
vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);
|
||||
return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
fragColor = vec4(hsv2rgb(vec3(hue,1,1)), 1.0);
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
#version 430 core
|
||||
|
||||
layout(location = 0) in vec4 vertexPosition;
|
||||
layout(location = 1) in float vertexHue;
|
||||
|
||||
out float hue;
|
||||
void main()
|
||||
{
|
||||
hue = vertexHue;
|
||||
gl_Position = vertexPosition;
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
#version 430 core
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
#version 430 core
|
||||
|
||||
layout(location = 0) in vec3 vertexPosition;
|
||||
layout(location = 1) in vec2 vertexTexCoord;
|
||||
layout(location = 2) in vec3 vertexNormal;
|
||||
|
||||
uniform mat4 transformation;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = transformation * vec4(vertexPosition, 1.0);
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
#version 430 core
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
#version 430 core
|
||||
|
||||
layout(location = 0) in vec3 vertexPosition;
|
||||
layout(location = 1) in vec2 vertexTexCoord;
|
||||
layout(location = 2) in vec3 vertexNormal;
|
||||
|
||||
uniform mat4 transformation;
|
||||
uniform mat4 model;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = transformation * model * vec4(vertexPosition, 1.0);
|
||||
}
|
104
cw 2/src/Box.cpp
104
cw 2/src/Box.cpp
@ -1,104 +0,0 @@
|
||||
|
||||
|
||||
// dane 36 wierzcholkow i kolorow opisujace model pudelka
|
||||
const float boxPositions[] = {
|
||||
0.25f, 0.25f, 0.75f, 1.0f,
|
||||
0.25f, -0.25f, 0.75f, 1.0f,
|
||||
-0.25f, 0.25f, 0.75f, 1.0f,
|
||||
|
||||
0.25f, -0.25f, 0.75f, 1.0f,
|
||||
-0.25f, -0.25f, 0.75f, 1.0f,
|
||||
-0.25f, 0.25f, 0.75f, 1.0f,
|
||||
|
||||
0.25f, 0.25f, -0.75f, 1.0f,
|
||||
-0.25f, 0.25f, -0.75f, 1.0f,
|
||||
0.25f, -0.25f, -0.75f, 1.0f,
|
||||
|
||||
0.25f, -0.25f, -0.75f, 1.0f,
|
||||
-0.25f, 0.25f, -0.75f, 1.0f,
|
||||
-0.25f, -0.25f, -0.75f, 1.0f,
|
||||
|
||||
-0.25f, 0.25f, 0.75f, 1.0f,
|
||||
-0.25f, -0.25f, 0.75f, 1.0f,
|
||||
-0.25f, -0.25f, -0.75f, 1.0f,
|
||||
|
||||
-0.25f, 0.25f, 0.75f, 1.0f,
|
||||
-0.25f, -0.25f, -0.75f, 1.0f,
|
||||
-0.25f, 0.25f, -0.75f, 1.0f,
|
||||
|
||||
0.25f, 0.25f, 0.75f, 1.0f,
|
||||
0.25f, -0.25f, -0.75f, 1.0f,
|
||||
0.25f, -0.25f, 0.75f, 1.0f,
|
||||
|
||||
0.25f, 0.25f, 0.75f, 1.0f,
|
||||
0.25f, 0.25f, -0.75f, 1.0f,
|
||||
0.25f, -0.25f, -0.75f, 1.0f,
|
||||
|
||||
0.25f, 0.25f, -0.75f, 1.0f,
|
||||
0.25f, 0.25f, 0.75f, 1.0f,
|
||||
-0.25f, 0.25f, 0.75f, 1.0f,
|
||||
|
||||
0.25f, 0.25f, -0.75f, 1.0f,
|
||||
-0.25f, 0.25f, 0.75f, 1.0f,
|
||||
-0.25f, 0.25f, -0.75f, 1.0f,
|
||||
|
||||
0.25f, -0.25f, -0.75f, 1.0f,
|
||||
-0.25f, -0.25f, 0.75f, 1.0f,
|
||||
0.25f, -0.25f, 0.75f, 1.0f,
|
||||
|
||||
0.25f, -0.25f, -0.75f, 1.0f,
|
||||
-0.25f, -0.25f, -0.75f, 1.0f,
|
||||
-0.25f, -0.25f, 0.75f, 1.0f,
|
||||
};
|
||||
|
||||
|
||||
const float boxColors[] = {
|
||||
0.0f, 0.0f, 1.0f, 1.0f,
|
||||
0.0f, 0.0f, 1.0f, 1.0f,
|
||||
0.0f, 0.0f, 1.0f, 1.0f,
|
||||
|
||||
0.0f, 0.0f, 1.0f, 1.0f,
|
||||
0.0f, 0.0f, 1.0f, 1.0f,
|
||||
0.0f, 0.0f, 1.0f, 1.0f,
|
||||
|
||||
0.8f, 0.8f, 0.8f, 1.0f,
|
||||
0.8f, 0.8f, 0.8f, 1.0f,
|
||||
0.8f, 0.8f, 0.8f, 1.0f,
|
||||
|
||||
0.8f, 0.8f, 0.8f, 1.0f,
|
||||
0.8f, 0.8f, 0.8f, 1.0f,
|
||||
0.8f, 0.8f, 0.8f, 1.0f,
|
||||
|
||||
0.0f, 1.0f, 0.0f, 1.0f,
|
||||
0.0f, 1.0f, 0.0f, 1.0f,
|
||||
0.0f, 1.0f, 0.0f, 1.0f,
|
||||
|
||||
0.0f, 1.0f, 0.0f, 1.0f,
|
||||
0.0f, 1.0f, 0.0f, 1.0f,
|
||||
0.0f, 1.0f, 0.0f, 1.0f,
|
||||
|
||||
0.5f, 0.5f, 0.0f, 1.0f,
|
||||
0.5f, 0.5f, 0.0f, 1.0f,
|
||||
0.5f, 0.5f, 0.0f, 1.0f,
|
||||
|
||||
0.5f, 0.5f, 0.0f, 1.0f,
|
||||
0.5f, 0.5f, 0.0f, 1.0f,
|
||||
0.5f, 0.5f, 0.0f, 1.0f,
|
||||
|
||||
1.0f, 0.0f, 0.0f, 1.0f,
|
||||
1.0f, 0.0f, 0.0f, 1.0f,
|
||||
1.0f, 0.0f, 0.0f, 1.0f,
|
||||
|
||||
1.0f, 0.0f, 0.0f, 1.0f,
|
||||
1.0f, 0.0f, 0.0f, 1.0f,
|
||||
1.0f, 0.0f, 0.0f, 1.0f,
|
||||
|
||||
0.0f, 1.0f, 1.0f, 1.0f,
|
||||
0.0f, 1.0f, 1.0f, 1.0f,
|
||||
0.0f, 1.0f, 1.0f, 1.0f,
|
||||
|
||||
0.0f, 1.0f, 1.0f, 1.0f,
|
||||
0.0f, 1.0f, 1.0f, 1.0f,
|
||||
0.0f, 1.0f, 1.0f, 1.0f,
|
||||
|
||||
};
|
@ -1,32 +0,0 @@
|
||||
#include "Camera.h"
|
||||
|
||||
glm::mat4 Core::createPerspectiveMatrix(float zNear, float zFar)
|
||||
{
|
||||
const float frustumScale = 1.0f;
|
||||
glm::mat4 perspective;
|
||||
perspective[0][0] = frustumScale;
|
||||
perspective[1][1] = frustumScale;
|
||||
perspective[2][2] = (zFar + zNear) / (zNear - zFar);
|
||||
perspective[3][2] = (2 * zFar * zNear) / (zNear - zFar);
|
||||
perspective[2][3] = -1;
|
||||
perspective[3][3] = 0;
|
||||
|
||||
return perspective;
|
||||
}
|
||||
|
||||
glm::mat4 Core::createViewMatrix( glm::vec3 position, glm::vec3 forward, glm::vec3 up )
|
||||
{
|
||||
glm::vec3 side = glm::cross(forward, up);
|
||||
|
||||
// Trzeba pamietac o minusie przy ustawianiu osi Z kamery.
|
||||
// Wynika to z tego, ze standardowa macierz perspektywiczna zaklada, ze "z przodu" jest ujemna (a nie dodatnia) czesc osi Z.
|
||||
glm::mat4 cameraRotation;
|
||||
cameraRotation[0][0] = side.x; cameraRotation[1][0] = side.y; cameraRotation[2][0] = side.z;
|
||||
cameraRotation[0][1] = up.x; cameraRotation[1][1] = up.y; cameraRotation[2][1] = up.z;
|
||||
cameraRotation[0][2] = -forward.x; cameraRotation[1][2] = -forward.y; cameraRotation[2][2] = -forward.z;
|
||||
|
||||
glm::mat4 cameraTranslation;
|
||||
cameraTranslation[3] = glm::vec4(-position, 1.0f);
|
||||
|
||||
return cameraRotation * cameraTranslation;
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "glm.hpp"
|
||||
|
||||
namespace Core
|
||||
{
|
||||
glm::mat4 createPerspectiveMatrix(float zNear = 0.1f, float zFar = 100.0f);
|
||||
|
||||
// position - pozycja kamery
|
||||
// forward - wektor "do przodu" kamery (jednostkowy)
|
||||
// up - wektor "w gore" kamery (jednostkowy)
|
||||
// up i forward musza byc ortogonalne!
|
||||
glm::mat4 createViewMatrix(glm::vec3 position, glm::vec3 forward, glm::vec3 up);
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
#include "Render_Utils.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "glew.h"
|
||||
#include "freeglut.h"
|
||||
|
||||
|
||||
void Core::DrawContext(Core::RenderContext& context)
|
||||
{
|
||||
|
||||
glBindVertexArray(context.vertexArray);
|
||||
glDrawElements(
|
||||
GL_TRIANGLES, // mode
|
||||
context.size, // count
|
||||
GL_UNSIGNED_SHORT, // type
|
||||
(void*)0 // element array buffer offset
|
||||
);
|
||||
glBindVertexArray(0);
|
||||
}
|
||||
|
@ -1,68 +0,0 @@
|
||||
#pragma once
|
||||
#include "glm.hpp"
|
||||
#include "glew.h"
|
||||
//#include "objload.h"
|
||||
#include <assimp/Importer.hpp>
|
||||
#include <assimp/scene.h>
|
||||
#include <assimp/postprocess.h>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
|
||||
#define BUFFER_OFFSET(i) ((void*)(i))
|
||||
|
||||
namespace Core
|
||||
{
|
||||
struct RenderContext {
|
||||
GLuint vertexArray;
|
||||
GLuint vertexBuffer;
|
||||
GLuint vertexIndexBuffer;
|
||||
unsigned int size = 0;
|
||||
|
||||
void initFromAiMesh(aiMesh* mesh) {
|
||||
vertexArray = 0;
|
||||
vertexBuffer = 0;
|
||||
vertexIndexBuffer = 0;
|
||||
|
||||
|
||||
std::vector<float> textureCoord;
|
||||
std::vector<unsigned int> indices;
|
||||
//tex coord must be converted to 2d vecs
|
||||
for (unsigned int i = 0; i < mesh->mNumVertices; i++)
|
||||
{
|
||||
if (mesh->mTextureCoords[0] != nullptr) {
|
||||
textureCoord.push_back(mesh->mTextureCoords[0][i].x);
|
||||
textureCoord.push_back(mesh->mTextureCoords[0][i].y);
|
||||
}
|
||||
else {
|
||||
textureCoord.push_back(0.0f);
|
||||
textureCoord.push_back(0.0f);
|
||||
}
|
||||
}
|
||||
if (mesh->mTextureCoords[0] == nullptr) {
|
||||
std::cout << "no uv coords\n";
|
||||
}
|
||||
for (unsigned int i = 0; i < mesh->mNumFaces; i++)
|
||||
{
|
||||
aiFace face = mesh->mFaces[i];
|
||||
// retrieve all indices of the face and store them in the indices vector
|
||||
for (unsigned int j = 0; j < face.mNumIndices; j++)
|
||||
indices.push_back(face.mIndices[j]);
|
||||
}
|
||||
|
||||
unsigned int vertexDataBufferSize = sizeof(float) * mesh->mNumVertices * 3;
|
||||
unsigned int vertexNormalBufferSize = sizeof(float) * mesh->mNumVertices * 3;
|
||||
unsigned int vertexTexBufferSize = sizeof(float) * mesh->mNumVertices * 2;
|
||||
|
||||
}
|
||||
|
||||
~RenderContext() {
|
||||
glDeleteBuffers(1, &vertexBuffer);
|
||||
glDeleteBuffers(1, &vertexIndexBuffer);
|
||||
glDeleteVertexArrays(1, &vertexArray);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
void DrawContext(RenderContext& context);
|
||||
}
|
||||
|
@ -1,102 +0,0 @@
|
||||
#include "Shader_Loader.h"
|
||||
#include<iostream>
|
||||
#include<fstream>
|
||||
#include<vector>
|
||||
|
||||
using namespace Core;
|
||||
|
||||
Shader_Loader::Shader_Loader(void){}
|
||||
Shader_Loader::~Shader_Loader(void){}
|
||||
|
||||
std::string Shader_Loader::ReadShader(char *filename)
|
||||
{
|
||||
|
||||
std::string shaderCode;
|
||||
std::ifstream file(filename, std::ios::in);
|
||||
|
||||
if (!file.good())
|
||||
{
|
||||
std::cout << "Can't read file " << filename << std::endl;
|
||||
std::terminate();
|
||||
}
|
||||
|
||||
file.seekg(0, std::ios::end);
|
||||
shaderCode.resize((unsigned int)file.tellg());
|
||||
file.seekg(0, std::ios::beg);
|
||||
file.read(&shaderCode[0], shaderCode.size());
|
||||
file.close();
|
||||
return shaderCode;
|
||||
}
|
||||
|
||||
GLuint Shader_Loader::CreateShader(GLenum shaderType, std::string
|
||||
source, char* shaderName)
|
||||
{
|
||||
|
||||
int compile_result = 0;
|
||||
|
||||
GLuint shader = glCreateShader(shaderType);
|
||||
const char *shader_code_ptr = source.c_str();
|
||||
const int shader_code_size = source.size();
|
||||
|
||||
glShaderSource(shader, 1, &shader_code_ptr, &shader_code_size);
|
||||
glCompileShader(shader);
|
||||
glGetShaderiv(shader, GL_COMPILE_STATUS, &compile_result);
|
||||
|
||||
//sprawdz bledy
|
||||
if (compile_result == GL_FALSE)
|
||||
{
|
||||
|
||||
int info_log_length = 0;
|
||||
glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &info_log_length);
|
||||
std::vector<char> shader_log(info_log_length);
|
||||
glGetShaderInfoLog(shader, info_log_length, NULL, &shader_log[0]);
|
||||
std::cout << "ERROR compiling shader: " << shaderName << std::endl << &shader_log[0] << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return shader;
|
||||
}
|
||||
|
||||
GLuint Shader_Loader::CreateProgram(char* vertexShaderFilename,
|
||||
char* fragmentShaderFilename)
|
||||
{
|
||||
|
||||
//wczytaj shadery
|
||||
std::string vertex_shader_code = ReadShader(vertexShaderFilename);
|
||||
std::string fragment_shader_code = ReadShader(fragmentShaderFilename);
|
||||
|
||||
GLuint vertex_shader = CreateShader(GL_VERTEX_SHADER, vertex_shader_code, "vertex shader");
|
||||
GLuint fragment_shader = CreateShader(GL_FRAGMENT_SHADER, fragment_shader_code, "fragment shader");
|
||||
|
||||
int link_result = 0;
|
||||
//stworz shader
|
||||
GLuint program = glCreateProgram();
|
||||
glAttachShader(program, vertex_shader);
|
||||
glAttachShader(program, fragment_shader);
|
||||
|
||||
glLinkProgram(program);
|
||||
glGetProgramiv(program, GL_LINK_STATUS, &link_result);
|
||||
//sprawdz bledy w linkerze
|
||||
if (link_result == GL_FALSE)
|
||||
{
|
||||
|
||||
int info_log_length = 0;
|
||||
glGetProgramiv(program, GL_INFO_LOG_LENGTH, &info_log_length);
|
||||
std::vector<char> program_log(info_log_length);
|
||||
glGetProgramInfoLog(program, info_log_length, NULL, &program_log[0]);
|
||||
std::cout << "Shader Loader : LINK ERROR" << std::endl << &program_log[0] << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
glDetachShader(program, vertex_shader);
|
||||
glDetachShader(program, fragment_shader);
|
||||
glDeleteShader(vertex_shader);
|
||||
glDeleteShader(fragment_shader);
|
||||
|
||||
return program;
|
||||
}
|
||||
|
||||
void Shader_Loader::DeleteProgram( GLuint program )
|
||||
{
|
||||
glDeleteProgram(program);
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "glew.h"
|
||||
#include "freeglut.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace Core
|
||||
{
|
||||
|
||||
class Shader_Loader
|
||||
{
|
||||
private:
|
||||
|
||||
std::string ReadShader(char *filename);
|
||||
GLuint CreateShader(GLenum shaderType,
|
||||
std::string source,
|
||||
char* shaderName);
|
||||
|
||||
public:
|
||||
|
||||
Shader_Loader(void);
|
||||
~Shader_Loader(void);
|
||||
GLuint CreateProgram(char* VertexShaderFilename,
|
||||
char* FragmentShaderFilename);
|
||||
|
||||
void DeleteProgram(GLuint program);
|
||||
|
||||
};
|
||||
}
|
@ -1,129 +0,0 @@
|
||||
#include "glew.h"
|
||||
#include "freeglut.h"
|
||||
#include "glm.hpp"
|
||||
#include "ext.hpp"
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
|
||||
#include "Shader_Loader.h"
|
||||
#include "Render_Utils.h"
|
||||
|
||||
#include "Box.cpp"
|
||||
|
||||
GLuint program;
|
||||
Core::Shader_Loader shaderLoader;
|
||||
|
||||
unsigned int VAO;
|
||||
|
||||
|
||||
void renderScene()
|
||||
{
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
glClearColor(1.0f, 0.3f, 0.3f, 1.0f);
|
||||
|
||||
// ZADANIE: W zalaczonym wyzej pliku Box.cpp znajduja sie tablice pozycji i kolorow wierzcholkow prostopadloscianu. Przesun go o wektor (0.5, 0.5, -0.2) i wyswietl go.
|
||||
//
|
||||
// Do shadera uzytego w tym zadaniu nalezy przeslac nie tylko pozycje, ale rowniez kolory wierzcholkow.
|
||||
// W funkcji init należy przesłać pozycje i kolory do GPU
|
||||
|
||||
glUseProgram(program);
|
||||
|
||||
// Powiąż stworzone VAO za pomocą funkcji glBindVertexArray
|
||||
// wykorzystaj glDrawArrays do narysowania prostopadłościanu
|
||||
|
||||
|
||||
glBindVertexArray(VAO);
|
||||
|
||||
glDrawArrays(GL_TRIANGLES, 0, 48);
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
|
||||
|
||||
glm::mat4 transformation;
|
||||
glUniformMatrix4fv(glGetUniformLocation(program, "transformation"), 1, GL_FALSE, (float*)&transformation);
|
||||
|
||||
|
||||
glUseProgram(0);
|
||||
glutSwapBuffers();
|
||||
}
|
||||
|
||||
void init()
|
||||
{
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
program = shaderLoader.CreateProgram("shaders/shader_2_1.vert", "shaders/shader_2_1.frag");
|
||||
// Dokładny opis działania funkcji z poniższych punktów można znaleźć na slajdach z wykładu, w dokumentacji https://www.khronos.org/registry/OpenGL-Refpages/gl4/ funkcje są opisane także na stronach https://learnopengl.com/Getting-started/Hello-Triangle oraz https://open.gl/drawing
|
||||
// Zainicjalizuj VertexArrayObject (VAO) i zapisz w nim atrybuty prostopadłościanu
|
||||
// I Stwórz VAO
|
||||
// 1. Stwórz nowy VAO za pomocą glGenVertexArrays i przypisz jego adres do zmiennej globalnej
|
||||
|
||||
unsigned int VAO;
|
||||
glGenVertexArrays(1, &VAO);
|
||||
|
||||
// 2. Powiąż stworzone VAO za pomocą funkcji glBindVertexArray
|
||||
|
||||
glBindVertexArray(VAO);
|
||||
|
||||
// II Zainicjalizuj VBO
|
||||
// 3. Stwórz VertexBufferObject do przechowywania pozycji wierzchołków za pomocą funkcji glGenBuffers
|
||||
unsigned int VBO;
|
||||
glGenBuffers(1, &VBO);
|
||||
|
||||
// 4. Powiąż stworzone VBO za pomocą funkcji glBindBuffer(GLenum target, GLuint )
|
||||
glBindBuffer(GL_ARRAY_BUFFER, VBO);
|
||||
|
||||
// 5. Zaalokuj w GPU miejsce na tablice wierzchołków i kolorów za pomocą glBufferData pamiętaj, żeby zaalokować dość miejsca dla punktów i kolorów
|
||||
|
||||
glBufferData(GL_ARRAY_BUFFER, sizeof(boxPositions), boxPositions, GL_STATIC_DRAW);
|
||||
|
||||
|
||||
|
||||
// III Prześlij dane do karty graficznej
|
||||
// A) Prześlij pozycję wierzchołków do karty graficznej
|
||||
// 6. Aktywuj atrybut powiązany z pozycją wierchołków za pomocą glEnableVertexAttribArray(GLuint index). Indeks jest zapisany w shaderze wierzchołków w 3. lini. Można odpytać shader o indeks za pomocą funkcji glGetAttribLocation(GL uint program, const GLchar *name)
|
||||
|
||||
glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, 4 * sizeof(float), (void*)0);
|
||||
|
||||
glEnableVertexAttribArray(0);
|
||||
|
||||
// 7. Przekaż dane za pomocą glBufferSubData
|
||||
|
||||
// 8. Zdefiniuj jak OpenGL powinien interpretować dane za pomocą glVertexAttribPointer
|
||||
|
||||
// B) powtórz punkty 6-8 by przesłać wartości odpowiadające za kolor
|
||||
|
||||
|
||||
// 9. Uwolnij VAO za pomocą funkcji glBindVertexArray(0)
|
||||
|
||||
}
|
||||
|
||||
void shutdown()
|
||||
{
|
||||
shaderLoader.DeleteProgram(program);
|
||||
}
|
||||
|
||||
void idle()
|
||||
{
|
||||
glutPostRedisplay();
|
||||
}
|
||||
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
glutInit(&argc, argv);
|
||||
glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);
|
||||
glutInitWindowPosition(200, 200);
|
||||
glutInitWindowSize(600, 600);
|
||||
glutCreateWindow("OpenGL Pierwszy Program");
|
||||
glewInit();
|
||||
|
||||
init();
|
||||
glutDisplayFunc(renderScene);
|
||||
glutIdleFunc(idle);
|
||||
|
||||
glutMainLoop();
|
||||
|
||||
shutdown();
|
||||
|
||||
return 0;
|
||||
}
|
@ -1,85 +0,0 @@
|
||||
#include "glew.h"
|
||||
#include "freeglut.h"
|
||||
#include "glm.hpp"
|
||||
#include "ext.hpp"
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
|
||||
#include "Shader_Loader.h"
|
||||
#include "Render_Utils.h"
|
||||
|
||||
#include "Box.cpp"
|
||||
float points[] = {
|
||||
0.0f,1.0f,0.f,1.f,
|
||||
0.7818314824680298f,0.6234898018587336f,0.f,1.f,
|
||||
0.9749279121818236f,-0.22252093395631434f,0.f,1.f,
|
||||
0.43388373911755823f,-0.900968867902419f,0.f,1.f,
|
||||
-0.433883739117558f,-0.9009688679024191f,0.f,1.f,
|
||||
-0.9749279121818236f,-0.2225209339563146f,0.f,1.f,
|
||||
-0.7818314824680299f,0.6234898018587334f,0.f,1.f,
|
||||
};
|
||||
float hues[] = {
|
||||
0.0, 0.7142857142857143, 0.42857142857142855, 0.14285714285714285, 0.8571428571428571, 0.5714285714285714, 0.2857142857142857
|
||||
};
|
||||
|
||||
GLuint program;
|
||||
Core::Shader_Loader shaderLoader;
|
||||
|
||||
unsigned int VAO;
|
||||
|
||||
void renderScene()
|
||||
{
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
glClearColor(0.0f, 0.3f, 0.3f, 1.0f);
|
||||
|
||||
// ZADANIE: Powyżej w tablicy points znajdują się wierzchołki 7-kąta foremnego, zadanie polega na narysowaniu gwiazdy siedmioramiennej jak na obrazku zad1b.jpg. Do shadera należy przesłać pozycje wierzchołków i ich odcienie z tablicy hues podobnie jak w zadaniu 1a.
|
||||
// Idealnie rozwiązane zadanie wymaga użycia indeksowania z użyciem Element Buffer Objects oraz trybu rysowania GL_LINE_STRIP
|
||||
// (dodatkowe) Jedna krawędź przechodzi przez wszystkie odcienie zamiast z czerwonego do magenty. Co to powoduje? W jaki sposób byś to naprawił?
|
||||
|
||||
glUseProgram(program);
|
||||
|
||||
|
||||
|
||||
|
||||
glUseProgram(0);
|
||||
glutSwapBuffers();
|
||||
}
|
||||
|
||||
void init()
|
||||
{
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
program = shaderLoader.CreateProgram("shaders/shader_2_1b.vert", "shaders/shader_2_1b.frag");
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
void shutdown()
|
||||
{
|
||||
shaderLoader.DeleteProgram(program);
|
||||
}
|
||||
|
||||
void idle()
|
||||
{
|
||||
glutPostRedisplay();
|
||||
}
|
||||
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
glutInit(&argc, argv);
|
||||
glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);
|
||||
glutInitWindowPosition(200, 200);
|
||||
glutInitWindowSize(600, 600);
|
||||
glutCreateWindow("OpenGL Pierwszy Program");
|
||||
glewInit();
|
||||
|
||||
init();
|
||||
glutDisplayFunc(renderScene);
|
||||
glutIdleFunc(idle);
|
||||
|
||||
glutMainLoop();
|
||||
|
||||
shutdown();
|
||||
|
||||
return 0;
|
||||
}
|
@ -1,119 +0,0 @@
|
||||
#include "glew.h"
|
||||
#include "freeglut.h"
|
||||
#include "glm.hpp"
|
||||
#include "ext.hpp"
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
|
||||
#include "Shader_Loader.h"
|
||||
#include "Render_Utils.h"
|
||||
#include "Camera.h"
|
||||
|
||||
#include "Box.cpp"
|
||||
#include <assimp/Importer.hpp>
|
||||
#include <assimp/scene.h>
|
||||
#include <assimp/postprocess.h>
|
||||
#include <string>
|
||||
|
||||
|
||||
GLuint program;
|
||||
Core::Shader_Loader shaderLoader;
|
||||
|
||||
Core::RenderContext shipContext;
|
||||
Core::RenderContext sphereContext;
|
||||
|
||||
|
||||
float cameraAngle = 0;
|
||||
glm::vec3 cameraPos = glm::vec3(-5, 0, 0);
|
||||
glm::vec3 cameraDir;
|
||||
|
||||
|
||||
void keyboard(unsigned char key, int x, int y)
|
||||
{
|
||||
float angleSpeed = 0.1f;
|
||||
float moveSpeed = 0.1f;
|
||||
switch(key)
|
||||
{
|
||||
case 'a': cameraAngle -= angleSpeed; break;
|
||||
case 'd': cameraAngle += angleSpeed; break;
|
||||
case 'w': cameraPos += cameraDir * moveSpeed; break;
|
||||
case 's': cameraPos -= cameraDir * moveSpeed; break;
|
||||
}
|
||||
}
|
||||
|
||||
glm::mat4 createCameraMatrix()
|
||||
{
|
||||
cameraDir = glm::vec3(cosf(cameraAngle), 0.0f, sinf(cameraAngle));
|
||||
glm::vec3 up = glm::vec3(0,1,0);
|
||||
|
||||
return Core::createViewMatrix(cameraPos, cameraDir, up);
|
||||
}
|
||||
|
||||
void renderScene()
|
||||
{
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
glClearColor(0.0f, 0.3f, 0.3f, 1.0f);
|
||||
|
||||
glUseProgram(program);
|
||||
|
||||
glm::mat4 camera = createCameraMatrix();
|
||||
glm::mat4 perspective = Core::createPerspectiveMatrix();
|
||||
glm::mat4 transformation = perspective * camera;
|
||||
|
||||
glUniformMatrix4fv(glGetUniformLocation(program, "transformation"), 1, GL_FALSE, (float*)&transformation);
|
||||
|
||||
glUseProgram(0);
|
||||
glutSwapBuffers();
|
||||
}
|
||||
|
||||
void init()
|
||||
{
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
program = shaderLoader.CreateProgram("shaders/shader_2_2.vert", "shaders/shader_2_2.frag");
|
||||
}
|
||||
|
||||
void shutdown()
|
||||
{
|
||||
shaderLoader.DeleteProgram(program);
|
||||
}
|
||||
|
||||
void loadModelToContext(std::string path,Core::RenderContext& context)
|
||||
{
|
||||
Assimp::Importer import;
|
||||
const aiScene* scene = import.ReadFile(path, aiProcess_Triangulate | aiProcess_CalcTangentSpace);
|
||||
|
||||
if (!scene || scene->mFlags & AI_SCENE_FLAGS_INCOMPLETE || !scene->mRootNode)
|
||||
{
|
||||
std::cout << "ERROR::ASSIMP::" << import.GetErrorString() << std::endl;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void idle()
|
||||
{
|
||||
glutPostRedisplay();
|
||||
}
|
||||
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
loadModelToContext(".\\models\\spaceship.obj", sphereContext);
|
||||
|
||||
glutInit(&argc, argv);
|
||||
glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);
|
||||
glutInitWindowPosition(200, 200);
|
||||
glutInitWindowSize(600, 600);
|
||||
glutCreateWindow("OpenGL Pierwszy Program");
|
||||
glewInit();
|
||||
|
||||
init();
|
||||
glutKeyboardFunc(keyboard);
|
||||
glutDisplayFunc(renderScene);
|
||||
glutIdleFunc(idle);
|
||||
|
||||
glutMainLoop();
|
||||
|
||||
shutdown();
|
||||
|
||||
return 0;
|
||||
}
|
107
cw 2/style.css
107
cw 2/style.css
@ -1,107 +0,0 @@
|
||||
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
|
||||
|
||||
body{
|
||||
color:#444;
|
||||
font-family:Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
|
||||
font-size:12px;
|
||||
line-height:1.5em;
|
||||
padding:1em;
|
||||
margin:auto;
|
||||
max-width:42em;
|
||||
background:#fefefe;
|
||||
}
|
||||
|
||||
a{ color: #0645ad; text-decoration:none;}
|
||||
a:visited{ color: #0b0080; }
|
||||
a:hover{ color: #06e; }
|
||||
a:active{ color:#faa700; }
|
||||
a:focus{ outline: thin dotted; }
|
||||
a:hover, a:active{ outline: 0; }
|
||||
|
||||
::-moz-selection{background:rgba(255,255,0,0.3);color:#000}
|
||||
::selection{background:rgba(255,255,0,0.3);color:#000}
|
||||
|
||||
a::-moz-selection{background:rgba(255,255,0,0.3);color:#0645ad}
|
||||
a::selection{background:rgba(255,255,0,0.3);color:#0645ad}
|
||||
|
||||
p{
|
||||
margin:1em 0;
|
||||
}
|
||||
|
||||
img{
|
||||
max-width:100%;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6{
|
||||
font-weight:normal;
|
||||
color:#111;
|
||||
line-height:1em;
|
||||
}
|
||||
h4,h5,h6{ font-weight: bold; }
|
||||
h1{ font-size:2.5em; }
|
||||
h2{ font-size:2em; }
|
||||
h3{ font-size:1.5em; }
|
||||
h4{ font-size:1.2em; }
|
||||
h5{ font-size:1em; }
|
||||
h6{ font-size:0.9em; }
|
||||
|
||||
blockquote{
|
||||
color:#666666;
|
||||
margin:0;
|
||||
padding-left: 3em;
|
||||
border-left: 0.5em #EEE solid;
|
||||
}
|
||||
hr { display: block; height: 2px; border: 0; border-top: 1px solid #aaa;border-bottom: 1px solid #eee; margin: 1em 0; padding: 0; }
|
||||
pre, code, kbd, samp { color: #000; font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 0.98em; }
|
||||
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
|
||||
|
||||
b, strong { font-weight: bold; }
|
||||
|
||||
dfn { font-style: italic; }
|
||||
|
||||
ins { background: #ff9; color: #000; text-decoration: none; }
|
||||
|
||||
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
|
||||
|
||||
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
|
||||
sup { top: -0.5em; }
|
||||
sub { bottom: -0.25em; }
|
||||
|
||||
ul, ol { margin: 1em 0; padding: 0 0 0 2em; }
|
||||
li p:last-child { margin:0 }
|
||||
dd { margin: 0 0 0 2em; }
|
||||
|
||||
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 100%;
|
||||
}
|
||||
th { border-bottom: 1px solid black; }
|
||||
td { vertical-align: top; }
|
||||
|
||||
@media only screen and (min-width: 480px) {
|
||||
body{font-size:14px;}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
body{font-size:16px;}
|
||||
}
|
||||
|
||||
@media print {
|
||||
* { background: transparent !important; color: black !important; filter:none !important; -ms-filter: none !important; }
|
||||
body{font-size:12pt; max-width:100%;}
|
||||
a, a:visited { text-decoration: underline; }
|
||||
hr { height: 1px; border:0; border-bottom:1px solid black; }
|
||||
a[href]:after { content: " (" attr(href) ")"; }
|
||||
abbr[title]:after { content: " (" attr(title) ")"; }
|
||||
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
|
||||
pre, blockquote { border: 1px solid #999; padding-right: 1em; page-break-inside: avoid; }
|
||||
tr, img { page-break-inside: avoid; }
|
||||
img { max-width: 100% !important; }
|
||||
@page :left { margin: 15mm 20mm 15mm 10mm; }
|
||||
@page :right { margin: 15mm 10mm 15mm 20mm; }
|
||||
p, h2, h3 { orphans: 3; widows: 3; }
|
||||
h2, h3 { page-break-after: avoid; }
|
||||
}
|
BIN
cw 2/zad1b.JPG
BIN
cw 2/zad1b.JPG
Binary file not shown.
Before Width: | Height: | Size: 54 KiB |
@ -1,103 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
<title>zadanie_2_2</title>
|
||||
<style>
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
span.underline{text-decoration: underline;}
|
||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
||||
ul.task-list{list-style: none;}
|
||||
pre > code.sourceCode { white-space: pre; position: relative; }
|
||||
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
|
||||
pre > code.sourceCode > span:empty { height: 1.2em; }
|
||||
code.sourceCode > span { color: inherit; text-decoration: inherit; }
|
||||
div.sourceCode { margin: 1em 0; }
|
||||
pre.sourceCode { margin: 0; }
|
||||
@media screen {
|
||||
div.sourceCode { overflow: auto; }
|
||||
}
|
||||
@media print {
|
||||
pre > code.sourceCode { white-space: pre-wrap; }
|
||||
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
|
||||
}
|
||||
pre.numberSource code
|
||||
{ counter-reset: source-line 0; }
|
||||
pre.numberSource code > span
|
||||
{ position: relative; left: -4em; counter-increment: source-line; }
|
||||
pre.numberSource code > span > a:first-child::before
|
||||
{ content: counter(source-line);
|
||||
position: relative; left: -1em; text-align: right; vertical-align: baseline;
|
||||
border: none; display: inline-block;
|
||||
-webkit-touch-callout: none; -webkit-user-select: none;
|
||||
-khtml-user-select: none; -moz-user-select: none;
|
||||
-ms-user-select: none; user-select: none;
|
||||
padding: 0 4px; width: 4em;
|
||||
color: #aaaaaa;
|
||||
}
|
||||
pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
|
||||
div.sourceCode
|
||||
{ }
|
||||
@media screen {
|
||||
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
|
||||
}
|
||||
code span.al { color: #ff0000; font-weight: bold; } /* Alert */
|
||||
code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
|
||||
code span.at { color: #7d9029; } /* Attribute */
|
||||
code span.bn { color: #40a070; } /* BaseN */
|
||||
code span.bu { } /* BuiltIn */
|
||||
code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
|
||||
code span.ch { color: #4070a0; } /* Char */
|
||||
code span.cn { color: #880000; } /* Constant */
|
||||
code span.co { color: #60a0b0; font-style: italic; } /* Comment */
|
||||
code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
|
||||
code span.do { color: #ba2121; font-style: italic; } /* Documentation */
|
||||
code span.dt { color: #902000; } /* DataType */
|
||||
code span.dv { color: #40a070; } /* DecVal */
|
||||
code span.er { color: #ff0000; font-weight: bold; } /* Error */
|
||||
code span.ex { } /* Extension */
|
||||
code span.fl { color: #40a070; } /* Float */
|
||||
code span.fu { color: #06287e; } /* Function */
|
||||
code span.im { } /* Import */
|
||||
code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
|
||||
code span.kw { color: #007020; font-weight: bold; } /* Keyword */
|
||||
code span.op { color: #666666; } /* Operator */
|
||||
code span.ot { color: #007020; } /* Other */
|
||||
code span.pp { color: #bc7a00; } /* Preprocessor */
|
||||
code span.sc { color: #4070a0; } /* SpecialChar */
|
||||
code span.ss { color: #bb6688; } /* SpecialString */
|
||||
code span.st { color: #4070a0; } /* String */
|
||||
code span.va { color: #19177c; } /* Variable */
|
||||
code span.vs { color: #4070a0; } /* VerbatimString */
|
||||
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
|
||||
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
|
||||
</style>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="ładowanie-modeli">Ładowanie modeli</h1>
|
||||
<p>w tym zadaniu przećwiczymy ładowanie modeli z plików, wykorzystamy do tego bibliotekę assimp (The Open Asset Import Library ), która zapewnia wspólny interfejs dla różnych typów plików.</p>
|
||||
<p>Funkcja <code>loadModelToContext</code> pobiera ścieżkę do pliku z modelem i wczytuje go przy użyciu importera assimp.</p>
|
||||
<div class="sourceCode" id="cb1"><pre class="sourceCode cpp"><code class="sourceCode cpp"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="at">const</span> aiScene* scene = <span class="kw">import</span>.ReadFile(path, aiProcess_TriangulateaiProcess_Triangulate | aiProcess_CalcTangentSpace);</span></code></pre></div>
|
||||
<p>Importer przyjmuje ścieżkę i flagi preprocesingu, które mówią jakie operacje ma wykonać importer przed przekazaniem nam pliku. W naszym przypadku dokonuje triangularyzacji (zamienia wszystkie wielokąty na trójkąty) i oblicza przestrzeń styczną (o której będzie mowa później).</p>
|
||||
<blockquote>
|
||||
<p>Wywołaj funkcję dla ścieżki do statku <strong>./models/spaceship.obj</strong> i zmiennej globalnej <code>Core::RenderContext sphereContext</code>. Dodaj breakpoint po załadowaniu sceny i obejrzyj jak wygląda struktura załadowanego obiektu</p>
|
||||
</blockquote>
|
||||
<p>Załadowany obiekt posiada szereg pól jak na przykład tekstury, oświetlenia, materiały, węzły (<em>Node</em>) czy modele. Węzły odpowiadają za hierarchię elementów w modelu, co ułatwia jego animację, wykorzystamy to w późniejszych zajęciach, w trakcie tych zajęć będziemy się skupiać na modelach. Nasze obiekty składają się z tylko jednego modelu, wywołaj <code>context.initFromAiMesh</code> z nim jako argumentem.</p>
|
||||
<h3 id="zadanie">Zadanie</h3>
|
||||
<p>Jeśli tego nie zrobiłeś wywołaj metodę <code>context.initFromAiMesh</code> z argumentem<code>scene->mMeshes[0]</code> po wczytaniu sceny. Metoda nie jest kompletna, uzupełnij ją o ładowanie indeksów, wierzchołków, normalnych i współrzędnych tekstur do bufora. Współrzędne tekstur i indeksy zostały przekonwertowane do odpowiedniego formatu i znajdują się w zmiennych <code>std::vector<float> textureCoord</code> i <code>std::vector<unsigned int> indices</code> odpowiednio. Pozostałe są dostępne jako atrybuty <code>aiMesh</code>, mianowicie <code>mesh->mVertices</code> zawiera wierzchołki a <code>mesh->mNormals</code> normalne</p>
|
||||
<p>Dodatkowo</p>
|
||||
<div class="sourceCode" id="cb2"><pre class="sourceCode c++"><code class="sourceCode cpp"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="dt">unsigned</span> <span class="dt">int</span> vertexDataBufferSize = <span class="kw">sizeof</span>(<span class="dt">float</span>) * mesh->mNumVertices * <span class="dv">3</span>;</span>
|
||||
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="dt">unsigned</span> <span class="dt">int</span> vertexNormalBufferSize = <span class="kw">sizeof</span>(<span class="dt">float</span>) * mesh->mNumVertices * <span class="dv">3</span>;</span>
|
||||
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="dt">unsigned</span> <span class="dt">int</span> vertexTexBufferSize = <span class="kw">sizeof</span>(<span class="dt">float</span>) * mesh->mNumVertices * <span class="dv">2</span>;</span></code></pre></div>
|
||||
<p>zawierają rozmiary buforów.</p>
|
||||
<p>Wykorzystaj w <code>renderScene</code> funkcję <code>Core::DrawContext(Core::RenderContext& context)</code></p>
|
||||
</body>
|
||||
</html>
|
@ -1,32 +0,0 @@
|
||||
# Ładowanie modeli
|
||||
|
||||
w tym zadaniu przećwiczymy ładowanie modeli z plików, wykorzystamy do tego bibliotekę assimp (The Open Asset Import Library ), która zapewnia wspólny interfejs dla różnych typów plików.
|
||||
|
||||
Funkcja `loadModelToContext` pobiera ścieżkę do pliku z modelem i wczytuje go przy użyciu importera assimp.
|
||||
|
||||
```c++
|
||||
const aiScene* scene = import.ReadFile(path, aiProcess_TriangulateaiProcess_Triangulate | aiProcess_CalcTangentSpace);
|
||||
```
|
||||
|
||||
Importer przyjmuje ścieżkę i flagi preprocesingu, które mówią jakie operacje ma wykonać importer przed przekazaniem nam pliku. W naszym przypadku dokonuje triangularyzacji (zamienia wszystkie wielokąty na trójkąty) i oblicza przestrzeń styczną (o której będzie mowa później).
|
||||
|
||||
> Wywołaj funkcję dla ścieżki do statku **./models/spaceship.obj** i zmiennej globalnej `Core::RenderContext sphereContext`. Dodaj breakpoint po załadowaniu sceny i obejrzyj jak wygląda struktura załadowanego obiektu
|
||||
|
||||
Załadowany obiekt posiada szereg pól jak na przykład tekstury, oświetlenia, materiały, węzły (*Node*) czy modele. Węzły odpowiadają za hierarchię elementów w modelu, co ułatwia jego animację, wykorzystamy to w późniejszych zajęciach, w trakcie tych zajęć będziemy się skupiać na modelach. Nasze obiekty składają się z tylko jednego modelu, wywołaj `context.initFromAiMesh` z nim jako argumentem.
|
||||
|
||||
### Zadanie
|
||||
|
||||
Jeśli tego nie zrobiłeś wywołaj metodę `context.initFromAiMesh` z argumentem`scene->mMeshes[0]` po wczytaniu sceny. Metoda nie jest kompletna, uzupełnij ją o ładowanie indeksów, wierzchołków, normalnych i współrzędnych tekstur do bufora. Współrzędne tekstur i indeksy zostały przekonwertowane do odpowiedniego formatu i znajdują się w zmiennych `std::vector<float> textureCoord` i ` std::vector<unsigned int> indices` odpowiednio. Pozostałe są dostępne jako atrybuty `aiMesh`, mianowicie `mesh->mVertices` zawiera wierzchołki a `mesh->mNormals` normalne
|
||||
|
||||
Dodatkowo
|
||||
|
||||
```C++
|
||||
unsigned int vertexDataBufferSize = sizeof(float) * mesh->mNumVertices * 3;
|
||||
unsigned int vertexNormalBufferSize = sizeof(float) * mesh->mNumVertices * 3;
|
||||
unsigned int vertexTexBufferSize = sizeof(float) * mesh->mNumVertices * 2;
|
||||
```
|
||||
|
||||
zawierają rozmiary buforów.
|
||||
|
||||
Wykorzystaj w `renderScene` funkcję `Core::DrawContext(Core::RenderContext& context)`
|
||||
|
BIN
cw 2/zlib.dll
BIN
cw 2/zlib.dll
Binary file not shown.
BIN
cw 2/zlibd.dll
BIN
cw 2/zlibd.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,15 +0,0 @@
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\vc142.pdb
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\vc142.idb
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\shader_loader.obj
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\render_utils.obj
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\main_3_1.obj
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\camera.obj
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\box.obj
|
||||
c:\users\user\desktop\grk-cw\debug\grk-cw3.exe
|
||||
c:\users\user\desktop\grk-cw\debug\grk-cw3.pdb
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\grk-cw3.tlog\cl.command.1.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\grk-cw3.tlog\cl.read.1.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\grk-cw3.tlog\cl.write.1.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\grk-cw3.tlog\link.command.1.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\grk-cw3.tlog\link.read.1.tlog
|
||||
c:\users\user\desktop\grk-cw\cw 3\debug\grk-cw3.tlog\link.write.1.tlog
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>C:\Users\User\Desktop\grk-cw\Debug\grk-cw3.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
<SatelliteDlls />
|
||||
<NonRecipeFileRefs />
|
||||
</Project>
|
@ -1,5 +0,0 @@
|
||||
main_3_1.cpp
|
||||
C:\Users\User\Desktop\grk-cw\cw 3\src\main_3_1.cpp(48,19): warning C4305: "inicjowanie": obcięcie z "double" do "float"
|
||||
C:\Users\User\Desktop\grk-cw\cw 3\src\main_3_1.cpp(162,22): warning C4244: "=": konwersja z "int" do "float", możliwa utrata danych
|
||||
Box.obj : warning LNK4075: zignorowano opcję „/EDITANDCONTINUE” z powodu określenia opcji „/INCREMENTAL:NO”
|
||||
grk-cw3.vcxproj -> C:\Users\User\Desktop\grk-cw\Debug\grk-cw3.exe
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.29.30037:VCServicingVersionATL=14.29.30038:VCServicingVersionCrtHeaders=14.29.30040:VCServicingVersionCompilers=14.29.30040:TargetPlatformVersion=10.0.19041.0:
|
||||
Debug|Win32|C:\Users\User\Desktop\grk-cw\|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user