emaame
22c8d97b54
Support OBJ specified only a part of vertex colors
...
The omitted vertex colors are treated as (0, 0, 0, 1).
e.g
v 0.0 0.0 0.0
v 0.0 0.0 1.0 0.0 0.0 0.0
v 0.0 1.0 0.0
v 1.0 0.0 0.0 1.0 0.6 0.3
v 1.0 1.0 0.0
2023-06-17 16:31:04 +09:00
Kim Kulling
3a09fd0c85
Fix review finding
...
Test with glossiness disabled and enabled.
2023-05-23 09:50:20 +02:00
Kim Kulling
e947471549
Merge branch 'master' into refactor/KHR_material_specular
2023-05-22 09:49:01 +02:00
Kim Kulling
f3e5a4835d
Merge branch 'master' into kimkulling/enable_export_for_fuzzing
2023-05-15 09:25:56 +02:00
Kim Kulling
9d6b32f5c5
Update: Enable export for fuzzer tests
2023-05-15 09:18:30 +02:00
Kim Kulling
1243325f10
Merge branch 'master' into kimkulling/refactoring_geoutils
2023-05-04 21:10:00 +02:00
Kim Kulling
d58201a579
Refactoring: Reuse code from GeometryUtils
2023-05-04 00:00:52 +02:00
Adam Beili
e193220ad8
Merge branch 'master' into refactor/KHR_material_specular
2023-04-06 02:42:18 +02:00
Kim Kulling
19ff57a6c3
Merge branch 'master' into MemoryOptimizationForGLTFWithSharedAttr
2023-04-03 11:28:10 +02:00
Adam Beili
8ac0af5c58
.
2023-03-26 17:13:16 +02:00
Adam Beili
83053f3d56
Made usePbrSpecGloss a exportproperty, fixed mat_specular to spec
2023-03-26 16:55:38 +02:00
Turo Lamminen
6832aa227a
Add more DXF files to unit tests
2023-03-24 11:32:06 +02:00
Turo Lamminen
bed2cf1a23
Add more BVH files to unit tests
2023-03-24 11:32:06 +02:00
Turo Lamminen
e8d4a11af5
Add more 3DS files to unit tests
2023-03-24 11:32:06 +02:00
Turo Lamminen
0e657b575b
Add more 3D files to unit tests
2023-03-24 11:32:06 +02:00
Turo Lamminen
5ddd18d1c7
Add more AMF unit tests
2023-03-22 12:06:30 +02:00
Turo Lamminen
65440f17a1
Add more ASE model unit tests
2023-03-21 12:09:27 +02:00
Turo Lamminen
48d89622ee
Use ASSERT_NE to check that scene has loaded
...
EXPECT_NE tries to continue so it ended up dereferencing
null pointers and crashed.
2023-03-21 11:36:49 +02:00
Marc-Antoine Lortie
25ab05eb49
Replace typedef by using.
2023-03-14 09:17:39 -04:00
Marc-Antoine Lortie
054dacd068
Improved comments.
2023-03-13 19:07:14 -04:00
Marc-Antoine Lortie
7bc4c12956
Simplified HL1 MDL nodes tests.
2023-03-13 19:07:13 -04:00
Marc-Antoine Lortie
d500f60490
Adjust emptyBonesNames test.
2023-03-13 19:06:18 -04:00
Marc-Antoine Lortie
3c2a425869
Added a test to validate HL1 MDL bone hierarchy.
2023-03-13 19:06:18 -04:00
Florian Born
8176c6a0e4
Adjusting the unit tests to pass new gltf
2023-03-10 18:36:43 +01:00
Turo Lamminen
b534584198
Improve unit tests which load subdivision models
2023-03-09 14:33:43 +02:00
Turo Lamminen
e8f0eb930d
Fix loading binary LWO files
2023-02-24 14:40:27 +02:00
Turo Lamminen
bb5a6abae0
Add more LWO files to unit tests
2023-02-24 12:43:06 +02:00
Kim Kulling
3ad67771fe
Add missing pod types.
2023-02-18 17:09:14 +01:00
Matthias Möller
db72c6ee38
When "getNextBlock" was called after "getNextLine", the pointer could still on the newline.
...
The pointer to a newline could not advance enough, when the line ended with \r\n. The resulting buffer was correct, as the buffer range went from <start> until \r, but that the pointer increased by just 1 could lead to the problem that the next pointer points at \n, which is still part of the newline and therefore, "getNextBlock" got 1 byte too much.
Refs Issue #4871
2023-02-04 15:16:22 +01:00
Turo Lamminen
9453342491
Re-enable Terragen loader unit test
2023-02-03 11:45:11 +02:00
Turo Lamminen
a2273df48e
Unit test warning fixes
...
GCC was warning about possibly uninitialized variables. Initialize them
and use values which are nonzero and distinct from each other and any
real value passed to any set method. This should prevent any false positives
from zero initialization.
2023-02-02 14:07:16 +02:00
Krishty
3d3e856925
Trim Trailing Whitespace
2023-01-16 09:12:35 +01:00
sfjohnston
25f0146f44
sprintf to snprintf with known MAXLEN for buffer.
2022-12-28 12:32:11 -08:00
Kim Kulling
a8e50be781
Refactoring: Move asserthandler header to include
2022-12-23 16:19:39 +01:00
Kim Kulling
f8bb7704ad
Fix: MAke quaternion check in unittest more robust
...
Just add an epsilon test by using the correct comparator from gtest.
2022-12-02 09:43:59 +01:00
Aaron Gokaslan
ccfb175460
Apply various clang-tidy checks for smartprs and modern C++ types
2022-11-08 11:03:55 -05:00
Ralf Habacker
3705336467
Fix build error: ‘temp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
...
Fixes #4753
2022-10-13 08:30:04 +02:00
felix
0be5c567c9
FIX: C++ std::tuple constexpr initial list on old compiler [cont 1]
2022-09-29 23:34:23 +08:00
Kim Kulling
816b8e6156
Update utglTF2ImportExport.cpp
...
Needed some change of scenery and optimized this a little bit.
2022-09-29 16:48:15 +02:00
feishengfei
789168ba31
FIX: C++ std::tuple constexpr initial list on old compiler
2022-09-29 09:38:40 +08:00
Kim Kulling
9d797c1489
Merge branch 'master' into fix-version
2022-09-18 19:11:34 +02:00
Kim Kulling
704a187c90
FIX: Fix not initialized enums in unittest.
2022-09-18 18:10:56 +02:00
Kim Kulling
34eaf2d092
FIX: Initialize uninitialized enum in unittest.
2022-09-18 17:36:21 +02:00
Kim Kulling
f59dd695c8
FIX: try to undefined behaviour by static_cast.
2022-09-18 16:03:54 +02:00
Bernd Waibel
8ce6f5ad27
Adjust cmake version
...
Closes: https://github.com/assimp/assimp/issues/4729
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2022-09-17 15:21:57 +02:00
Kim Kulling
6a1a7c43cc
Update utMaybe.cpp
2022-09-08 19:32:42 +02:00
Kim Kulling
7116f46672
Add missing file
2022-09-07 21:28:04 +02:00
Aaron Gokaslan
411171fa45
Apply some more modernize-use-emplace
2022-09-02 11:20:02 -04:00
Aaron Gokaslan
e3b01e10db
apply fixes to more headers
2022-09-01 12:28:45 -04:00
Aaron Gokaslan
4c6652f5b0
Add a handful of missing fixes
2022-09-01 11:37:53 -04:00