clayjohn
07546006e8
Fix crash when importing a surface with no UVs after another surface in the same OBJ file that had UVs
2024-09-20 19:29:11 -07:00
Rémi Verschelde
e52cf86661
Merge pull request #94100 from Calinou/obj-import-remove-unused-optimize-mesh
...
Remove unused Optimize Mesh import option from OBJ mesh import
2024-08-16 10:34:16 +02:00
jsjtxietian
eab49cf256
Fix obj's name set in wrong order when importing
2024-07-31 14:50:02 +08:00
Hugo Locurcio
bbf68306c5
Fix error message being printed when importing an OBJ with no surfaces
...
An OBJ with no surfaces is valid, and typically happens when
you import an OBJ mesh with no associated MTL file.
2024-07-08 23:14:52 +02:00
Hugo Locurcio
5ee4100e4c
Remove unused Optimize Mesh import option from OBJ mesh import
...
This option was enabled by default, but it did nothing regardless
of whether it was enabled or not.
2024-07-08 22:58:51 +02:00
A Thousand Ships
a0dbdcc3ab
Replace find
with contains/has
where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
A Thousand Ships
49ae632b7d
Fix import and saving related crashes
...
* Don't add empty mesh to result when importing obj files
* Check for null resources in `ResourceSaver`
2024-04-22 12:13:19 +02:00
jsjtxietian
077e20cd51
Disable mesh compression if vertex position.z is always 0
2024-04-10 11:27:36 +08:00
Rémi Verschelde
8f98ed65f7
Merge pull request #88738 from clayjohn/mesh_compression-tangents
...
Multiple fixes for compressed meshes
2024-02-27 10:17:43 +01:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
clayjohn
781cd27fe4
Avoid singularity when generated tangents and validate that tangents are good enough when using compression
2024-02-23 16:25:26 -08:00
A Thousand Ships
684752e75b
Replace error checks against size
with is_empty
2024-02-09 12:50:15 +01:00
K. S. Ernest (iFire) Lee
1430f0b67d
Add obj importer changes to use ImporterMesh.
2024-01-08 13:57:20 -08:00
Aaron Franke
9753a35c76
Move 3D scene import classes to their own folder
2024-01-04 11:02:49 -06:00