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:
Jip 2024-05-04 23:12:24 +02:00
parent 58436d2fc6
commit 2c6036f653
4 changed files with 392 additions and 0 deletions

View file

@ -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)