Commit Graph

399 Commits

Author SHA1 Message Date
ceb53be9e3 Merge branch 'master' into opengl3 2023-03-03 22:01:30 +03:00
df28a4cc46 Fix ifdefs around includes in CIrrDeviceSDL 2023-03-03 21:23:07 +03:00
8dd8652f5f Split new GL3/GLES2 drivers
The classes are tiny wrappers currently but should they be customized, they are there
2023-03-03 20:29:36 +03:00
2932065346 Report as OpenGL 3 2023-03-02 03:03:17 +03:00
1326dfbcb1 Error out on unsupported configurations 2023-03-02 02:44:52 +03:00
1bbe341daa Support both OpenGL3 and GLES2 on SDL2 2023-03-02 02:44:52 +03:00
d6716ec31b Support GLES2 2023-03-02 02:41:58 +03:00
620f4869a1 Drop obsolete video drivers 2023-03-02 01:22:04 +03:00
05384fdc5e Unify drawing functions 2023-02-28 00:51:29 +03:00
48270029cd Drop obsolete stuff 2023-02-27 23:36:56 +03:00
c5ce853148 Unify quad drawing 2023-02-27 23:36:47 +03:00
4fba496917 Unify plain image drawing 2023-02-27 21:27:23 +03:00
79fdab0551 Drop obsolete IVideoDriver features 2023-02-27 21:26:46 +03:00
608aa150ff Load extensions the OpenGL 3 way 2023-02-27 20:32:06 +03:00
1f750cd7b2 Add debug handler 2023-02-27 20:31:51 +03:00
8c521939b9 Enumerate extensions in the OpenGL 3 way 2023-02-27 17:41:03 +03:00
cfa8dd7845 Request OpenGL 3.2 2023-02-27 17:39:28 +03:00
01295c9ce6 Add OpenGL3 renderer 2023-02-27 17:05:11 +03:00
5a95b40a0e Reduce IrrCompileConfig usage to files that actually need it 2023-02-22 21:11:12 +03:00
8efd4527f6 Drop _IRR_MATERIAL_MAX_TEXTURES_ 2023-02-22 21:11:12 +03:00
a0e1e39ea7 Drop _IRR_SCENEMANAGER_DEBUG 2023-02-22 21:11:12 +03:00
d8e09f14bd Drop _IRR_COMPILE_WITH_GUI_ 2023-02-22 21:11:12 +03:00
67f852be57 Drop obsolete configuration macros 2023-02-22 21:11:12 +03:00
5a2b807890 Move import/export macros into CMake 2023-02-22 21:11:12 +03:00
06db7b7ab7 Move platform detection to CMake 2023-02-22 21:11:12 +03:00
09e6eeb65b Remove irr::core::hash
Its use of std::unary_function was deprecated.
And it wasn't used anywhere.
2023-02-22 11:43:42 +01:00
839bdc1a65 Fix -Wignored-qualifiers warnings in irrUString.h 2023-02-22 11:43:42 +01:00
ea297196b7 Resolve some -Wreorder warnings 2023-02-22 11:43:42 +01:00
38f18eec56 Drop unused stuff from IrrCompileConfig 2023-02-21 18:16:39 +03:00
DS
5527b9f373 SDL: Use SDL_WINDOW_FULLSCREEN_DESKTOP and allow to maximize+fullscreen at once (#156) 2023-02-20 13:22:28 +01:00
cd3e784534 Refactor SDL input code to fix menu exit (#146) 2023-02-18 16:16:17 +01:00
DS
51dffc416a Add WindowMaximized creation parameter and isWindowMaximized() (#142) 2023-02-06 15:05:44 +01:00
850bf1a949 Register Catch2 tests with CTest 2023-01-31 08:42:35 -06:00
eb77d07f39 Merge pull request #3 from jordan4ibanez/feat/gltf-loader
Fix indices, inverted models, & multiple models failing to load
2023-01-31 07:49:03 -06:00
32906fc867 spaces->tabs 2023-01-30 21:36:53 -05:00
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
94a2dc0ca6 Merge branch 'feat/gltf-loader' into feat/gltf-loader 2023-01-29 18:35:16 -05:00
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
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
a47890d7cb Fix embedded textures causing a model not to load 2023-01-27 20:45:02 -05:00
b47858cf80 Fix segfault from reading bad number of indices 2023-01-27 16:17:20 -06:00
79ffe6b6d8 Update to latest branch of lukka/get-cmake 2023-01-27 16:17:19 -06:00
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
56c4a5a945 Fix reordering warnings 2023-01-27 16:17:18 -06:00
d4eea38a65 Fix aliasing violation when reading primitives 2023-01-27 16:17:18 -06:00
ad9fda174f Remove DESCRIPTION from tinygltf project 2023-01-27 16:17:18 -06:00
25507f196c Switch to fixed branch of lukka/get-cmake action 2023-01-27 16:17:17 -06:00
93b538cb58 Test vertex normals on cube 2023-01-27 16:17:17 -06:00
d90b906d26 Test for texture coordinates on cube 2023-01-27 16:17:16 -06:00
b1260a8927 Scale cube vertices correctly 2023-01-27 16:17:16 -06:00