Skip to content

Add orientations to ray trace#25

Merged
robertgoss merged 4 commits intomainfrom
gossr/orientation
Feb 4, 2025
Merged

Add orientations to ray trace#25
robertgoss merged 4 commits intomainfrom
gossr/orientation

Conversation

@robertgoss
Copy link
Collaborator

Currently we can position objects but we can't orient them.

This adds the ability to add orientation components and gets the raytracer to respect them.

We update the scene to rotate the boxes around the y axis to look pretty.

There is some overlap in functionality added for the other 2 PRs added.

Copy link
Owner

@thomas-gale thomas-gale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome.

I think we can update the camera's arcball impl to possibly use the same rotmat code (I'll need to double check if this makes sense).

@thomas-gale
Copy link
Owner

thomas-gale commented Feb 3, 2025

Ok, I realise that your comment on overlap means a couple of mergey things to resolve, I'll take a look.

@robertgoss robertgoss merged commit 376e8cf into main Feb 4, 2025
3 of 4 checks passed
@robertgoss robertgoss deleted the gossr/orientation branch February 4, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants