-
Notifications
You must be signed in to change notification settings - Fork 13
BxDF tests #165
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
Open
Przemog1
wants to merge
54
commits into
master
Choose a base branch
from
bxdf_unit_tests
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
BxDF tests #165
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
3668d99
check util functions
keptsecret a66dc44
reciprocity test
keptsecret b5d9778
negative value checks
keptsecret 48cc64c
Merge branch 'bxdf_unit_tests' of github.com:Devsh-Graphics-Programmi…
Przemog1 5df264a
fix test orders
keptsecret 983efc3
Merge branch 'bxdf_unit_tests' of github.com:Devsh-Graphics-Programmi…
keptsecret e6e434a
use new param structs for bxdf funcs
keptsecret d494e3d
print more info on error
keptsecret 3305441
Merge branch 'master' into bxdf_unit_tests
keptsecret 3625ad2
fix reciprocity test, adjust comparison
keptsecret 839d42c
fixed reciprocity test
keptsecret a40ba94
test buckets of inf
keptsecret d0d5d93
bucket by polar coords
keptsecret c8f8dae
chi2 test
keptsecret 8ea1538
Merge branch 'master' into bxdf_unit_tests
keptsecret dcc2927
Merge branch 'master' into bxdf_unit_tests
keptsecret 8781cb0
fix chi2 test, beckmann still error
keptsecret 724acd5
add visualization option for chi2 samples
keptsecret e1cbc1a
fixed exr visualization
keptsecret 9387298
use bxdf traits in test, better chi2 vis
keptsecret df07bfd
test config with json
keptsecret de11fe2
Merge branch 'master' into bxdf_unit_tests
keptsecret da1a4ad
fixed json config bugs
keptsecret d7f7a87
smooth dielectric tests
keptsecret 111c11b
fix pcg usage
keptsecret 83d8a92
Merge branch 'master' into bxdf_unit_tests
keptsecret db74fad
update with master
keptsecret f3144f1
refactor according to changes with bxdf
keptsecret 5a9e8b5
added a compile shader test
keptsecret a133452
fix compile test
keptsecret 1bbc59a
expand compile test
keptsecret 800534f
Merge branch 'master' into bxdf_unit_tests
keptsecret 98bd4e4
fix typo bug
keptsecret 4a68b75
added test for arccos sum
keptsecret 631f7f1
added more to shader compile test
keptsecret 222dc24
update infinity usage
keptsecret a490635
updated tests
keptsecret a2c84c2
Merge branch 'master' into bxdf_unit_tests
keptsecret 01bfc9b
Merge branch 'master' into bxdf_unit_tests
keptsecret 3732687
refactor changes in bxdf, sampling
keptsecret 4864a45
use getters for interaction, samples
keptsecret 9dc93dd
use microfacet cache getters
keptsecret 6f3706a
use new rng wrapper
keptsecret 6d298fd
refactor uniform2d usage
keptsecret dd7c0c7
refactor quotient_pdf usage
keptsecret 9b071a6
refactor changes to aniso cache
keptsecret 61757af
added checking concepts work
keptsecret 2ae583f
uncommented shader compile test
keptsecret d4d94e6
refactor tests to quotient pdf changes
keptsecret cf2dbcf
refactor typedef changes in bxdfs
keptsecret c4a9602
refactor changes to using bxdf params struct
keptsecret 41d1111
Merge branch 'master' into bxdf_unit_tests
keptsecret a6de590
fixes so it works on latest
keptsecret c1493d6
Merge branch 'master' into bxdf_unit_tests
keptsecret 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
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.
make one in
cpp_compat
under__HLSL_VERSION
note that we have our ownhash_combine
which is very similar to GLM's https://github.com/g-truc/glm/blob/master/glm/gtx/hash.inlYou can fairly easily make
hash_helper
which you can partial specialize for vectors and matrices of all types and dimensions