Commit Graph

264 Commits

Author SHA1 Message Date
jordan4ibanez 2a027f755e Update code with requested changes
Fix mistake on github

Comply with changes 1

Comply with requested changes 2

Comply with requested changed 3

Comply with requested changed 4

Requested changed 5

Requested changed 6

Requested changed 7

Requested changed 8

Requested changed 9

Requested changed 10

Requested changes 11

Requested changes 12

This one wasn't even requested

I just turned on my vertical ruler and I'm going to go nuts

Line 81 doesn't exist anymore

Requested changes 13

Requested changes 14

Begin snow man test

Write a lot of tests for snow man

Add to git ignore

Now unignore it

Alphabetical order

Pass by reference

Pass by reference

vertexBuffer is now handled on stack

Preallocate indicesBuffer then reverse it when complete

Undo vertexBuffer stack change causing mac builds to fail

Use direct initialization on the vertexBuffer
2023-01-30 21:04:08 -05:00
jordan4ibanez 94a2dc0ca6
Merge branch 'feat/gltf-loader' into feat/gltf-loader 2023-01-29 18:35:16 -05:00
jordan4ibanez 2d4f1ce35e 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
2023-01-29 18:12:08 -05:00
jordan4ibanez d2ba0ed995
Merge pull request #1 from jordan4ibanez/feat/gltf-loader
Fix embedded textures causing a model not to load
2023-01-27 20:57:27 -05:00
jordan4ibanez a47890d7cb Fix embedded textures causing a model not to load 2023-01-27 20:45:02 -05:00
Josiah VanderZee b47858cf80
Fix segfault from reading bad number of indices 2023-01-27 16:17:20 -06:00
Josiah VanderZee 79ffe6b6d8
Update to latest branch of lukka/get-cmake 2023-01-27 16:17:19 -06:00
Josiah VanderZee 373a33a246
Fix coordinate system change
Old code was inverting the X axis, new code inverts the Z axis.
2023-01-27 16:17:19 -06:00
Josiah VanderZee 56c4a5a945
Fix reordering warnings 2023-01-27 16:17:18 -06:00
Josiah VanderZee d4eea38a65
Fix aliasing violation when reading primitives 2023-01-27 16:17:18 -06:00
Josiah VanderZee ad9fda174f
Remove DESCRIPTION from tinygltf project 2023-01-27 16:17:18 -06:00
Josiah VanderZee 25507f196c
Switch to fixed branch of lukka/get-cmake action 2023-01-27 16:17:17 -06:00
Josiah VanderZee 93b538cb58
Test vertex normals on cube 2023-01-27 16:17:17 -06:00
Josiah VanderZee d90b906d26
Test for texture coordinates on cube 2023-01-27 16:17:16 -06:00
Josiah VanderZee b1260a8927
Scale cube vertices correctly 2023-01-27 16:17:16 -06:00
Josiah VanderZee e784335115
Add test for blender cube 2023-01-27 16:17:16 -06:00
Josiah VanderZee 86401f4019
Use a better action for getting CMake 3.5 2023-01-27 16:17:15 -06:00
Josiah VanderZee 1b9d3ca502
Test for correct vertex indices 2023-01-27 16:17:15 -06:00
JosiahWI f2a3e990f3
Add CI build for CMake 3.5 with GCC 5.3 2023-01-27 16:17:14 -06:00
JosiahWI ffd5364533
Remove constexpr from readFloat 2023-01-27 16:17:14 -06:00
JosiahWI 46148bbf61
Load vertex coordinates from glTF buffer 2023-01-27 16:17:14 -06:00
JosiahWI 48751c15f6
Remove quotes around CMake list variables
Quotes around library or include path variables break their behavior
when they are list. They've now been removed, and this should fix the
MSVC build.
2023-01-27 16:17:13 -06:00
JosiahWI df5a413083
Test invalid JSON
Also converted all .cpp and .h line endings to CRLF in this commit.
2023-01-27 16:17:13 -06:00
JosiahWI 4feaf17871
Specify all source fools directly on IrrlichtMt 2023-01-27 16:17:08 -06:00
JosiahWI 60e70c3cc5
Update vertex test for coordinate system
This is also the first working version of the mesh. I successfully
loaded it in Minetest.
2023-01-27 16:16:18 -06:00
JosiahWI 3cb592369d
Test case when file is nullptr 2023-01-27 16:16:18 -06:00
JosiahWI 336aa204fb
Test that minimal triangle has correct vertices 2023-01-27 16:16:17 -06:00
JosiahWI 4f5588e7e8
Test that minimal triangle returns some mesh 2023-01-27 16:16:17 -06:00
JosiahWI 880cbbbb5e
Do not use Ninja after all 2023-01-27 16:16:16 -06:00
JosiahWI 1ee860d903
Go back to make command 2023-01-27 16:16:16 -06:00
JosiahWI af31bcef26
Fix compat with old CMake CLI 2023-01-27 16:16:15 -06:00
JosiahWI 99ad4f3472
Fix path to tests in CI and use Ninja 2023-01-27 16:16:15 -06:00
JosiahWI 11a656ab31
Run tests in Linux GL CI build 2023-01-27 16:16:14 -06:00
JosiahWI 21ce3d9657
Add test file for glTF mesh loading 2023-01-27 16:16:14 -06:00
JosiahWI 4860523223
Add GLTF mesh file loader 2023-01-27 16:16:03 -06:00
JosiahWI 520569c1e3
Do CMake right 2023-01-27 16:14:40 -06:00
JosiahWI 15e589810b
Export tinygltf target 2023-01-27 16:14:39 -06:00
JosiahWI f8a91087e6
Add tinygltf library 2023-01-27 16:14:34 -06:00
lhofhansl 8f13ae81e5
Merge pull request #154 from lhofhansl/skinned
Avoid reskinning joints for animated meshes twice for each frame.
2023-01-12 11:02:52 -08:00
Lars 3de3ff524a Avoid reskinning joints for animated meshes twice for each frame. 2023-01-07 16:59:02 -08:00
sfan5 7d3142b969 Remove leftover code from software rendering 2023-01-02 21:21:53 +01:00
sfan5 a9230e5f49 Delete profiler 2023-01-02 21:05:07 +01:00
sfan5 b5a6dc0a15 Delete leak hunter 2023-01-02 20:37:18 +01:00
sfan5 ce0d29df93 Update workflow to address deprecations 2022-12-31 12:30:10 +01:00
x2048 2ae816b5a6
Use swap_control from MESA and EXT before SGI (#151)
SGI extension does not support interval == 0 (disabling VSync)
2022-12-29 23:42:52 +01:00
x2048 61af99adfa Use swap_control from MESA and EXT before SGI
SGI does not support disabling vsync (interval == 0)
2022-12-29 22:48:36 +01:00
SmallJoker afbe41019c CGUITabControl: Center selected tab whenever possible
This greatly improves the navigation speed by clicking through the tabs
without losing track of the current scroll position.
2022-12-23 20:07:15 +01:00
sfan5 05a00a8d91 Completely remove irrAllocator 2022-12-23 19:56:21 +01:00
sfan5 07fd32da50 Replace core::string implementation with std::basic_string 2022-12-23 19:17:08 +01:00
sfan5 735af8eec6 Add missing string tests 2022-12-23 19:17:08 +01:00