constructivesolidgeometry jl
play

ConstructiveSolidGeometry.jl A constructive solid geometry and ray - PowerPoint PPT Presentation

ConstructiveSolidGeometry.jl A constructive solid geometry and ray tracing package for scientific simulation Speaker: John Tramm 1 Outline Intro to constructive solid geometry (CSG) Intro to ray tracing Motivation for package


  1. ConstructiveSolidGeometry.jl A constructive solid geometry and ray tracing package for scientific simulation Speaker: John Tramm 1

  2. Outline • Intro to constructive solid geometry (CSG) • Intro to ray tracing • Motivation for package • Functionality • Interesting implementation details • Demo 2

  3. What is Constructive Solid Geometry (CSG)? 3

  4. What is Ray Tracing? • Ray • Origin • Direction • Ray tracing determines: • Which region a point is in • Closest intersection 4

  5. Motivation for Package • Needed by some simulation Geometry methods & Ray Tracing • Particularly reactor physics • Needed by students in course 22 (Nuclear Engineering) Collision • No existing CSG/ray tracing Method of Monte Carlo Probability Characteristics packages in Julia Method 5

  6. ConstructiveSolidGeometry.jl Functionality • Create primitive 2D/3D shapes • Logically assemble shapes • Plot slices • Performs ray tracing • Well documented with annotated examples • Enables easy development of physics applications 6

  7. Implementation Detail of Note: Expressions • Logical construction of regions is a tree • (1∩2) ∩~(3 ∪ (4 ∪ 5)) • Julia Expressions make this easy • Recursive function to navigate Julia Expression tree 1 2 3 4 5 7

  8. Quick Demo 8

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend