File tree 10 files changed +21
-18
lines changed
10 files changed +21
-18
lines changed Original file line number Diff line number Diff line change 1
- find_path (GLFW3_INCLUDE_DIRS GLFW/glfw3.h HINTS $ENV{GLFW3_DIR} PATH_SUFFIXES include )
2
- find_library (GLFW3_LIBRARY NAMES glfw3 HINTS $ENV{GLFW3_DIR} PATH_SUFFIXES lib64 lib)
1
+ set (GLFW3_DIR $ENV{GLFW3_DIR} CACHE PATH "GLFW3 Directorio de instalacion" )
2
+
3
+ find_path (GLFW3_INCLUDE_DIRS GLFW/glfw3.h HINTS ${GLFW3_DIR} PATH_SUFFIXES include )
4
+ find_library (GLFW3_LIBRARY NAMES glfw3 HINTS ${GLFW3_DIR} PATH_SUFFIXES lib64 lib)
3
5
4
6
include (FindPackageHandleStandardArgs)
5
7
find_package_handle_standard_args(GLFW3 DEFAULT_MSG GLFW3_LIBRARY GLFW3_INCLUDE_DIRS)
Original file line number Diff line number Diff line change @@ -25,3 +25,4 @@ add_subdirectory(Tutorial-04)
25
25
add_subdirectory (Tutorial-05)
26
26
add_subdirectory (Tutorial-06)
27
27
add_subdirectory (Tutorial-07)
28
+ add_subdirectory (Tutorial-08)
Original file line number Diff line number Diff line change 1
- add_executable ( Tutorial-00 ventana-opengl.cpp ../common/openglwindow.hpp)
1
+ add_executable ( 00-Ventana ventana-opengl.cpp ../common/openglwindow.hpp)
2
2
3
- target_link_libraries ( Tutorial-00 ${GRAPHIC_LIBS} )
3
+ target_link_libraries ( 00-Ventana ${GRAPHIC_LIBS} )
Original file line number Diff line number Diff line change 1
1
file (COPY simple.vertex_shader simple.fragment_shader DESTINATION shaders)
2
2
3
- add_executable ( Tutorial-01 shader-opengl.cpp
3
+ add_executable ( 01-Shader shader-opengl.cpp
4
4
shaders/simple.vertex_shader
5
5
shaders/simple.fragment_shader
6
6
../common/openglwindow.hpp
7
7
../common/openglshader.hpp )
8
8
9
- target_link_libraries ( Tutorial-01 ${GRAPHIC_LIBS} )
9
+ target_link_libraries ( 01-Shader ${GRAPHIC_LIBS} )
Original file line number Diff line number Diff line change 1
1
file (COPY simple.vertex_shader simple.fragment_shader DESTINATION shaders)
2
2
3
- add_executable ( Tutorial-02 data-opengl.cpp
3
+ add_executable ( 02-VertexBufferObject data-opengl.cpp
4
4
shaders/simple.vertex_shader
5
5
shaders/simple.fragment_shader
6
6
../common/openglwindow.hpp
7
7
../common/openglshader.hpp )
8
8
9
- target_link_libraries ( Tutorial-02 ${GRAPHIC_LIBS} )
9
+ target_link_libraries ( 02-VertexBufferObject ${GRAPHIC_LIBS} )
Original file line number Diff line number Diff line change 1
1
file (COPY simple.vertex_shader simple.fragment_shader DESTINATION shaders)
2
2
3
- add_executable ( Tutorial-03 3d-opengl.cpp
3
+ add_executable ( 03-Render3D 3d-opengl.cpp
4
4
shaders/simple.vertex_shader
5
5
shaders/simple.fragment_shader
6
6
../common/openglwindow.hpp
7
7
../common/openglshader.hpp )
8
8
9
- target_link_libraries ( Tutorial-03 ${GRAPHIC_LIBS} )
9
+ target_link_libraries ( 03-Render3D ${GRAPHIC_LIBS} )
Original file line number Diff line number Diff line change 1
1
file (COPY simple.vertex_shader simple.fragment_shader DESTINATION shaders)
2
2
file (COPY lena.bmp baboon.bmp DESTINATION textures)
3
3
4
- add_executable ( Tutorial-04 texturas.cpp
4
+ add_executable ( 04-Texturas texturas.cpp
5
5
shaders/simple.vertex_shader
6
6
shaders/simple.fragment_shader
7
7
../common/openglwindow.hpp
8
8
../common/openglshader.hpp )
9
9
10
- target_link_libraries ( Tutorial-04 ${GRAPHIC_LIBS} )
10
+ target_link_libraries ( 04-Texturas ${GRAPHIC_LIBS} )
Original file line number Diff line number Diff line change 1
1
file (COPY simple.vertex_shader simple.fragment_shader DESTINATION shaders)
2
2
file (COPY cubo.obj cubo.bmp cyborg.obj cyborg.bmp DESTINATION model)
3
3
4
- add_executable ( Tutorial-05 modelo_obj.cpp
4
+ add_executable ( 05-FormatoOBJ modelo_obj.cpp
5
5
shaders/simple.vertex_shader
6
6
shaders/simple.fragment_shader
7
7
../common/openglwindow.hpp
8
8
../common/openglshader.hpp )
9
9
10
- target_link_libraries ( Tutorial-05 ${GRAPHIC_LIBS} )
10
+ target_link_libraries ( 05-FormatoOBJ ${GRAPHIC_LIBS} )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ file(COPY roboto.ttf DESTINATION font)
4
4
5
5
include_directories (../includes)
6
6
7
- add_executable ( Tutorial-06 texto-opengl.cpp
7
+ add_executable ( 06-Texto2D texto-opengl.cpp
8
8
shaders/simple.vertex_shader
9
9
shaders/simple.fragment_shader
10
10
shaders/text.vertex_shader
@@ -13,4 +13,4 @@ add_executable( Tutorial-06 texto-opengl.cpp
13
13
../common/openglshader.hpp
14
14
../common/opengltext.hpp )
15
15
16
- target_link_libraries ( Tutorial-06 ${GRAPHIC_LIBS} )
16
+ target_link_libraries ( 06-Texto2D ${GRAPHIC_LIBS} )
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ file(COPY gouraud.vertex_shader gouraud.fragment_shader DESTINATION shaders)
2
2
file (COPY phong.vertex_shader phong.fragment_shader DESTINATION shaders)
3
3
file (COPY cubo.obj ball.obj DESTINATION model)
4
4
5
- add_executable ( Tutorial-07 iluminacion.cpp
5
+ add_executable ( 07-Iluminacion_phong iluminacion.cpp
6
6
shaders/gouraud.vertex_shader
7
7
shaders/gouraud.fragment_shader
8
8
shaders/phong.vertex_shader
9
9
shaders/phong.fragment_shader
10
10
../common/openglwindow.hpp
11
11
../common/openglshader.hpp )
12
12
13
- target_link_libraries ( Tutorial-07 ${GRAPHIC_LIBS} )
13
+ target_link_libraries ( 07-Iluminacion_phong ${GRAPHIC_LIBS} )
You can’t perform that action at this time.
0 commit comments