Files
assimp/code/AssetLib
DIGITAL IMAGE DESIGN 6fa9d09a97 AC: Support Double-Sided Faces (#6252)
* AC: Support Double-Sided Faces

The AC format marks double-sided SURF elements with the 0x20 flag, which Assimp ignored. This commit adds support for double-sided faces.

On encountering a double-sided face via the flag mentioned above, the front face is generated as usual but is then duplicated. The winding order of the duplicate is flipped to form a back face. Vertices are duplicated too so that back faces work correctly with normal vector generation and face smoothing.

* Add test file

* Simplify test case

---------

Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2025-07-29 13:09:30 +02:00
..
2025-07-28 17:00:45 +02:00
2025-07-28 17:00:45 +02:00
2025-07-29 13:09:30 +02:00
2025-07-28 17:00:45 +02:00
2025-07-28 17:00:45 +02:00
2025-03-26 00:12:55 +01:00
2025-03-27 11:13:44 +01:00
2025-03-26 00:12:55 +01:00
2025-07-28 17:00:45 +02:00
2025-03-27 11:13:44 +01:00
2025-03-27 11:13:44 +01:00
2025-07-28 17:00:45 +02:00
2025-07-28 17:00:45 +02:00
2025-03-27 15:08:21 +01:00
2025-03-27 11:13:44 +01:00
2023-11-12 21:09:33 +01:00
2025-07-28 17:00:45 +02:00
2025-07-28 17:00:45 +02:00
2025-03-27 15:08:21 +01:00
2025-03-05 21:37:47 +01:00
2025-03-27 15:08:21 +01:00
2025-07-28 17:00:45 +02:00
2025-03-27 11:13:44 +01:00
2025-03-05 21:37:47 +01:00
2025-03-26 00:12:55 +01:00
2025-03-05 21:37:47 +01:00
2025-03-05 21:37:47 +01:00
2025-03-26 00:12:55 +01:00
2025-03-26 00:12:55 +01:00
2025-03-05 21:37:47 +01:00
2025-07-28 17:00:45 +02:00
2025-03-26 00:12:55 +01:00
2025-03-26 00:12:55 +01:00
2025-03-26 00:12:55 +01:00
2025-07-28 17:00:45 +02:00
2025-05-16 14:18:37 +02:00
2025-03-27 15:08:21 +01:00
2025-03-26 00:12:55 +01:00
2025-07-28 17:00:45 +02:00
2025-07-28 17:00:45 +02:00