[FEATURE] Primitive: Box
- Dominant language
- C++
- Stars
- 12
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
New primitive: Box of arbitrary size -> can be constructed by 6 planes, but would be beneficial to have this kind of setup in order to speed up traversal. Furthermore, setting up a box via planes is cumbersome if done every time a box is needed.
**Describe a possible solution.**
- Create 6 planes which construct the box
- call intersect for such a contsruct
**Describe alternatives you've considered**
Setting up 6 individual planes, which is error prone.
**Needed: **
- [ ] box blazeRT primitive
- [ ] box as embree primitive
- [ ] testing for blazeRT box
- [ ] testing for embree box
- [ ] support in blazertscene
- [ ] support in EmbreeScene
- [ ] testing of scene functions
Contributor guide
Research direction
Locate the blazeRT primitive and Embree primitive entry points, then review blazeRTscene and EmbreeScene for existing primitive integration. Use the requested box construction and intersection behavior as the completion target, and run or add the listed blazeRT, Embree, and scene-function tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100