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
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
1b9d3ca502
Test for correct vertex indices
2023-01-27 16:17:15 -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
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
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
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
DS
1579ce2740
SDL: implement cursor icon API ( #135 )
2022-11-12 15:52:39 +01:00
Andrei E
a549d0bfed
Add setRelativeMode for SDL driver ( #123 )
2022-10-24 21:19:11 +02:00
sfan5
cac4e62852
Fix buffer overflow in COBJMeshFileLoader
2022-10-24 11:07:51 +02:00
Lars Müller
e46ab74859
Fix line drawing: Explicitly draw both first & last pixel ( #110 )
2022-10-16 23:47:51 +02:00
DS
57705d57cf
SDL: Always set X, Y, Shift and Control in mouse input events
2022-10-16 17:42:15 +02:00
sfan5
2709c937d9
Fix SDL device to work with null driver
2022-10-15 11:13:20 +02:00
JosiahWI
59fc4401f1
Replace _IRR_OVERRIDE_ macro with override keyword
...
The commit also establishes a precedent of leaving off the `virtual`
keyword in overrides. Although not strictly necessary, I believe this is
good for readability because it makes it clear it is an override and not
a pure virtual function, and it helps keep line lengths shorter. We
should move towards eliminating the macro altogether, but the definition
has been left in with a note on deprecation so that in-progress work
will not suffer merge conflicts.
2022-10-15 01:09:09 +02:00
Riceball LEE
1128d9deab
win32: use the unicode window instead of ansi window ( #138 )
2022-10-14 15:52:10 +02:00
Tobias Frost
1cf0f3bef0
Fix typo in CXMeshFileLoader.cpp ( #133 )
...
This patch was provided from J. Puydt to Debian.
Origin: https://salsa.debian.org/games-team/minetest/-/blob/master/debian/patches/fix-typos.patch
2022-09-21 10:47:19 +02:00
sfan5
e9f205f952
Avoid using XIWarpPointer on certain setups where it's broken
...
fixes minetest/minetest#12697
2022-09-12 16:20:31 +02:00
Herman Semenov
d733e03430
Fix glHint parameter, type size and add more null checks ( #130 )
2022-09-02 08:40:02 +02:00
savilli
f0766c845f
Fix crash in COGLES1Driver ( #128 )
2022-08-22 19:12:40 +02:00
sfan5
f6ec00e1c4
Include revision in SOVERSION for (in)compatibility checks
2022-07-21 20:04:34 +02:00
sfan5
91edd214aa
Enable XInput2 by default (and improve CMake detection)
...
closes #73
2022-07-18 21:42:43 +02:00
sfan5
538c9e5cde
Drop gamma ramp code
...
We definitely won't be wanting to set the gamma for the entire display in the future.
2022-07-18 21:22:38 +02:00
ndren
67c0cb5740
Support Unicode characters properly in SDL2 ( #114 )
2022-07-17 12:08:37 +02:00
sfan5
a7b306f702
Drop Console and Framebuffer device
...
fbdev is long legacy and the console was just an ASCII art gimmick
2022-07-09 23:53:04 +02:00
sfan5
074e81f78f
Stop dlopening libGL(ESv2).so
...
GLX/EGL are supposed to abstract exactly this away,
this is a bad hack at best and might totally break stuff at worst.
2022-07-09 23:03:53 +02:00