# Rat tracing accelerator design ###### tags: `Accelerator` ###### tags: @林冠吾 @張凱雋 ## Plan 1. 學習systemC * reference : * https://cfs-vision.com/systemc-tutorial/ * http://mapl.nctu.edu.tw/course/ESL_2008/ 2. 使用systemC做出一些元件,如簡單的PE,dispatcher等 3. 使用systemC把ray tracing 架構建構出來(設計順序: ray generator -> traversal unit -> intersection unit -> finish) * [RAYBOX INTERSECTION TESTING USING DOT PRODUCT-BASED FIXED FUNCTION LOGIC](https://patentimages.storage.googleapis.com/56/fa/05/d8d996ce395021/US9607425.pdf) * [ray box intersection algorithm](https://www.scratchapixel.com/lessons/3d-basic-rendering/minimal-ray-tracer-rendering-simple-shapes/ray-box-intersection) * [ray tracer digital design](https://ntnuopen.ntnu.no/ntnu-xmlui/bitstream/handle/11250/2454588/16736_FULLTEXT.pdf?sequence=1) 5. 在systemC上驗證架構的效能 6. 如還有時間,可以使用verilog build出來,並且在FPGA上模擬 ## 時間規劃 1. **8月底前,學習systemC 以及把ray tracing C++ code的流程以及generate出來的BVH tree檔案如何當成input放入架構中** 2. 9月到12月,會將架構用systemC build出來,並且把input 以及output設計好 ## 會議記錄 * 7/21 * 7/28 ## Reference * [ray tracing algorithm](https://hackmd.io/UGLHYjzVQquEfu45Pfk82w) * [ray tracing microarchitecture](https://hackmd.io/Y3ceEFNtSe-wKWgXksfOCg?both)