Skip to content

Rust future improvements #5

@chuanhao01

Description

@chuanhao01

To be done after the next week

  • Learn mocking for tests
    • Examples being mocking the Rand crate
    • Also other complicated structs (but this might not be needed with no coverage)
  • Adding a CLI tool to specify output file name
  • Adding a way to serialze worlds into json
  • Adding a way to load worlds from json (could be better other format)
  • Adding a way to read camera params from json
  • Adding GPU support (maybe)
  • Get seeded runs for reproducibility
    • Compare to see if BVH and Vec implementation of hit gives same output
  • Clean up Display and Debug of the different structs

Code

  • Add a Transform Struct that takes in any Transformation Trait Object (To share logic between different transformations like Rotation and Translation)
  • Experiment with a 3DAxis Enum to select different axis based on the Enum

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions