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

OptiX testrender overhaul #1829

Draft
wants to merge 110 commits into
base: main
Choose a base branch
from

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    8deb471 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a85d18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5475f08 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    79d39d6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e7adbe5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c97b0c0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    418e916 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4cff2d8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    20d452b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4b16643 View commit details
    Browse the repository at this point in the history
  11. Enable anti-aliasing.

    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    c6a2240 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8f4bb85 View commit details
    Browse the repository at this point in the history
  13. Add "precise" versions of the quad and sphere intersection programs t…

    …hat use the higher-precision intrinsics.
    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    4c63724 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9e54203 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a34ccc9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a3f7e85 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0c92f24 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b0229ed View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4f4ccce View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    7dcc2b2 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    e17b590 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    fd0d6cc View commit details
    Browse the repository at this point in the history
  23. Use the correct case labels for REFRACTION_ID. Use the correct get_al…

    …bedo functions for the BSDF sub-types.
    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    d976332 View commit details
    Browse the repository at this point in the history
  24. Changes to make sphere refraction work. Pass in the last hit ID to al…

    …low the self-intersection test.
    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    d391c73 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    77485d3 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    14445e4 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    ccba6f7 View commit details
    Browse the repository at this point in the history
  28. Add initial support for Background sampling on the GPU. Add support f…

    …or CUDA mipmapped textures in testrender. Update the signature of osl_tex2DLookup in testshade.
    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    48adb13 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    a0b9477 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    ddb401d View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    fc439e6 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    77de801 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    2bd8f7e View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    0a1f025 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    eae4ef8 View commit details
    Browse the repository at this point in the history
  36. Cleanup background.h a bit.

    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    06bea21 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    a3707d6 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    0bf4c56 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    5c3a786 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    1ebcd09 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    107e1ef View commit details
    Browse the repository at this point in the history
  42. Add a new file shading_cuda.cpp to hold the CUDA-specific functions. …

    …It's not a stand-alone file, it needs to be included along with shading.cpp in the target CUDA source file.
    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    80e3043 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    6ed6442 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    a81b9b2 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    d80bc21 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    fa5c7d0 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    d2d519b View commit details
    Browse the repository at this point in the history
  48. Fix evaluate_layer_opacity.

    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    0cf56ea View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    f465410 View commit details
    Browse the repository at this point in the history
  50. Cleanup.

    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    595663a View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    ba60cd0 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    8cb6d3c View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    49233be View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    2b5d5c6 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    91f6495 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    ab3008a View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    c54fb95 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    55b7b76 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    705c8ca View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    a388b50 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    dca249c View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    0066ab1 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    7e44a37 View commit details
    Browse the repository at this point in the history
  64. Strip out the old raygen and unused occlusion programs.

    This reverts commit ae9a17e4dba747034c9a5b9da0a9c4c6be87d7b5.
    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    1a96921 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    dd1b3b6 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    a13146d View commit details
    Browse the repository at this point in the history
  67. Use mipmaps in testshade.

    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    8ad387c View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    31abe77 View commit details
    Browse the repository at this point in the history
  69. Update the reference images for test_spline and test_texture, since t…

    …he output is different with the mipmapped textures.
    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    159c1f2 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    0f6b710 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    99a92b6 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    4d591ce View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    e59210d View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    f7d79cd View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    a3445dd View commit details
    Browse the repository at this point in the history
  76. Simplify the guard around the OSL_DASSERT definition, and add a note …

    …about why it's being disabled for CUDA.
    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    e937b66 View commit details
    Browse the repository at this point in the history
  77. Use the pointer type instead of uint64_t in the Payload struct. Get r…

    …ed of the unused make_color function.
    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    648ebfc View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    ec7a026 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    221a150 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    b75b9eb View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    6d75456 View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    7938f5b View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    8a69ba9 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    a70fe49 View commit details
    Browse the repository at this point in the history
  85. Eliminate add_bsdf_cuda.

    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    07e874e View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    64b405b View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    169b071 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    d0626af View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    a6dc8d3 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    281074e View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    efa8c2c View commit details
    Browse the repository at this point in the history
  92. Use regular stack objects instead of placement new for the BSDFs in e…

    …valuate_layer_opacity.
    tgrant-nv committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    7d389df View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    3c70d81 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Use a unified version of SimpleRaytracer::subpixel_radiance, instead …

    …of using separate versions for CPU and CUDA.
    
     * Use Vec3 instead of float3 in ShaderGlobals, to avoid annoying special cases when targeting CUDA.
     * Use the Camera class for ray generation.
    tgrant-nv committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    500a289 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    064921d View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Configuration menu
    Copy the full SHA
    88cd20c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f329ba1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c60ac9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f6d65d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9b7c31c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7958fe1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1a71f24 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    33d3576 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Simplify 'tracedata' handling by using explicit object IDs. Encapsula…

    …te the tracedata into a TraceData type.
    tgrant-nv committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    e73c4c3 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Configuration menu
    Copy the full SHA
    6bb82fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    41ffaf9 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    ddcfd22 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Configuration menu
    Copy the full SHA
    02bb427 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db46f09 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb5a865 View commit details
    Browse the repository at this point in the history