Implicit and explicit representations of geometry are central in computer graphics applications and come with their pros and cons. With surface sampling being faster on explicit representations and spatial queries being faster on implicit representations, finding efficient conversions between them is a highly desirable property. We present TetraCoder, a single resolution hash-free adaptive tetrahedral encoding that links an explicit tetrahedral spatial encoder with an underlying implicit signed distance field (SDF). The resulting hybrid implicit-explicit space is continuous piecewise affine (CPWA) by design, allowing to obtain an exact correspondence between the implicit SDF and the explicit analytic mesh. TetraCoder's design comes with additional perks, in particular: (a) it scales better than multi-resolution encoding methods due to its single resolution optimizable grid, (b) unlike hash-based methods, it is not affected by collisions, (c) it enables fast tetrahedral ray-tracing, geometry and appearance editing, directly through its adaptive tetrahedral scaffold. We demonstrate the versatility of TetraCoder by showing an improvement over state-of-the-art methods on multiple tasks: 2D/3D fitting from images and point clouds, 3D novel view synthesis, 3D reconstruction, and geometry/appearance editing.
Figures & tables
Figure 1. We present TetraCoder , an adaptive tetrahedral encoding for neural fields. Multiresolution hash encoding ( left ) interpolates features on fixed spatial grids at multiple resolutions. Its trilinear interpolation does not produce a piecewise-affine encoding, making analytic mesh extraction impractical. To address that tetrahedral multiresolution hash encoding ( center ) subdivides these grids into fixed tetrahedra and uses barycentric interpolation to obtain a piecewise-affine encoding. TetraCoder ( right ) instead uses a single-level, hash-free encoding defined on an adaptive tetrahedral volumetric mesh. Combined with a piecewise-affine decoder, this representation enables fast analytic mesh retrieval. Unlike other encodings, TetraCoder supports novel view synthesis, scene reconstruction, 3D appearance and geometry editing within a unified framework. Three diagrams compare multiresolution Cartesian hash grids, multiresolution tetrahedral hash grids, and a single adaptive tetrahedral mesh.
Figure 2. Tetrahedral ray tracing. For a sample xj along the ray r(t)=o+td , an adjacency walk (purple) locates the containing cell. Shading highlights the visited cells, while green arrows indicate face normals. Dashed lines illustrate barycentric interpolation of vertex features within the target triangle (a,b,c) . Gray markers denote additional samples along the ray.
Image
Method
PSNR (dB) ↑
Parameters ↓
Albert
Hash
50.31
5.75M
TetraCoder
59.81
3.61M
Summer
Hash
37.94
6.57M
TetraCoder
38.18
4.82M
Pluto
Hash
44.03
23.96M
TetraCoder
48.63
17.27M
Table 1. R1 – Image fitting comparison with Hash Encoding (Instant-NGP). Our method consistently achieves higher PSNR with fewer parameters.
Metric
Method
Mean
CD ↓
TetraSDF L ( THash )
1.718
Ours ( TetraCoder )
1.611
Extract (s) ↓
TetraSDF L ( THash )
2.859
Ours ( TetraCoder )
0.446
Params. (M) ↓
TetraSDF L ( THash )
16.778
Ours ( TetraCoder )
5.221
Table 2. R2 – Surface reconstruction on the Stanford dataset. We compare reproduced TetraSDF (large) with our method using identical geometry supervision and 5,000 training updates. We report Chamfer Distance (CD, ×10−3 ), analytic extraction time in seconds, allocated parameters in millions, intrinsic Delaunay edge compliance (%), and skinny triangles (%).
NeRF Synthetic
DTU
Mean
Method
PSNR ↑
SSIM ↑
CD ↓
PSNR ↑
SSIM ↑
CD ↓
PSNR ↑
SSIM ↑
CD ↓
Tetra-NeRF ( Kulhanek and Sattler, 2023 ) ( Mesh )
29.71
0.948
14.24
27.09
0.905
2.65
28.04
0.927
8.35
NeuMesh++ ( Bao et al., 2025 ) ( Mesh )
32.32
0.955
–
28.39
0.940
–
30.36
0.9475
–
NeuS2 ( Wang et al., 2023 ) ( Hash )
31.58
0.953
4.10
32.14
0.938
0.711
31.86
0.9455
2.4055
Instant-NGP ( Müller et al., 2022 ) ( Hash )
32.75
0.960
4.71
32.27
0.942
1.77
32.51
0.9510
3.2400
Ours ( TetraCoder )
33.27
0.969
3.93
32.34
0.943
0.705
32.81
0.9560
2.3725
Table 3. R3 – Novel-view synthesis appearance and reconstruction accuracy on NeRF Synthetic and DTU. Mean reports the arithmetic average across the two datasets. CD is reported in millimeters.
Figure 3. R3 – Analytic extraction and grid-based extractors on the same frozen Lego field. SSDF measures mesh–field agreement.
Editing %
2D MSE ↓ ( ×10−2 )
3D MSE ↓
TetraCoder
Hash
TetraCoder
Hash
20
0.048
0.536
0.000
0.055
40
0.040
0.655
0.001
0.139
60
0.043
0.942
0.001
0.091
80
0.160
2.221
0.003
0.155
Table 4. R4 – Before–after editing MSE on the unpainted region for 2D and 3D scenes at different amounts of editing.
Figure 4. Qualitative results on T1 : Toy 2D image fitting, T2 : 3D point cloud to mesh, T3 : 3D scene reconstruction from images, T4 : 3D scene editing. TetraCoder can adapt to different decoders, tackling multiple tasks with a single unified representation. Four rows show 2D image fitting, mesh reconstruction from point clouds, novel-view synthesis, and 3D scene editing, including a physics simulation.
D
P
M
CD ↓
PSNR ↑
SSIM ↑
\ding 55
\ding 55
\ding 51
7.185
31.5678
0.959210
\ding 55
\ding 51
\ding 55
7.929
31.2010
0.955343
\ding 55
\ding 51
\ding 51
9.036
31.5586
0.959147
\ding 51
\ding 55
\ding 51
6.534
33.1690
0.968326
\ding 51
\ding 51
\ding 55
7.094
33.2307
0.968409
\ding 51
\ding 51
\ding 51
3.926
33.2647
0.968904
Table 5. Site-update ablation on NeRF Synthetic. D, P, and M denote densification, pruning, and site movement, respectively; ticks and crosses indicate enabled and disabled operations. We report mean CD ( ×10−3 , ↓ ), PSNR (dB, ↑ ), and SSIM ( ↑ ).