-
Notifications
You must be signed in to change notification settings - Fork 66
Bxdf fixes cook torrance #930
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
devshgraphicsprogramming
wants to merge
83
commits into
master
Choose a base branch
from
bxdf_fixes_cook_torrance
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
Changes from 32 commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
5218545
changes to dual measure quant, old stuff commented out for now
keptsecret f7525af
create query structs in beckmann ndf, removed query concepts, funcs r…
keptsecret c50db68
did the same for ggx ndf, some fixes to beckmann
keptsecret c49bedb
Merge branch 'master' into bxdf_fixes_cook_torrance
keptsecret 319c954
fixes to ndf concept
keptsecret 4eeacf1
moved eval, quotient/pdf into cook torrance base
keptsecret e7bc784
moved generate H into ndfs, generate impl in cook torrance base
keptsecret 72226bb
use new cook torrance base in microfacet bxdfs
keptsecret f34b348
Merge branch 'master' into bxdf_fixes_cook_torrance
keptsecret ad13044
numerous typo bug fixes
keptsecret d8d2116
fixes to ggx ndf
keptsecret 238b08e
fixed conductor fresnel naming ior as eta
keptsecret 8bc707f
minor fixes to beckmann ndf, removed obsolete comments
keptsecret 9fb28cf
added luminosity contribution hint to cook torrance bsdfs
keptsecret 4cb8a0a
added aniso overloads to isotropic bxdf methods
keptsecret 392dc31
checks for invalid generate sample
keptsecret 02de86e
removed obsolete commented out stuff
keptsecret 4a7f532
added cartesian-polar conversions from unit tests
keptsecret 80c4f67
Merge branch 'fix_rotation_mat' into bxdf_fixes_cook_torrance
keptsecret 6233bd1
Merge branch 'master' into bxdf_fixes_cook_torrance
keptsecret ce5fbac
vector hashes
keptsecret 47e814b
Merge branch 'fix_rotation_mat' into bxdf_fixes_cook_torrance
keptsecret c983975
Merge branch 'master' into bxdf_fixes_cook_torrance
keptsecret 0f2ee0b
fix fresnel usage in bxdf pdf
keptsecret b5f02e6
fix F calc in generate
keptsecret a111415
merge master, fix conflicts
keptsecret 9655049
minor fixes to non cook torrance bxdf generate
keptsecret a1743d2
split out bxdf concept typdefs
keptsecret e6d663b
removed redundant thin_smooth_dielectric create
keptsecret 340cee3
added and use notEqual spirv intrinsic
keptsecret a3733b1
moved polar coord stuff into its own file
keptsecret 3e3589b
made smith functions return measureless
keptsecret 4bdf199
use type alias macro from config
keptsecret 4faecc3
adjust ndf concept, change fresnel conductor ior to eta
keptsecret 407da2f
combine brdf/bsdf cook torrance into same struct, old stuff commented…
keptsecret 638b8b5
moved duplicate code in eval, pdf, quotient_pdf into templated intera…
keptsecret c587820
some changes to fresnel, cook torrance base
keptsecret d438360
reverted ggx ndf to use optimizations
keptsecret 5f49f11
pdf function checks for backfacing V
keptsecret 627074b
reduced beckmann, ggx ndfs to single struct with enable_ifs
keptsecret 3896231
put concepts back in for ndf impl
keptsecret 91b39d5
ggx ndf determine clamp with template bool
keptsecret 2a3cda3
moved A out of ndf base into generate base
keptsecret c9f9366
added create methods to ndfs, cook torrance base; slight changes to c…
keptsecret fd128e6
make beckmann + ggx bxdfs typedefs of cooktorrance base, functionalit…
keptsecret 882375e
added flipSign func that copies sign of rhs
keptsecret b22d570
remove unused var
keptsecret c0586f5
moved cook torrance base into base folder, removed commented out in b…
keptsecret 9eeb248
make lambertian + oren nayar bxdfs typedefs of corresponding base, fu…
keptsecret 26c76e4
fix microfacet bxdf concept
keptsecret 58e2a0b
fixes to cook torrance generate
keptsecret 2a08728
templated ray_dir_info reflect/refract funcs
keptsecret b993e47
pdf should return inf when smooth cook torrance bxdf
keptsecret f3cb6ff
set pdf=0 in specific cases
keptsecret 7389c9a
added checking for TIR in bsdfs
keptsecret ec5913b
change fresnel orientedeta based on NdotV, user needs to pass front f…
keptsecret bccdb0b
fixes flipSign and flipSignIfRHSNeg
keptsecret 1e9e407
fix bsdf generate: LdotH and NdotL same sign, otherwise invalid sample
keptsecret dab51c3
cook torrance brdf returns invalid sample in cases, fix missing return
keptsecret 53ab934
more util funcs for ray_dir_info, avoid setting vals directly
keptsecret 804014f
added IsMicrofacet to bxdf_traits
keptsecret 260f7a3
projectedSphere generate should take v by ref
keptsecret fd54ac4
removed vector std::hash because glm already implemented it
keptsecret 5caf006
Merge branch 'master' into bxdf_fixes_cook_torrance
keptsecret 7508b82
get orientedeta and rcp methods in fresnel + concept
keptsecret 2b4a9c1
slight change to flipSignIfRHSNeg struct
keptsecret d3fa872
added two-sided fresnel concept
keptsecret 5765e87
removed cook torrance param structs/create funcs
keptsecret 23763e2
cache.isValid func, schlick fresnel reorient
keptsecret 069f499
big fixes to cook torrance bxdf generate
keptsecret 22c4918
moved cook torrance checks into private func, changed checks in quoti…
keptsecret dcc2464
getRefractionOrientedEta returns a scalar, but now I have to turn it …
keptsecret 7aa071b
moved ndf type defs and constexpr declaration into macro
keptsecret 97e5ce3
moved out quant query, adjusted ndf macro usage
keptsecret 6272281
reduced duplicate code in beckmann, ggx ndfs
keptsecret b55bdef
fix calculations in cook torrance eval, generate
keptsecret 444b656
removed passthrough funcs, template directly on required interaction/…
keptsecret 971e140
precompute more stuff in quant query
keptsecret 6a0e28d
various fixes to ggx ndf, cook torrance base
keptsecret f93772e
change ndf type alias macro usage
keptsecret 3519866
overwrite DG concept, added Dcorrelated to ggx ndf with optimizations
keptsecret 2a7cf4b
fix pdf call
keptsecret 79aea6d
minor fixes to cook torrance generate
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
Some comments aren't visible on the classic Files Changed page.
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
Large diffs are not rendered by default.
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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.