-
Notifications
You must be signed in to change notification settings - Fork 0
ray tracing #45
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
Merged
Merged
ray tracing #45
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
6b232f9
fix compile errors from new nightly zig
btipling 14aa3a1
Stubbed out a compute shader scene
btipling 5256613
refractor buffer
btipling 7a964da
temp rename for casing
btipling 4c83744
renaming
btipling fd8b2c0
fix the long names
btipling 57c67b7
ok this is nicer
btipling be2b086
data
btipling 1bdbe66
Add compute shader
btipling c705dfa
compute just once
btipling 39d61c6
stubbed out ray casting
btipling 27a276a
set up ray casting scene
btipling 12cbbeb
okok
btipling 9052678
ok?
btipling 7013e93
this ain't right
btipling 34fa1d8
this is correct
btipling 046beb8
fix renderdoc
btipling 937350e
hey it works
btipling 534347f
use ubo and stuff
btipling 71c1575
a thing renders
btipling 7c3bd8e
cool nobody cares
btipling 98e7da6
ok I have a sphere though
btipling d51cb3f
let's try this
btipling 84140de
Updating
btipling 3a51651
sphere radius
btipling 6fa340b
hrm
btipling 222a4ad
it works
btipling 17f40f6
lol bugs
btipling 410e36e
what is 0 based indexing
btipling 63fc567
need bigger and better
btipling 0973170
have one trick
btipling 7a529cc
add lighting stuff
btipling 9e5d035
adding some stuff
btipling 775d749
adding lighting and camera
btipling db2b9c0
well not crashing
btipling 51acc48
better defaults
btipling 3732e11
lol light
btipling 4fa7c51
where is the specular???
btipling fd11428
lighting
btipling 3441adf
add a shadows image
btipling a6b7742
shadows
btipling ebe2a14
add rotation
btipling 5f3cccc
add rotation
btipling 741a0a5
fix light position
btipling 3204907
better
btipling d0ed0b2
set up to debug
btipling c5e6cbc
typo
btipling 0d4105a
Add a fifth scene
btipling 79b3bfe
getting ready for textures
btipling 3d428ed
earth texture
btipling 57491c7
progress
btipling 1658ce5
textures work
btipling c108b1f
adding a cubemap scene
btipling 1c667c4
cool
btipling 8534e1b
skybox progress
btipling a900c5a
this isn't right
btipling f89a2e1
spacing
btipling 099e500
ok
btipling 588de5d
well, that's a skybox
btipling 9d3dc97
well I hope this works
btipling 8b1e21b
skybox
btipling f5a6c5e
start on the plane thingy
btipling 5e78466
plane works
btipling 8d512e1
let's goooo
btipling 2ca5dfd
add reflection
btipling c2dea14
add a 9th image
btipling cda253c
refraction
btipling File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Optimize texture setup for write-only usage
The current implementation includes several operations that are unnecessary for a write-only texture used in ray tracing:
Consider this optimized version:
📝 Committable suggestion