mckay
b04bfcf403
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 week ago
mckay
987d3fb127
fix: replace local_to_world matrix usage with fetch_aabb in mark_primitive_boundings
1 week ago
mckay
03f33d01c4
fix: refactor translation handling in apply_transform to use Eigen::Translation3d
1 week ago
mckay
2046b9ba6a
Revert "fix: Make get_identity_local_to_world virtual to support primitives with multiple subfaces (e.g., cylinder)."
This reverts commit f0e2d2b204fe749efb782922a068c067063121a4.
1 week ago
mckay
95f6594bb9
fix: update matrix references in hasher for cylinder and plane to use local_to_world. Hash of plane changed to col 0 and 3
2 weeks 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.
3 weeks ago
Zhicheng Wang
1c8095fd29
fix error of transforming cylinder
3 weeks ago
mckay
8065849bb2
fix: update logic in judge_sign_by_subface_sign to use bitwise OR for combining signs
4 weeks ago
mckay
1c390339cf
fix: correct memory allocation for faces in generate_polymesh function
4 weeks 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()
4 weeks ago
mckay
c45be410ca
fix: update filter_active_vertices function signature and logic for vertex processing
4 weeks ago
mckay
a4d06c5e6e
fix: correct logical operations in filter_cells_by_boolean for cell signs
4 weeks ago
Zhicheng Wang
055f67672a
Merge branch 'V2-origin' of http://118.195.195.192:3000/ZCWang/ImplicitSurfaceNetwork into V2-origin
4 weeks ago
Zhicheng Wang
10f309c996
fix logical error of cylinder's plane
4 weeks ago
mckay
1672bc41f2
fix: update filter_cells_by_boolean to handle empty stack and assert parent index correctly
1 month ago
Zhicheng Wang
b864ef0aa3
fix some internal error
1 month ago
Zhicheng Wang
ff5dd4f7d9
fix index error
1 month ago
Zhicheng Wang
874052cd9c
try to fix error on resizing Eigen::MatrixXd
2 months ago
Zhicheng Wang
edd71b34be
apply support for topo ray shooting under sparse terahedron distribution
2 months ago
Zhicheng Wang
81edca713d
revert to dense sample for primitive generation
2 months ago
Zhicheng Wang
a11003f44f
revert to dense sample
2 months ago
Zhicheng Wang
56b5259a37
fix header distribution of headeronly project
2 months ago
Zhicheng Wang
2e56bb6f18
change mimalloc to static library
2 months ago
Zhicheng Wang
e7e7ce799a
first available version of v2
4 months ago
Zhicheng Wang
20edb662a9
fully implemented refactoring
now it can pass compile successfully
9 months ago
Zhicheng Wang
03bcdcb654
refactor the primitive_process
9 months ago
Zhicheng Wang
19f2725720
optimized evaluation function of extrudes
9 months ago
Zhicheng Wang
abdd04adcc
fixed a few of bugs;
added manual release of blobtree;
distinguished copy/move construct of primitive node
9 months ago
Zhicheng Wang
755efd3488
first fully implemented version
10 months ago
ZCWang
2f269105ec
Merge pull request 'bug fix for blobtree' ( #5 ) from blobtree into master
Reviewed-on: #5
10 months ago
wangxiaolong
7d0b9f538d
bug fix for blobtree
10 months ago
Zhicheng Wang
1c360ea3b8
tidy exposed headers;
tidy blobtree_strcture
10 months ago
Zhicheng Wang
aabe5654e1
tidy blobtree
10 months ago
Zhicheng Wang
ece6ba1efa
temporary push
10 months ago
ZCWang
49b65c684b
Merge pull request 'Implement find closest common parent' ( #4 ) from blobtree into master
Reviewed-on: #4
10 months ago
wangxiaolong
7ee7550ce7
Implement find closest common parent
10 months ago
ZCWang
b73c532a65
Merge pull request 'Implement aabb of blobtree' ( #3 ) from blobtree into master
Reviewed-on: #3
10 months ago
wangxiaolong
fd9d3561ec
Implement aabb of blobtree
10 months ago
ZCWang
f8acd3c866
Merge pull request 'Implement blobtree' ( #2 ) from blobtree into master
Reviewed-on: #2
10 months ago
wangxiaolong
8bf3c82b8e
Implement blobtree
10 months ago
ZCWang
3aec50b095
improved implementation of blobtree
10 months ago
ZCWang
84e3fadd35
Merge pull request 'Implement Blobtree' ( #1 ) from blobtree into master
Reviewed-on: #1
10 months ago
ZCWang
f6a98118bb
first valid runtime commit
10 months ago
wangxiaolong
7ce43e8fc3
Implement Blobtree
10 months ago
ZCWang
5cba1ba952
fixed bugs in add_plane, now arrangement can be built successfully;
fixed an index bug in generating tet mesh;
simplified storage of scalar field sign, now it has lower memory consume and can work properly
11 months ago
ZCWang
070b3cb6c6
prev has wrong push
11 months ago
ZCWang
303f4910cb
now 2 vector container should be working properly without logical errors.
11 months ago
ZCWang
a738c5daf8
fix
11 months ago
ZCWang
1d1e53c1bc
fix bugs
11 months ago
ZCWang
3e279b63f8
fixed all bugs within underlyng modules;
stored formatted implicit arrangements data, and it is tested to be read correctly.
11 months ago