[MOAB-dev] OBB ray firing questions

Paul Wilson paul.wilson at wisc.edu
Wed Dec 14 20:24:40 CST 2022


Hi Tim,

This is probably a question that Patrick or I are probably best to respond to.  That said, I’ll need to take some time with the code to remind myself how it all works.

Paul

--
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
Paul P.H. Wilson (he/him/his)
Grainger Professor of Nuclear Engineering
Chair, Department of Engineering Physics
o: 608-263-0807, c: 608-469-9615
paul.wilson at wisc.edu<mailto:paul.wilson at wisc.edu>
153 Engineering Research Bldg
1500 Engineering Dr, Madison, WI 53706
Zoom Meeting Room: https://uwmadison.zoom.us/j/6082630807
Zoom Phone Access: +1-929-205-6099, Access code: 6082630807
Computational Nuclear Engineering Research Group<http://cnerg.engr.wisc.edu>



From: moab-dev <moab-dev-bounces at mcs.anl.gov> on behalf of Tim Tautges <ttautges at divergent3d.com>
Date: Monday, December 12, 2022 at 18:19
To: moab-dev at mcs.anl.gov <moab-dev at mcs.anl.gov>
Subject: [MOAB-dev] OBB ray firing questions
Hi all,
  I'm attempting to use OrientedBoxTreeTool to do some ray tracing on a shell of triangles. I'm observing two problems:

  *   When I call OBTT::ray_intersect_triangles, the results come back but are not sorted by distance. Is there some reason they're not?
  *   If I try calling OBTT::ray_intersect_sets, with the variant that does not take an IntRegCtxt argument, the code asserts in RayIntesectsSets::leaf with lastSet == 0, implying that there's some function that should be called before this.

Am I using this tool wrongly? Note, for the first bug above, I tried running obb_test on that same file with the offending ray start/direction, and got the same (unsorted) results.

- tim


More information about the moab-dev mailing list