ScratchStats LogoScratchStats

ScratchStats

Explore Scratch statistics and discover trending projects and creators.

Community

  • Apply for Verified
  • Apply for Reviewer

More

  • Donate
Not affiliated with Scratch.
Back to Robostew's profile

Full Photon Mapper w/ GI and Colored Lighting

RORobostew•Created October 28, 2022
33
28
223 views
View on ScratchView on TurboWarp

Instructions

⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️ Basically REQUIRED to run it here: https://turbowarp.org/752777471/fullscreen?turbo or here if that is blocked: https://mirror.turbowarp.xyz/#752777471 Also, be SURE to use turbo mode!!! ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️ For animation to run like, at all use these settings: Total cycles * : 0.05 Direct cycles: blank Indirect cycles: blank Scene: 2 or 4 Photon contribution: 15 Photon render radius: 2 GI bounces: 0 or 1 Then hold space when it reaches 100% Nice. Thumbnail rendered at 2.5x total samples with only 1 photon contribution (99% pen transparency) That's 1,414,834 photons drawn! Now you can press space to rerender it using ONLY photons that hit the scene in the previous pass, meaning there are at most half the photons, even less with open-facing scenes where not all photons will hit. This is basically useless here, but it means you could move the camera in between and rerender it from a new perspective while still being faster than the original render. All code is by me. Scene modeled off of https://en.wikipedia.org/wiki/Cornell_box#/media/File:Cornell_box.png #ray #madness #raymadness #path #pathmadness #raytracing #rtx #raymarching #raycasting #math #technical #ray #tracing #marching #pathtracing #pathmarching #photon #mapping #photonmapping

Project Details

Project ID752777471
CreatedOctober 28, 2022
Last ModifiedNovember 16, 2022
SharedOctober 29, 2022
CommentsAllowed