FS#76802 - [embree] Wrong ray intersection test but correct with official version
Attached to Project:
Community Packages
Opened by kikitte (kikitte) - Sunday, 11 December 2022, 15:35 GMT
Last edited by Toolybird (Toolybird) - Friday, 20 January 2023, 02:09 GMT
Opened by kikitte (kikitte) - Sunday, 11 December 2022, 15:35 GMT
Last edited by Toolybird (Toolybird) - Friday, 20 January 2023, 02:09 GMT
|
Details
Description:
There is a small program provided by the embree official(https://www.embree.org/api.html#), which performs a ray-triangle intersection using the Embree API. However it reports "No Intersection" with the embree package installed from pacman which is incorrect. And it is ok if we use the official release of embree(https://github.com/embree/embree/releases/download/v3.13.5/embree-3.13.5.x86_64.linux.tar.gz). They are both the same version: 3.13.5. Additional info: * embree 2.13.5 Steps to reproduce: 1. download two files in an empty folder: https://www.embree.org/api_examples/hello_embree/hello_embree.cpp & https://www.embree.org/api_examples/hello_embree/CMakeLists.txt 2. cmake -B build && cmake --build build 3. ./build/hello_embree # 'No Intersection' 4. LD_LIBRARY_PATH=/home/kikitte/Downloads/embree-3.13.5.x86_64.linux/lib/ ./build/hello_embree # Intersection at t = 1 Here LD_LIBRARY_PATH specific the local directory contains the libembree3.so.3 library, which is downloaded from https://github.com/embree/embree/releases/download/v3.13.5/embree-3.13.5.x86_64.linux.tar.gz |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 20 January 2023, 02:09 GMT
Reason for closing: Fixed
Additional comments about closing: embree 3.13.5-2
Friday, 20 January 2023, 02:09 GMT
Reason for closing: Fixed
Additional comments about closing: embree 3.13.5-2
Finally, Should we disable EMBREE_RAY_MASK by default? I don't know why it is set to ON in the PKGBUILD file.