Zhicheng Wang
376a8ea54c
replace explicit usage of mimalloc to overall override of new/delete by mimalloc;
fallback _mp to default containers;
replace usage of malloc/free to new/delete
1 day ago
Zhicheng Wang
6dac75c752
massive update
6 days ago
Zhicheng Wang
79c835c06a
fix wrong normal direction of bottom plane in cylinder
5 months ago
Zhicheng Wang
811bcfec28
provides a more dedicated chain post processing
6 months ago
mckay
15d970670d
fix: error of incrrect plane of cylinder, key bug is the wrong sequence of {identity_model_matrix_ptr, plane_to_z_model_matrix_ptr, plane_to_z_pos_1_model_matrix_ptr};
6 months ago
Zhicheng Wang
70a08acb19
fix error occured by creating primitives;
minor change to primitive process framework
6 months ago
Zhicheng Wang
292cf6ffb8
more structured primitive description with improved initialization method;
maybe ECS framework can be used to gain more efficiency, but it's just fine for now
7 months ago
mckay
2046b9ba6a
Revert "fix: Make get_identity_local_to_world virtual to support primitives with multiple subfaces (e.g., cylinder)."
This reverts commit f0e2d2b204 .
8 months ago
mckay
fdce50916f
fix: Make get_identity_local_to_world virtual to support primitives with multiple subfaces (e.g., cylinder).
Note: Cylinder's side surface defines its AABB, and z-axis scaling does not affect its radius.
Degeneracy checks only consider x/y directions (first two rows of the transform matrix), since z scaling does not change the essential geometry.
TODO: Consider redefining cylinder so the identity transform is always the first subface.
8 months ago
Zhicheng Wang
e7e7ce799a
first available version of v2
11 months ago