jordan4ibanez
4a8602ed0f
Fix embedded textures causing a model not to load
2024-04-18 07:21:59 -05:00
jordan4ibanez
08d226cdb5
Fix indices, inverted models, & multiple models failing to load
...
Fix embedded textures causing a model not to load
Add todo
Add another todo
Push current (broken) prototyping
Fix missing bracket
Make a single array object work
Convert hard array into dynamic vector
Simplify semantics
Remove "new"
Add blocker for vscode environment changes
Disable non-dynamic prototyping
Add comment
Add more informative debug & disable it
Add additional items to gitignore
Add debug info for scalar value
Output even more debug info
Make textures render correctly
Insert the indices properly
Update .gitignore
Disable y flip
Make a reusable vertex buffer :)
Disallow embedded textures
More disable
Set up implementation for contiguous model
Add a note
More automation & framework
Final framework before stepping into function overhaul
Hold track of current_index
Integrate iterators
More integration
Rename, it's going to need 2 counters
Correctly offset the count to the right
Sync normals with positions
Time to use a tuple
Set up other counters
Do return value
Do input passing
Make (somewhat) working contiguous model
Add getter for translation data
Add debug info for future utilization
Update .gitignore
More debug
Update .gitignore
Update .gitignore
Remove all debug info & clean up
Delete this thing
Automate everything & put it into spec
Spaces into tabs
Remove array include as build test
Fix the gitignore
2024-04-18 07:21:59 -05:00
Josiah VanderZee
0216a02ed4
Fix segfault from reading bad number of indices
2024-04-18 07:21:59 -05:00
Josiah VanderZee
f1042bf4c4
Update to latest branch of lukka/get-cmake
2024-04-18 07:21:59 -05:00
Josiah VanderZee
a326f27f6a
Fix coordinate system change
...
Old code was inverting the X axis, new code inverts the Z axis.
2024-04-18 07:21:59 -05:00
Josiah VanderZee
47a195b4de
Fix aliasing violation when reading primitives
2024-04-18 07:21:59 -05:00
Josiah VanderZee
3dc24abdb3
Remove DESCRIPTION from tinygltf project
2024-04-18 07:21:58 -05:00
Josiah VanderZee
cdad3a8f43
Switch to fixed branch of lukka/get-cmake action
2024-04-18 07:21:58 -05:00
Josiah VanderZee
7220104c37
Test vertex normals on cube
2024-04-18 07:21:58 -05:00
Josiah VanderZee
72cb09a566
Test for texture coordinates on cube
2024-04-18 07:21:58 -05:00
Josiah VanderZee
742307f077
Scale cube vertices correctly
2024-04-18 07:21:58 -05:00
Josiah VanderZee
837b6be14e
Add test for blender cube
2024-04-18 07:21:58 -05:00
Josiah VanderZee
12b760e45b
Use a better action for getting CMake 3.5
2024-04-18 07:21:58 -05:00
Josiah VanderZee
82c547d50f
Test for correct vertex indices
2024-04-18 07:21:56 -05:00
JosiahWI
b4c4325ea4
Add CI build for CMake 3.5 with GCC 5.3
2024-04-18 07:20:25 -05:00
JosiahWI
3d2d3f8d5a
Remove constexpr from readFloat
2024-04-18 07:20:25 -05:00
JosiahWI
a20ac715ce
Load vertex coordinates from glTF buffer
2024-04-18 07:20:22 -05:00
JosiahWI
21c3c16557
Test invalid JSON
...
Also converted all .cpp and .h line endings to CRLF in this commit.
2024-04-18 07:19:30 -05:00
JosiahWI
8c9c1e57ea
Specify all source fools directly on IrrlichtMt
2024-04-18 07:19:12 -05:00
JosiahWI
2ae436cb2c
Update vertex test for coordinate system
...
This is also the first working version of the mesh. I successfully
loaded it in Minetest.
2024-04-18 07:18:30 -05:00
JosiahWI
30d5748e0c
Test case when file is nullptr
2024-04-18 07:18:30 -05:00
JosiahWI
5e2d9d947e
Test that minimal triangle has correct vertices
2024-04-18 07:18:30 -05:00
JosiahWI
a9f56df279
Test that minimal triangle returns some mesh
2024-04-18 07:18:29 -05:00
JosiahWI
7900f0a3a9
Fix path to tests in CI and use Ninja
2024-04-18 07:17:12 -05:00
JosiahWI
4b6ab0528d
Run tests in Linux GL CI build
2024-04-18 07:16:22 -05:00
JosiahWI
92862a3a2d
Add test file for glTF mesh loading
2024-04-18 07:16:20 -05:00
JosiahWI
bde174d1a0
Add GLTF mesh file loader
2024-04-18 07:14:20 -05:00
JosiahWI
a0b7a15693
Do CMake right
2024-04-18 07:10:56 -05:00
JosiahWI
a3b2dbdebb
Export tinygltf target
2024-04-18 07:10:04 -05:00
JosiahWI
36a90e9973
Add tinygltf library
2024-04-18 07:08:45 -05:00
sfan5
124708784f
Restore buildability with SDL 2.0.10
2024-03-21 22:48:22 +01:00
Desour
bcb952c3ca
Move source/Irrlicht/ to src/
2024-03-21 22:08:26 +01:00
Desour
594e88bf3b
Remove the tab removal script again
2024-03-21 22:08:26 +01:00
Desour
dd1043c4c0
Replace non-leading tabs with spaces, using:
...
find -type f | # list all regular files
grep -E '\.(h|cpp|mm)$' | # filter for source files
grep -v '/mt_' | # filter out generated files
grep -v '/vendor/' | # and vendored GL
xargs -n 1 -P $(nproc) ./replace_non_leading_tabs.lua # reformat everything
2024-03-21 22:08:26 +01:00
Desour
72e303238e
Add a small script for tab removal
2024-03-21 22:08:26 +01:00
Desour
adc96072cd
Fix ugly formatted arrays
...
Found via: `rg --multiline "=\n\t*\{\n"`
2024-03-21 22:08:26 +01:00
Desour
7cf801244c
Reformat test/image_loader_test.cpp manually
2024-03-21 22:08:26 +01:00
numzero
b01a3ea781
Fix ifs clang-format didn’t get
2024-03-21 22:08:26 +01:00
Desour
e5b97d440a
Remove .clang-format again
2024-03-21 22:08:26 +01:00
Desour
f5c6d3e945
Reformat the code, using:
...
find -type f | # list all regular files
grep -E '\.(h|cpp|mm)$' | # filter for source files
grep -v '/mt_' | # filter out generated files
grep -v '/vendor/' | # and vendored GL
grep -v '/test/image_loader_test.cpp' | # and this file (has giant literals arrays)
xargs -n 1 -P $(nproc) clang-format -i # reformat everything
Co-authored-by: numzero <numzer0@yandex.ru>
2024-03-21 22:08:26 +01:00
numzero
9814510b1b
Add clang-format file, based on that from Minetest
2024-03-21 22:08:26 +01:00
sfan5
05c8bc8314
Try to fix macOS CI
2024-03-20 20:37:22 +01:00
sfan5
a9c4683b18
Do not include core::string in matrix4.h
2024-03-17 23:25:45 +01:00
sfan5
26c4f4e63d
Ensure enough alignment for IImages
2024-03-10 13:58:24 +01:00
sfan5
9d07f906a7
Delete mesh writing support entirely
...
CB3DMeshWriter.cpp was not even being compiled
2024-03-10 10:11:27 +01:00
sfan5
d26c0aeaaf
Remove more dead code
2024-03-09 23:00:33 +01:00
sfan5
70b0b46d50
Delete deprecated video driver methods
2024-03-09 23:00:33 +01:00
sfan5
a7dd075dec
Mark some common constructors and other stuff as constexpr
2024-03-09 22:05:06 +01:00
sfan5
1e89db1b80
Consistently include C headers by their C++ wrapper
2024-02-25 22:10:04 +01:00
sfan5
44a368ef0e
Migrate public headers to #pragma once
2024-02-25 22:10:04 +01:00