8000 Major update: GPU textures. by Enigmatisms · Pull Request #8 · Enigmatisms/cuda-pt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Major update: GPU textures. #8

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 12 commits into from
Jan 1, 2025
Merged

Major update: GPU textures. #8

merged 12 commits into from
Jan 1, 2025

Conversation

Enigmatisms
Copy link
Owner
@Enigmatisms Enigmatisms commented Jan 1, 2025

Major features are added to this repo.

  • Texture mapping. Currently, host side allocates and manages the textures with pitched array, and through a __constant__ variable, the device side can access the textures via tex2D with hardware LERP. Texture ops supported:
    • Diffuse / Specular / Glossy component albedo.
    • X/Y roughness and index of refraction.
    • Emission and normal.
  • Environment map emitter and AreaSpot emitter. The former one, is, as its name implies. The latter one is the area emitter with limited angle of emission. The environment map supports online azimuth and zenith angle adjustments.
  • Emissive textures are supported. Now, AreaSource and AreaSpotSource can take a reference to a texture, which will determine the color of the emission, at given UV coords.
  • Chromatic dispersion BSDF is implemented, with simple spectral sampling and XYZ<-> RGB conversion. Check the latest README for more details.
  • lodepng is removed from the external dependencies. Instead, stb is added for loading textures and storing JPEG / PNG format outputs.
  • GUI got multiple updates.
  • Fixed multiple bugs.

@Enigmatisms Enigmatisms added documentation Improvements or additions to documentation enhancement New feature or request major Major code base changes labels Jan 1, 2025
@Enigmatisms Enigmatisms self-assigned this Jan 1, 2025
@Enigmatisms Enigmatisms merged commit 80bfe3a into master Jan 1, 2025
@Enigmatisms Enigmatisms deleted the texture branch January 1, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request major Major code base changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0