-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from volivarez60/main
updated gltf importer with preliminary mesh import support. meshes in nearly all encodings appear to import cleanly, but there is some issue remaining. meshes converted to bots display correctly in wireframe and opengl in mged/archer, but do not raytrace correctly. possibly implies some issue in the bot data structure setup, but this is significant progress regardless, and sets the stage for creating a proper gcv plugin.
- Loading branch information
Showing
60 changed files
with
64,924 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
set(GLTF_CONV_INCLUDE_DIRS | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${BU_INCLUDE_DIRS} | ||
${RT_INCLUDE_DIRS} | ||
) | ||
BRLCAD_INCLUDE_DIRS(GLTF_CONV_INCLUDE_DIRS) | ||
|
||
BRLCAD_ADDEXEC(gltf-g gltf-g.cpp "libwdb;librt;libnmg;libbu" FOLDER Conv) | ||
|
||
FILE(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/tinygltf.dist" tinygltf_files) | ||
CMAKEFILES( | ||
${tinygltf_files} | ||
CMakeLists.txt | ||
baseColor.png | ||
blob.glb | ||
tinygltf.dist | ||
) | ||
|
||
# Local Variables: | ||
# tab-width: 8 | ||
# mode: cmake | ||
# indent-tabs-mode: t | ||
# End: | ||
# ex: shiftwidth=2 tabstop=8 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.