SlideShare una empresa de Scribd logo
1 de 9
SNOW ACCUMULATION AND
GENERATION
                Yuanhui
MAIN PARTS
   Particle Rendering for Snow Generation
   Shadow Mapping for Snow Accumulation
   Fog Effect
SNOW ACCUMULATION
   Rendering Depth Map
     From the view of the sky with orthographic camera
     Render depth values to texture
SNOW ACCUMULATION
   Rendering Object
     Shadow testing: not exposed when depth larger than
      depth map value
     Read depth map value
           VL = Ms * Mp * Mv * Mm * V
              VL   projected vertex from light source
               Ms scale matrix (-1, 1) to (0, 1)
               Mp light source projection
               Mv light source view from world
               Mm model to world
               V     vertices
SNOW ACCUMULATION
       Incline Coefficient
           dot(Y, normal)




http://http.download.nvidia.com/developer/SDK/Individual_Samples/
DEMOS/Direct3D9/src/SnowAccumulation/Docs/SnowAccumulation.pdf
SNOW GENERATION
   Random Position
   Particles Rendering
     glEnable(GL_POINT_SPRITE)
     glEnable(GL_VERTEX_PROGRAM_POINT_SIZE)
     gl_PointSize
     GL_POINTS

   Particle Animation
       calculate alpha (vertex shader)
FOG EFFECT




    http://www.ozone3d.net/tutorials/glsl_fog/p02.php
REFERENCE
 http://http.download.nvidia.com/developer/SDK/Indi
  vidual_Samples/DEMOS/Direct3D9/src/SnowAccu
  mulation/Docs/SnowAccumulation.pdf
 https://graphics.stanford.edu/wikis/cs248-11-
  winter/CS_248%3A_Interactive_Computer_Graphic
  s?action=AttachFile&do=get&target=OpenGLParticl
  es.pdf
 http://www.ozone3d.net/tutorials/glsl_fog

 http://www.opengl-tutorial.org/intermediate-
  tutorials/tutorial-16-shadow-mapping/
THANKS!

Más contenido relacionado

La actualidad más candente

Md atr2-linz pilot current-status_downscaling rf
Md atr2-linz pilot current-status_downscaling rfMd atr2-linz pilot current-status_downscaling rf
Md atr2-linz pilot current-status_downscaling rf
Sascha Schlobinski
 
11 intersection of_two_graphs
11 intersection of_two_graphs11 intersection of_two_graphs
11 intersection of_two_graphs
Media4math
 
1. zeros cubicintersectiontouchpad
1. zeros cubicintersectiontouchpad1. zeros cubicintersectiontouchpad
1. zeros cubicintersectiontouchpad
Media4math
 
2. zeros quarticintersectiontouchpad
2. zeros quarticintersectiontouchpad2. zeros quarticintersectiontouchpad
2. zeros quarticintersectiontouchpad
Media4math
 

La actualidad más candente (20)

texture mapping in computer graphics
texture mapping in computer graphicstexture mapping in computer graphics
texture mapping in computer graphics
 
SWMM Example 1 - Basic Example
SWMM Example 1 - Basic ExampleSWMM Example 1 - Basic Example
SWMM Example 1 - Basic Example
 
Reading2018 kikuta
Reading2018 kikutaReading2018 kikuta
Reading2018 kikuta
 
Distinctive image features from scale invariant keypoint
Distinctive image features from scale invariant keypointDistinctive image features from scale invariant keypoint
Distinctive image features from scale invariant keypoint
 
Md atr2-linz pilot current-status_downscaling rf
Md atr2-linz pilot current-status_downscaling rfMd atr2-linz pilot current-status_downscaling rf
Md atr2-linz pilot current-status_downscaling rf
 
Spatial data analysis for SWMM
Spatial data analysis for SWMMSpatial data analysis for SWMM
Spatial data analysis for SWMM
 
Swmm Example 4 - Water Quality
Swmm Example 4 - Water QualitySwmm Example 4 - Water Quality
Swmm Example 4 - Water Quality
 
Planet Creation Notes
Planet Creation Notes Planet Creation Notes
Planet Creation Notes
 
Target
TargetTarget
Target
 
DSD-INT 2017 Geomodelling in iMOD using Voxels - Vermeulen
DSD-INT 2017 Geomodelling in iMOD using Voxels - VermeulenDSD-INT 2017 Geomodelling in iMOD using Voxels - Vermeulen
DSD-INT 2017 Geomodelling in iMOD using Voxels - Vermeulen
 
Irregular shape area
Irregular shape areaIrregular shape area
Irregular shape area
 
11 intersection of_two_graphs
11 intersection of_two_graphs11 intersection of_two_graphs
11 intersection of_two_graphs
 
1. zeros cubicintersectiontouchpad
1. zeros cubicintersectiontouchpad1. zeros cubicintersectiontouchpad
1. zeros cubicintersectiontouchpad
 
2. zeros quarticintersectiontouchpad
2. zeros quarticintersectiontouchpad2. zeros quarticintersectiontouchpad
2. zeros quarticintersectiontouchpad
 
poster
posterposter
poster
 
Kuliah+1+ +cad+bda20502
Kuliah+1+ +cad+bda20502Kuliah+1+ +cad+bda20502
Kuliah+1+ +cad+bda20502
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewing
 
Coastal erosion management using image processing and Node Oriented Programming
Coastal erosion management using image processing and Node Oriented Programming Coastal erosion management using image processing and Node Oriented Programming
Coastal erosion management using image processing and Node Oriented Programming
 
RasterFrames: Enabling Global-Scale Geospatial Machine Learning
RasterFrames: Enabling Global-Scale Geospatial Machine LearningRasterFrames: Enabling Global-Scale Geospatial Machine Learning
RasterFrames: Enabling Global-Scale Geospatial Machine Learning
 
S-Plus: The Data Reduction Process
S-Plus: The Data Reduction ProcessS-Plus: The Data Reduction Process
S-Plus: The Data Reduction Process
 

Similar a Snow accumulation and ge neration

Shadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive ApplicationsShadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive Applications
stefan_b
 
Application of Structure-from-Motion Photogrammetry for Erosion Processes Mon...
Application of Structure-from-Motion Photogrammetry for Erosion Processes Mon...Application of Structure-from-Motion Photogrammetry for Erosion Processes Mon...
Application of Structure-from-Motion Photogrammetry for Erosion Processes Mon...
imar-uniri
 
3D Generalization Lenses (IV 2008)
3D Generalization Lenses (IV 2008)3D Generalization Lenses (IV 2008)
3D Generalization Lenses (IV 2008)
Matthias Trapp
 
Non-Planar Projections (GRAPP 2008)
Non-Planar Projections (GRAPP 2008)Non-Planar Projections (GRAPP 2008)
Non-Planar Projections (GRAPP 2008)
Matthias Trapp
 

Similar a Snow accumulation and ge neration (20)

Shadow Mapping with Today's OpenGL Hardware
Shadow Mapping with Today's OpenGL HardwareShadow Mapping with Today's OpenGL Hardware
Shadow Mapping with Today's OpenGL Hardware
 
Soft Shadow Maps for Linear Lights
Soft Shadow Maps for Linear LightsSoft Shadow Maps for Linear Lights
Soft Shadow Maps for Linear Lights
 
Build Your Own 3D Scanner: 3D Scanning with Swept-Planes
Build Your Own 3D Scanner: 3D Scanning with Swept-PlanesBuild Your Own 3D Scanner: 3D Scanning with Swept-Planes
Build Your Own 3D Scanner: 3D Scanning with Swept-Planes
 
Advanced Lighting for Interactive Applications
Advanced Lighting for Interactive ApplicationsAdvanced Lighting for Interactive Applications
Advanced Lighting for Interactive Applications
 
Shadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive ApplicationsShadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive Applications
 
FERMIUM - A Framework for Real-time Procedural Point Cloud Animation & Morphing
FERMIUM - A Framework for Real-time Procedural Point Cloud Animation & MorphingFERMIUM - A Framework for Real-time Procedural Point Cloud Animation & Morphing
FERMIUM - A Framework for Real-time Procedural Point Cloud Animation & Morphing
 
Application of Structure-from-Motion Photogrammetry for Erosion Processes Mon...
Application of Structure-from-Motion Photogrammetry for Erosion Processes Mon...Application of Structure-from-Motion Photogrammetry for Erosion Processes Mon...
Application of Structure-from-Motion Photogrammetry for Erosion Processes Mon...
 
Interactive Editing of Signed Distance Fields
Interactive Editing of Signed Distance FieldsInteractive Editing of Signed Distance Fields
Interactive Editing of Signed Distance Fields
 
Shadow Caster Culling for Efficient Shadow Mapping (Authors: Jiří Bittner, Ol...
Shadow Caster Culling for Efficient Shadow Mapping (Authors: Jiří Bittner, Ol...Shadow Caster Culling for Efficient Shadow Mapping (Authors: Jiří Bittner, Ol...
Shadow Caster Culling for Efficient Shadow Mapping (Authors: Jiří Bittner, Ol...
 
2.5D Clip-Surfaces for Technical Visualization
2.5D Clip-Surfaces for Technical Visualization2.5D Clip-Surfaces for Technical Visualization
2.5D Clip-Surfaces for Technical Visualization
 
Automatic Classification Satellite images for weather Monitoring
Automatic Classification Satellite images for weather MonitoringAutomatic Classification Satellite images for weather Monitoring
Automatic Classification Satellite images for weather Monitoring
 
Praseed Pai
Praseed PaiPraseed Pai
Praseed Pai
 
3D Generalization Lenses (IV 2008)
3D Generalization Lenses (IV 2008)3D Generalization Lenses (IV 2008)
3D Generalization Lenses (IV 2008)
 
Non-Planar Projections (GRAPP 2008)
Non-Planar Projections (GRAPP 2008)Non-Planar Projections (GRAPP 2008)
Non-Planar Projections (GRAPP 2008)
 
LINUX Tag 2008: 4D Data Visualisation and Quality Control
LINUX Tag 2008: 4D Data Visualisation and Quality ControlLINUX Tag 2008: 4D Data Visualisation and Quality Control
LINUX Tag 2008: 4D Data Visualisation and Quality Control
 
Advanced Game Development with the Mobile 3D Graphics API
Advanced Game Development with the Mobile 3D Graphics APIAdvanced Game Development with the Mobile 3D Graphics API
Advanced Game Development with the Mobile 3D Graphics API
 
TransNeRF
TransNeRFTransNeRF
TransNeRF
 
Interactive Refractions And Caustics Using Image Space Techniques
Interactive Refractions And Caustics Using Image Space TechniquesInteractive Refractions And Caustics Using Image Space Techniques
Interactive Refractions And Caustics Using Image Space Techniques
 
Multiresolution SVD based Image Fusion
Multiresolution SVD based Image FusionMultiresolution SVD based Image Fusion
Multiresolution SVD based Image Fusion
 
An image based disdrometer verification and raindrop analysis
An image based disdrometer verification and raindrop analysisAn image based disdrometer verification and raindrop analysis
An image based disdrometer verification and raindrop analysis
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Snow accumulation and ge neration

  • 2. MAIN PARTS  Particle Rendering for Snow Generation  Shadow Mapping for Snow Accumulation  Fog Effect
  • 3. SNOW ACCUMULATION  Rendering Depth Map  From the view of the sky with orthographic camera  Render depth values to texture
  • 4. SNOW ACCUMULATION  Rendering Object  Shadow testing: not exposed when depth larger than depth map value  Read depth map value  VL = Ms * Mp * Mv * Mm * V  VL projected vertex from light source  Ms scale matrix (-1, 1) to (0, 1)  Mp light source projection  Mv light source view from world  Mm model to world  V vertices
  • 5. SNOW ACCUMULATION  Incline Coefficient  dot(Y, normal) http://http.download.nvidia.com/developer/SDK/Individual_Samples/ DEMOS/Direct3D9/src/SnowAccumulation/Docs/SnowAccumulation.pdf
  • 6. SNOW GENERATION  Random Position  Particles Rendering  glEnable(GL_POINT_SPRITE)  glEnable(GL_VERTEX_PROGRAM_POINT_SIZE)  gl_PointSize  GL_POINTS  Particle Animation  calculate alpha (vertex shader)
  • 7. FOG EFFECT http://www.ozone3d.net/tutorials/glsl_fog/p02.php
  • 8. REFERENCE  http://http.download.nvidia.com/developer/SDK/Indi vidual_Samples/DEMOS/Direct3D9/src/SnowAccu mulation/Docs/SnowAccumulation.pdf  https://graphics.stanford.edu/wikis/cs248-11- winter/CS_248%3A_Interactive_Computer_Graphic s?action=AttachFile&do=get&target=OpenGLParticl es.pdf  http://www.ozone3d.net/tutorials/glsl_fog  http://www.opengl-tutorial.org/intermediate- tutorials/tutorial-16-shadow-mapping/