mckay
022a8b67b5
z
1 month ago
mckay
aaf8565e96
refactor(cylinder_face): use geometric hash based on world_to_local transform
Instead of relying on object identity or raw transform parameters, the hasher
now uses intrinsic geometric properties to determine cylinder equivalence.
The hash is computed from:
- G = R^T * R : encodes the cylinder's cross-sectional metric and axis direction
- v = R * d : encodes the axial offset in the radial plane
where R is the top-left 2x3 submatrix of the world_to_local linear part,
and d is its translation vector. This ensures that two cylinder faces
with the same shape, orientation, and central axis (even if parameterized
differently) produce the same hash.
1 month ago
mckay
c139aadb9c
fix: replace local_to_world matrix usage with fetch_aabb in mark_primitive_boundings
1 month ago
mckay
df7f80a350
fix: refactor translation handling in apply_transform to use Eigen::Translation3d
1 month ago
mckay
3a97488f8e
Revert "fix: Make get_identity_local_to_world virtual to support primitives with multiple subfaces (e.g., cylinder)."
This reverts commit f0e2d2b204
.
1 month ago
mckay
753adc4bf4
fix: update matrix references in hasher for cylinder and plane to use local_to_world. Hash of plane changed to col 0 and 3
1 month ago
mckay
f0e2d2b204
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.
2 months ago
mckay
2c5729946b
Revert "fix: enhance logging in apply_transform for scale and translation operations"
This reverts commit 82ade709c7
.
2 months ago
mckay
82ade709c7
fix: enhance logging in apply_transform for scale and translation operations
2 months ago
mckay
ed2f8603d9
Merge branch 'V2-origin' into test-three-planes-intersection
2 months ago
Zhicheng Wang
1c8095fd29
fix error of transforming cylinder
2 months ago
mckay
8065849bb2
fix: update logic in judge_sign_by_subface_sign to use bitwise OR for combining signs
2 months ago
mckay
1c390339cf
fix: correct memory allocation for faces in generate_polymesh function
2 months ago
mckay
d8f058e3c4
fix: update filter_active_vertices call to use iso_pts for vertex processing after cherry-pick commit that updates filter_active_vertices()
2 months ago
mckay
c45be410ca
fix: update filter_active_vertices function signature and logic for vertex processing
2 months ago
mckay
a4d06c5e6e
fix: correct logical operations in filter_cells_by_boolean for cell signs
2 months ago
mckay
bd8a42fefd
fix: correct memory allocation for faces in generate_polymesh function
2 months ago
mckay
3678d5ba1c
fix: refactor export_halfpatch_obj and export_obj functions for improved readability and functionality
2 months ago
mckay
5ba0349fb6
fix: update filter_active_vertices function signature and logic for vertex processing
2 months ago
mckay
b3e2aacffc
fix: correct logical operations in filter_cells_by_boolean for cell signs
2 months ago
mckay
b97329b7cd
Merge branch 'V2-origin' into test-three-planes-intersection
2 months ago
mckay
4b0126efce
fix: add debug output for subface signs in transform_subface_to_primitive_labels
2 months ago
Zhicheng Wang
055f67672a
Merge branch 'V2-origin' of http://118.195.195.192:3000/ZCWang/ImplicitSurfaceNetwork into V2-origin
2 months ago
Zhicheng Wang
10f309c996
fix logical error of cylinder's plane
2 months ago
mckay
805c82903f
fix: update logic in judge_sign_by_subface_sign to use bitwise OR for combining signs
2 months ago
mckay
90d6e57f5d
fix: update color assignment logic in export_halfpatch_obj for improved variability
2 months ago
mckay
260acc1575
feat: implement export_halfpatch_obj function to generate OBJ and MTL files for half-patches
2 months ago
mckay
ab825f8f53
do&issuse:error in judge_sign_by_subface_sign when subface is cylinder, all cells considered false (in or out )
2 months ago
mckay
1e98097723
fix: streamline shell_to_cell assignment by removing redundant resizing and processing
2 months ago
mckay
1672bc41f2
fix: update filter_cells_by_boolean to handle empty stack and assert parent index correctly
2 months ago
mckay
45da454bfc
fix: update filter_cells_by_boolean to handle empty stack and assert parent index correctly
2 months ago
mckay
ebd090ddb8
fix: adjust shell_to_cell resizing and assignment order for clarity,shell_to_cell will be processed not only when components.size() != 1
2 months ago
mckay
3711e7dc0b
refactor: change vertex_infos parameter from Eigen::Ref to Eigen::MatrixXd& in filter_tet_by_subface.
error info Eigen::Ref<Eigen::MatrixXd> can't reshape
2 months ago
Zhicheng Wang
b864ef0aa3
fix some internal error
2 months ago
mckay
821eb8f8b7
Merge branch 'V2-origin' of ssh://118.195.195.192:10022/ZCWang/ImplicitSurfaceNetwork into test-three-planes-intersection
2 months ago
Zhicheng Wang
ff5dd4f7d9
fix index error
2 months ago
mckay
b15f569902
Merge branch 'V2-origin' into test-three-planes-intersection
3 months ago
Zhicheng Wang
874052cd9c
try to fix error on resizing Eigen::MatrixXd
3 months ago
mckay
6ebeb13fe5
add launch configuration for debugging test_frontend
3 months ago
mckay
42c0b2a5e3
zanc
3 months ago
Zhicheng Wang
edd71b34be
apply support for topo ray shooting under sparse terahedron distribution
3 months ago
Zhicheng Wang
81edca713d
revert to dense sample for primitive generation
3 months ago
Zhicheng Wang
a11003f44f
revert to dense sample
3 months ago
Zhicheng Wang
56b5259a37
fix header distribution of headeronly project
3 months ago
Zhicheng Wang
2e56bb6f18
change mimalloc to static library
3 months ago
Zhicheng Wang
e7e7ce799a
first available version of v2
5 months ago
Zhicheng Wang
20edb662a9
fully implemented refactoring
now it can pass compile successfully
10 months ago
Zhicheng Wang
03bcdcb654
refactor the primitive_process
10 months ago
Zhicheng Wang
19f2725720
optimized evaluation function of extrudes
10 months ago
Zhicheng Wang
abdd04adcc
fixed a few of bugs;
added manual release of blobtree;
distinguished copy/move construct of primitive node
10 months ago