Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement module: geom #5

Open
FreddyWordingham opened this issue Aug 2, 2021 · 3 comments
Open

Implement module: geom #5

FreddyWordingham opened this issue Aug 2, 2021 · 3 comments
Assignees

Comments

@FreddyWordingham
Copy link
Member

Ray-tracing structures and traits.

@FreddyWordingham FreddyWordingham self-assigned this Aug 2, 2021
@FreddyWordingham FreddyWordingham changed the title Implement geom module Implement module: geom Aug 2, 2021
@sammorrell
Copy link
Member

sammorrell commented Oct 29, 2021

My initial objective for this is to implement enough to implement the wavefront module and get basic .OBJ file loading in place for geometry / mesh loading.

To accomplish this, I will need to port the following dependencies in the geom module:

  • geom::Mesh
  • geom::SmoothTriangle

which themselves rely upon:

  • geom::properties
    • Collide
    • Emit
    • Trace
    • Transformable
  • geom::shape
    • Cube
    • Triangle
  • geom::rt
    • Ray
    • Side
  • ord::list::az::greek

So, my objective is to port these primitives across to support the implementation of the wavefront module. I note that these are likely to depend upon primitives from math, such as Pos3 whose name / implementation may have changed between codebases.

@sammorrell sammorrell self-assigned this Oct 29, 2021
@sammorrell
Copy link
Member

sammorrell commented Nov 29, 2021

As of commit 186267f I have migrated the modules that I mentioned in the previous commit. Now I just need to add documentation and unit tests for these libraries.

To keep track of this progress:

  • geom::properties
    • Collide
    • Emit
    • Trace
    • Transformable
  • geom::shape
    • Mesh
    • SmoothTriangle
    • Cube
    • Triangle
  • geom::rt
    • Ray
    • Side
  • ord::list::az::greek

@sammorrell
Copy link
Member

I have done a a first pass at most of the documentation and unit tests in this module, however I need to now add the unit tests for each of the implementations for the geom::properties and geom::rt traits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants