SlideShare a Scribd company logo
1 of 206
광택 재질 표현
Voxel Ray Tracing
드래곤플라이 스페셜포스 2
허 창 민
(changmin@dragonflygame.com)
참여한 프로젝트
프리젠테이션 목표
빛은 아름답다
물리 기반 셰이딩
roughness
에너지 보존 법칙
PMREM
( Prefiltered mipmaped radiance environment map )
PMREM
( Prefiltered mipmaped radiance environment map )
PMREM
( Prefiltered mipmaped radiance environment map )
PMREM
( Prefiltered mipmaped radiance environment map )
반사도 높고, 매끄러운 재질
반사도 높고, 거친 재질
반사도 낮고, 매끄러운 재질
반사도 낮고, 거친 재질
Box Projected Cube Mapping
http://www.gamedev.net/topic/568829-box-projected-cubemap-environment-mapping/
Box Projected Cube Mapping
http://www.gamedev.net/topic/568829-box-projected-cubemap-environment-mapping/
Box Projected Cube Mapping
http://www.gamedev.net/topic/568829-box-projected-cubemap-environment-mapping/
Box Projected Cube Mapping
http://www.gamedev.net/topic/568829-box-projected-cubemap-environment-mapping/
Box Projected Cube Mapping
http://www.gamedev.net/topic/568829-box-projected-cubemap-environment-mapping/
Box Projected Cube Mapping
http://www.gamedev.net/topic/568829-box-projected-cubemap-environment-mapping/
http://www.gamedev.net/topic/568829-box-projected-cubemap-environment-mapping/
Box Projected Cube Mapping
Reflections Beyond Programmable Shading, SIGGRAPH 2010 384/26/2013
Beyond Programmable Shading Course
ACM SIGGRAPH 2010
5 Major Challenges in Interactive Rendering
Johan Andersson
DICE
Challenge #2 - Illumination
40Beyond Programmable Shading, SIGGRAPH 2010
Global Illumination
Shadows
Reflections
ReflectionsBeyond Programmable Shading
, SIGGRAPH 2010
46 4/26/2013
Voxelize
http://www.drububu.com/miscellaneous/voxelizer/index.html
복셀라이저
복셀라이저
복셀라이저
레벨 데이터 : Diffuse TexturesDiffuse
레벨 데이터 : Diffuse TexturesDiffuse
mtl 파일
Emissive
Emissive
Emissive
mtl 파일 확장
Lighting
Lighting
mtl 파일 확장
obj 파일 확장
light map 텍스처 좌표
obj 파일 확장
HDR Light Mapping을 지원하기 위해 확장
Per vertex lighting scale 값
Emissive + (Diffuse * Lighting)
Building Octree.....
eExport Volume.....
A
A
B
A
B
A
C
B
A
C
B
A
C
B
A
D
C
B
A
D
C
B
A
볼륨 데이터 : vox 파일
볼륨 데이터 : vox 파일
볼륨 데이터 : vox 파일
볼륨 데이터 : vox 파일
볼륨 데이터 : vox 파일
볼륨 데이터 : vox 파일
64x64x64ls
128x128x128s
256x256x256s
512x512x512s
1024x1024x1024s
Voxels
High Dynamic Range Voxel Color
Exposure = 1
Exposure = 1/2
Exposure = 1/4
Exposure = 1/8
Exposure = 1/16
Exposure = 1/32
Exposure = 1/64
Exposure = 1/128
High Reflectance
Low Reflectance
Voxel Ray Tracing
3D-DDA
Ray traversal
algorithm
voxel
매개변수화된 선
: L(t) = p + tV
p
V
dtvoxel_x =
𝑣𝑜𝑥𝑒𝑙 𝑠𝑖𝑧𝑒
𝑣. 𝑥
dtvoxel_y =
𝑣𝑜𝑥𝑒𝑙 𝑠𝑖𝑧𝑒
𝑣. 𝑦
p
시작 Voxel
p
𝑡𝑥 =
𝐵𝑚𝑎𝑥. 𝑥 − 𝑝. 𝑥
𝑣. 𝑥
Bmax
Bmin
p
𝑡𝑦 =
𝐵𝑚𝑎𝑥. 𝑦 − 𝑝. 𝑦
𝑣. 𝑦
Bmax
Bmin
𝑡𝑥 < 𝑡𝑦
X 로 이동
𝑡𝑥 < 𝑡𝑦
X 로 이동
𝑡𝑥 += dtvoxel_x
𝑡𝑥 > 𝑡𝑦
𝑡𝑥 += dtvoxel_x
𝑡𝑥 > 𝑡𝑦
y 로 이동
𝑡𝑦 += dtvoxel_y
𝑡𝑥 < 𝑡𝑦
y 로 이동
𝑡𝑦 += dtvoxel_y
𝑡𝑥 < 𝑡𝑦
y 로 이동
𝑡𝑦 += dtvoxel_y
𝑡𝑥 < 𝑡𝑦
x 로 이동
𝑡𝑥 += dtvoxel_x
𝑡𝑥 < 𝑡𝑦
x 로 이동
𝑡𝑥 += dtvoxel_x
𝑡𝑥 < 𝑡𝑦
x 로 이동
𝑡𝑥 += dtvoxel_x
𝑡𝑥 < 𝑡𝑦
x 로 이동
𝑡𝑥 += dtvoxel_x
𝑡𝑥 > 𝑡𝑦
x 로 이동
𝑡𝑥 += dtvoxel_x
𝑡𝑥 > 𝑡𝑦
x 로 이동
𝑡𝑥 += dtvoxel_x
𝑡𝑥 > 𝑡𝑦
Voxel Ray Tracing
Voxel Reflected Ray Tracing
Compositing
Compositing
Compositing
Compositing
Compositing
Compositing
Fresnel Effect
(1 − 𝑑𝑜𝑡𝐸𝐻)5
= 25×log2(1−𝑑𝑜𝑡𝐸𝐻)
지수의 밑변환
With Fresnel Effect
Without Fresnel Effect
With
Fresnel Effect
Without
Fresnel Effect
메모리 용량
64x64x64 = 1Mb
128x128x128 = 8Mb
256x256x256 = 64Mb
512x512x512 = 512Mb
1024x1024x1024 = 4Gb
복셀 데이터 용량 줄이기
512x512x512 = 512 Mbyte
64x64x64 + 256x256x180 =
1Mbytes + 11.25 Mbytes
512x512x512 = 512 Mbytes
512x512x512 = 512 Mbyte
64x64x64 + 256x256x180 =
1Mbytes + 11.25 Mbytes
64x64x64 + 256x256x180 = 12.25 Mbytes
512x512x512 = 512 Mbytes
View Ray Tracing
View Ray Tracing
Reflections
p
Surface Normal
p
camera
Surface Normal
p
camera
Reflection
Surface Normal
p
camera
Reflection
Surface Normal
voxel color
p
camera
Reflection
Surface Normal
p
Intensity * Fresnel(Reflectance, C, H) * voxel color
camera
Reflection
Surface Normal
p
Rendering
Depth
World Normal
Reflectance
Intensity
Reflectance = 0, Intensity = 1
Reflectance = 0, Intensity = 0.1
Reflectance = 1, Intensity = 1
Reflectance = 1, Intensity = 2
요 약
감사합니다
Q & A

More Related Content

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

NDC 2013 : 광택 재질 표현 - Voxel Ray Tracing