mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-18 03:56:42 -04:00
Got the meshes somewhat working, the models are not consistent with their winding order and ray doesn't allow to render both sides of a face?, to truly see if everything works correctly we need the bone transformation to be applied to the model
This commit is contained in:
parent
58436d2fc6
commit
2c6036f653
4 changed files with 392 additions and 0 deletions
|
@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 2.6)
|
|||
|
||||
enable_language(ASM)
|
||||
|
||||
option(BUILD_EXAMPLES "Build the render demos" ON)
|
||||
option(BUILD_SHARED_LIBS "Build using shared libraries" OFF)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
|
@ -141,4 +142,9 @@ add_subdirectory(formats)
|
|||
add_subdirectory(libgldemo)
|
||||
add_subdirectory(libvitaboy)
|
||||
|
||||
if(BUILD_EXAMPLES)
|
||||
add_subdirectory(renderdemo_ray)
|
||||
endif()
|
||||
|
||||
unset(BUILD_SHARED_LIBS CACHE)
|
||||
unset(BUILD_EXAMPLES CACHE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue