star-line

Structure for accelerating line importance sampling
git clone git://git.meso-star.fr/star-line.git
Log | Files | Refs | README | LICENSE

commit 41ab725967951a6dfaea922136fbec61b35895f7
parent 0c1a7f6f42f7d8c86d15aad78e672e1d0ca21a7e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu,  5 Mar 2026 10:48:13 +0100

Add the tree depth to the sln-get tool output

Diffstat:
Msrc/sln_get.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/sln_get.c b/src/sln_get.c @@ -169,6 +169,7 @@ print_descriptor(const struct cmd* cmd) if(res != RES_OK) goto error; printf("#nodes: %lu\n", (unsigned long)desc.nnodes); + printf("depth: %u\n", desc.depth); printf("#vertices: %lu\n", (unsigned long)desc.nvertices); printf("type: %s\n", sln_mesh_type_cstr(desc.mesh_type)); printf("decimation error: %.4e\n", desc.mesh_decimation_err);