[問題] intersect Ray box and Triangle

看板C_and_CPP (C/C++)作者 (Up2u)時間10年前 (2016/02/18 15:40), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) VC++ 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) OpenGL 問題(Question): 想寫ray tracing 目前還在寫ray cast 但是 我的ray和box沒有intersect 程式碼(Code):(請善用置底文網頁, 記得排版) http://codepad.org/8pHHqo9y http://codepad.org/lk5TPsuf 上述兩個是從網路上找到的ray and box intersects 的測試函數 以下是我的完整code https://mega.nz/#!R89w3BzR!ceh3uSMImx2mVF1pr-z76FMRR_sS12P-mPOb6d7KhoA 補充說明(Supplement): 請問有專門討論圖學的專版嗎 如果有人有ray and box intersects 的測試函數 麻煩提供給我 感恩~~ -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.136.228.168 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1455781243.A.539.html
文章代碼(AID): #1MnNLxKv (C_and_CPP)
文章代碼(AID): #1MnNLxKv (C_and_CPP)