Zhicheng Wang
ac6f039f17
first valid version of chain post processing
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
6 months ago
mckay
987d3fb127
fix: replace local_to_world matrix usage with fetch_aabb in mark_primitive_boundings
7 months ago
mckay
03f33d01c4
fix: refactor translation handling in apply_transform to use Eigen::Translation3d
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 .
7 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.
7 months ago
Zhicheng Wang
1c8095fd29
fix error of transforming cylinder
7 months ago
mckay
8065849bb2
fix: update logic in judge_sign_by_subface_sign to use bitwise OR for combining signs
8 months ago
Zhicheng Wang
10f309c996
fix logical error of cylinder's plane
8 months ago
Zhicheng Wang
cb38c20548
change coord/index system of bg mesh to rational fraction (by grid and sub-grid coords);
now topo_ray_shooting should work properly under complex connectivity
10 months ago
Zhicheng Wang
e7e7ce799a
first available version of v2
11 months ago
Zhicheng Wang
20edb662a9
fully implemented refactoring
now it can pass compile successfully
1 year ago
Zhicheng Wang
03bcdcb654
refactor the primitive_process
1 year ago
Zhicheng Wang
19f2725720
optimized evaluation function of extrudes
1 year ago