DOI-USGS/ISIS3

Embree DSK Model Issues

Opened this issue · 0 comments

ISIS version(s) affected: 3.5.0+

Description
When embree loads a DSK into it's point cloud there seems to be some issue with polygon rotation relative to other shape models that load the same triangle/point mesh (mainly bullet). Images can be found here:
https://archives.esac.esa.int/psa/ftp/MARS-EXPRESS/HRSC/MEX-M-HRSC-3-RDR-EXT2-V4.0/DATA/5270/

The DSK used can be found here: $ISISDATA/base/dems/PHOBOS_K275_DLR_V02.bds

How to reproduce
Load any image that uses a DSK as the underlying shape model and set your ray tracing engine to Embree. Then project the image onto the surface. The result should be an oddly tessellated projection where the triangular facets of the DSK are visible in the projection.

Possible Solution

Additional context
Bellow is a screenshot of the issue. The left is an image projected using embree and the right is an image projected using bullet.

Screenshot 2024-08-16 at 10 23 36 AM