Commit Graph

406 Commits

Author SHA1 Message Date
numzero
b279810437 Consolidate import/export attribute definitions 2023-03-06 17:32:03 +03:00
numzero
e484698ba2 Restrict X11 options to X11 device 2023-03-06 14:22:48 +03:00
numzero
5f76be9380 Restore isDriverSupported, but in a cpp file 2023-03-06 14:22:48 +03:00
numzero
6de0afa8b3 Drop ETS_TEXTURE_1
The transformation state itself is still available via ETS_TEXTURE_0+1
2023-03-06 14:22:48 +03:00
sfan5
1d43ea17ca Bump revision 2023-03-05 21:45:09 +01:00
Vitaliy
a6d062ebd9
Apply suggestions from code review
Co-authored-by: sfan5 <sfan5@live.de>
2023-03-04 22:27:43 +03:00
numzero
2e9ed529b1 Restore obsolete constants as they are still used in some code I don’t want to touch 2023-03-03 22:01:50 +03:00
numzero
ceb53be9e3 Merge branch 'master' into opengl3 2023-03-03 22:01:30 +03:00
numzero
df28a4cc46 Fix ifdefs around includes in CIrrDeviceSDL 2023-03-03 21:23:07 +03:00
numzero
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
numzero
2932065346 Report as OpenGL 3 2023-03-02 03:03:17 +03:00
numzero
1326dfbcb1 Error out on unsupported configurations 2023-03-02 02:44:52 +03:00
numzero
1bbe341daa Support both OpenGL3 and GLES2 on SDL2 2023-03-02 02:44:52 +03:00
numzero
d6716ec31b Support GLES2 2023-03-02 02:41:58 +03:00
numzero
620f4869a1 Drop obsolete video drivers 2023-03-02 01:22:04 +03:00
numzero
05384fdc5e Unify drawing functions 2023-02-28 00:51:29 +03:00
numzero
48270029cd Drop obsolete stuff 2023-02-27 23:36:56 +03:00
numzero
c5ce853148 Unify quad drawing 2023-02-27 23:36:47 +03:00
numzero
4fba496917 Unify plain image drawing 2023-02-27 21:27:23 +03:00
numzero
79fdab0551 Drop obsolete IVideoDriver features 2023-02-27 21:26:46 +03:00
numzero
608aa150ff Load extensions the OpenGL 3 way 2023-02-27 20:32:06 +03:00
numzero
1f750cd7b2 Add debug handler 2023-02-27 20:31:51 +03:00
numzero
8c521939b9 Enumerate extensions in the OpenGL 3 way 2023-02-27 17:41:03 +03:00
numzero
cfa8dd7845 Request OpenGL 3.2 2023-02-27 17:39:28 +03:00
numzero
01295c9ce6 Add OpenGL3 renderer 2023-02-27 17:05:11 +03:00
numzero
5a95b40a0e Reduce IrrCompileConfig usage to files that actually need it 2023-02-22 21:11:12 +03:00
numzero
8efd4527f6 Drop _IRR_MATERIAL_MAX_TEXTURES_ 2023-02-22 21:11:12 +03:00
numzero
a0e1e39ea7 Drop _IRR_SCENEMANAGER_DEBUG 2023-02-22 21:11:12 +03:00
numzero
d8e09f14bd Drop _IRR_COMPILE_WITH_GUI_ 2023-02-22 21:11:12 +03:00
numzero
67f852be57 Drop obsolete configuration macros 2023-02-22 21:11:12 +03:00
numzero
5a2b807890 Move import/export macros into CMake 2023-02-22 21:11:12 +03:00
numzero
06db7b7ab7 Move platform detection to CMake 2023-02-22 21:11:12 +03:00
Desour
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
Desour
839bdc1a65 Fix -Wignored-qualifiers warnings in irrUString.h 2023-02-22 11:43:42 +01:00
Desour
ea297196b7 Resolve some -Wreorder warnings 2023-02-22 11:43:42 +01:00
numzero
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
ndren
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
JosiahWI
850bf1a949
Register Catch2 tests with CTest 2023-01-31 08:42:35 -06:00
JosiahWI
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
jordan4ibanez
32906fc867 spaces->tabs 2023-01-30 21:36:53 -05:00
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