Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Faster Volumetric Cloudscapes with GPU-based Decoupled Ray Marching: Porting a Monte Carlo volume rendering method into an open-world AAA game engine
KTH, School of Electrical Engineering and Computer Science (EECS).
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Snabbare volymmoln med GPU-baserad frikopplad ray marching : Portering av en Monte Carlo-baserad volymrenderingsmetod till en AAA-spelmotor för öppna världar (Swedish)
Abstract [en]

Rendering volumetric cloudscapes in real-time is computationally intensive, yet essential for open-world games. The high cost of real-time volumetric cloud rendering primarily stems from the ray marching algorithm, a volume rendering method characterized by a time complexity of O(n2). An alternative approach in CPU rendering, known as Decoupled Ray Marching [11], optimizes the original algorithm, reducing its complexity to O(n log n) by decoupling the computation of in-scattering from transmittance and incorporating importance sampling to approximate the final color. The main contribution of this thesis is the adaptation of Kulla’s Decoupled Ray Marching algorithm for GPU execution inside Avalanche’s Apex Game Engine. This study effectively demonstrates that Kulla’s decoupled ray marching algorithm can be successfully implemented on the GPU, resulting in significant rendering time reductions of up to 30% compared to standard ray marching. However, further research will be necessary to address issues related to noise and optimized GPU memory access.

Abstract [sv]

Renderingen av volymetriska molnlandskap i realtid är beräkningsintensiv men avgörande för open-world-spel. Den främsta flaskhalsen i realtidsrendering av volymetriska moln är ray marching-algoritmen, en volymbaserad teknik med en tidskomplexitet på O(n2). Inom CPU-baserad rendering finns en alternativ metod, kallat Decoupled Ray Marching [11], optimerar den ursprungliga algoritmen och minskar dess komplexitet till O(n log n). Detta genom att separera beräkningen av in-scattering från transmittans och tillämpa importance sampling för att approximera den slutgiltiga färgen. Detta examensarbete bidrar främst med en GPU-anpassning av Kullas Decoupled Ray Marching-algoritm för integration i Avalanche Studios Apex-spelmotor. Examensarbetet demonstrerar tydligt att algoritmen kan implementeras effektivt på en grafikprocessor (GPU), och tydligt reducerar renderingstid med upp till 30%, jämfört med standard ray marching. Dock krävs fortsatt forskning för att hantera brus och optimera minnesåtkomst på GPU:n.

Place, publisher, year, edition, pages
2025. , p. 30
Series
TRITA-EECS-EX ; 2025:480
Keywords [en]
ray marching, volume rendering, monte carlo, importance sampling, real-time rendering, gpu
Keywords [sv]
ray marching, volymrendering, Monte Carlo, importance sampling, realtidsrendering, GPU
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-368116OAI: oai:DiVA.org:kth-368116DiVA, id: diva2:1987335
External cooperation
Avalanche Studios AB
Supervisors
Examiners
Available from: 2025-08-11 Created: 2025-08-05 Last updated: 2025-08-11Bibliographically approved

Open Access in DiVA

fulltext(12003 kB)1089 downloads
File information
File name FULLTEXT01.pdfFile size 12003 kBChecksum SHA-512
a5f8abad72d33b05b521845630da7ff38ee252f66d8801eba6ca40ef022cf4788d2e51dc9d2bfcd587b5f9563b692854f4c6c86bda66a04afc662bfbbce3b4d1
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 1091 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 795 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf