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

mlefrancois/rt_reflection #274

Merged
merged 21 commits into from
Aug 9, 2021
Merged

Conversation

mklefrancois
Copy link
Collaborator

Description

Render a simple scene showing the basics of ray tracing, including reflection and shadow rays. The sample creates some geometries and create a bottom acceleration structure for each, then make instances of those, using different materials and placing them at different locations.

Test Environment

  • Windows 10
  • GeForce RTX 3060 Ti
  • Driver: 466.27
  • Vulkan: 1.2.176.1

General Checklist:

  • My code follows the coding style
  • I have reviewed file licenses
  • I have updated the header Copyright to reflect the current year (CI build will fail if Copyright is out of date)
  • I have commented any added functions (in line with Doxygen)
  • I have commented any code that could be hard to understand
  • My changes do not add any new compiler warnings
  • My changes do not add any new validation layer errors or warnings
  • I have used existing framework/helper functions where possible
  • My changes build on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions
  • My changes do not add any regressions
  • I have tested every sample to ensure everything runs correctly
  • This PR describes the scope and expected impact of the changes I am making

Sample Checklist

If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist:

  • I have tested the sample on at least one compliant Vulkan implementation
  • If the sample is vendor-specific, I have tagged it appropriately
  • I have stated on what implementation the sample has been tested so that others can test on different implementations and platforms
  • Any dependent assets have been merged and published in downstream modules
  • For new samples, I have added a paragraph with a summary to the appropriate chapter in the samples readme

@CLAassistant
Copy link

CLAassistant commented May 17, 2021

CLA assistant check
All committers have signed the CLA.

@SaschaWillems SaschaWillems self-requested a review May 22, 2021 09:47
SaschaWillems
SaschaWillems previously approved these changes May 22, 2021
Copy link
Collaborator

@SaschaWillems SaschaWillems left a comment

Choose a reason for hiding this comment

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

Awesome sample. Thank you very much for contributing this :)

Runs fine on my RTX 2060.

CI is currently failing due to the copyright check. Judging by the CI log you need to update the copyright to 2021 in the CMakeLists.txt of your sample to get all CI stages working.

gpx1000
gpx1000 previously approved these changes May 23, 2021
Copy link
Collaborator

@gpx1000 gpx1000 left a comment

Choose a reason for hiding this comment

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

Thanks for the high quality pull request! This looks like a great sample of high quality.

samples/extensions/ray_tracing_reflection/CMakeLists.txt Outdated Show resolved Hide resolved
@mklefrancois mklefrancois dismissed stale reviews from gpx1000 and SaschaWillems via f7e277f May 23, 2021 09:37
gpx1000
gpx1000 previously approved these changes May 24, 2021
SaschaWillems
SaschaWillems previously approved these changes May 28, 2021
{
int objId = gl_InstanceCustomIndexEXT;

int mat_idx = mat_index[objId].i[gl_PrimitiveID];
Copy link
Contributor

Choose a reason for hiding this comment

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

Might seem like objId here and below (materials[objId]) should be surrounded by nonuniformEXT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, sorry I missed this while translating.

@mklefrancois mklefrancois dismissed stale reviews from SaschaWillems and gpx1000 via 30e8b8b June 3, 2021 15:23
@SaschaWillems SaschaWillems self-requested a review June 5, 2021 12:03
SaschaWillems
SaschaWillems previously approved these changes Jun 5, 2021
gpx1000
gpx1000 previously approved these changes Jun 24, 2021
Copy link
Collaborator

@gpx1000 gpx1000 left a comment

Choose a reason for hiding this comment

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

Runs well here lgtm;

@SaschaWillems
Copy link
Collaborator

Works fine for me on an RTX 2060 on Windows 10. The readme is a great addition too 👍

@SaschaWillems SaschaWillems self-requested a review July 10, 2021 10:59
@gpx1000
Copy link
Collaborator

gpx1000 commented Jul 26, 2021

tested and works here. NVidia AMD Linux and Windows.

@marty-johnson59
Copy link
Contributor

Hi folks, I'd like to get our final approval on this one so we can release it (been stuck for a few weeks). Please help review if able. Thanks!

mcj

@marty-johnson59 marty-johnson59 merged commit 59d3153 into KhronosGroup:master Aug 9, 2021
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.

6 participants