Field Visualisation Jane Tinslay, SLAC October 2006.

Slides:



Advertisements
Similar presentations
Exploration of advanced lighting and shading techniques
Advertisements

Exploration of bump, parallax, relief and displacement mapping
Graphics Pipeline.
1 Graphics CSCI 343, Fall 2013 Lecture 18 Lighting and Shading.
Week 9 - Friday.  What did we talk about last time?  Area lighting  Environment mapping  Blinn and Newell's method  Sphere mapping  Cubic environmental.
3D Graphics Rendering and Terrain Modeling
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
Based on slides created by Edward Angel
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 Shading I.
Real-Time Rendering SPEACIAL EFFECTS Lecture 03 Marina Gavrilova.
Snow Rendering for Interactive Snowplow Simulation Improving Driver Ability to Avoid Collisions When Following a Snowplow Michele Olsen, Siddharth Deokar,
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
1 CSCE 641: Computer Graphics Lighting Jinxiang Chai.
Status – Week 277 Victor Moya.
Paper by Alexander Keller
Shading Languages By Markus Kummerer. Markus Kummerer 2 / 19 State of the Art Shading.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Shading I Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
CS 480/680 Computer Graphics Shading I Dr. Frederick C Harris, Jr.
Post-rendering Cel Shading & Bloom Effect
Computer Graphics Shadows
SET09115 Intro Graphics Programming
CS 445 / 645: Introductory Computer Graphics
Tony McLoughlin 1 Part 2: Overview  Part 2: Tony McLoughlin  Effective Particle Tracing  Point-Based.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
Shading (introduction to rendering). Rendering  We know how to specify the geometry but how is the color calculated.
1 Perception and VR MONT 104S, Spring 2008 Lecture 22 Other Graphics Considerations Review.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
3D Visualisation of Simulation Data. Informal Seminar 08/03/2004. By Chris Sweet.
Definitions Spectral Elements – data structures that contain information about data at points within each geometric entity. Finite elements only hold information.
Interactive Hair Rendering Under Environment Lighting Valentin JANIAUT Zhong Ren, Kun Zhou, Tengfei Li, Wei Hua, Baining Guo.
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
A Crash Course in HLSL Matt Christian.
Jonathan M Chye Technical Supervisor : Mr Matthew Bett 2010.
-Global Illumination Techniques
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
Ray Tracing Chapter CAP4730: Computational Structures in Computer Graphics.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
03/24/03© 2003 University of Wisconsin Last Time Image Based Rendering from Sparse Data.
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Realtime NPR Toon and Pencil Shading Joel Jorgensen May 4, 2010.
Parallel Ray Tracer Computer Systems Lab Presentation Stuart Maier.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
Design and Implementation of Geometric and Texture-Based Flow Visualization Techniques Robert S. Laramee Markus Hadwiger Helwig Hauser.
Global Illumination. Local Illumination  the GPU pipeline is designed for local illumination  only the surface data at the visible point is needed to.
Chris Covington CSCI263 – Final Project May 3, 2005 Changes and Additions: Further implemented the illumination model. Illumination is now calculated in.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
2/24/2016 A.Aruna/Assistant professor/IT/SNSCE 1.
CDS 301 Fall, 2008 From Graphics to Visualization Chap. 2 Sep. 3, 2009 Jie Zhang Copyright ©
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Computer Graphics: Illumination
Project: Visualization of Stochastic Vector Fields Yoshihito Yagi Expertise : Dr. Banks, Dr. Srivastava.
Applications and Rendering pipeline
Robert S. Laramee 1 Visualization, Lecture Flow visualization, Part 2 (of 3)
Ying Zhu Georgia State University
Real-Time Soft Shadows with Adaptive Light Source Sampling
3D Graphics Rendering PPT By Ricardo Veguilla.
The Graphics Rendering Pipeline
© University of Wisconsin, CS559 Fall 2004
Chapter 14 Shading Models.
Lighting.
Game Programming Algorithms and Techniques
Chapter 14 Shading Models.
Frame Buffer Applications
CS 480/680 Computer Graphics Shading.
Presentation transcript:

Field Visualisation Jane Tinslay, SLAC October 2006

Jane Tinslay, SLAC1 Outline Objectives Requirements Current Status Future plans

Jane Tinslay, SLAC2 Objectives Develop generic field visualisation system  Automatic & interactive field line generation  3D & 2D viewing  Animation  Offer range of visualisation methods - arrow plots, streamlines, line integral convolution…

Jane Tinslay, SLAC3 Requirements Interactive capability very important  Explore potentially complicated field configurations  Field visualisation needs to be fast Occulusion a big problem in 3D field visualisation  Provide techniques to improve depth perception Multiple streamline seeding strategies Multiple streamline integration methods Multiple visualisation methods Integration into Geant4 framework  All drivers should have access to generated streamlines  Front end visualisation framework should be independent of field type

Jane Tinslay, SLAC4 Current Status Reasonably early stage General flow visualisation approach  “Strategies for Interactive Exploration of 3D Flow Using Evenly-Spaced Illuminated Streamlines” Oliver Mattausch, Thomas Theul, Helwig Hauser, and Meister Eduard Groller Prototype automatic generation of evenly spaced streamlines Investigating streamline visualisation techniques  Use Open Inventor to implement illuminated streamlines

Jane Tinslay, SLAC5 Evenly Spaced Streamlines “Creating Evenly-Spaced Streamlines of Arbitrary Density”, Bruno Jobard and Wilfrid Lefer  Simple algorithm to generate long, evenly spaced streamlines in a single pass  Generate seed points a distance d sep from each streamline  Integrate forwards and backwards until streamline comes within a distance d test to an existing streamline, where d test = x%*dsep

Jane Tinslay, SLAC6 Use regular cartesian search grids to test validity of next seed/streamline point For simplicity, test distance between candidate point and sample points along existing streamlines Use G4ClassicalRK4 for actual streamline integration Hard code magnetic field configuration for testing

Jane Tinslay, SLAC7 Streamline Visualisation Use standalone Open Inventor (Coin) app for testing Test case based on streamlines generated with G4LineCurrentMagField  21 streamlines  2947 vertices Rendering using cylinders too slow for interactive investigation of field Poor visual perception with regular line primitives  No illumination Illuminated lines produce reasonable effects  ~25 times faster than cylinders

Jane Tinslay, SLAC8 Illuminated Streamlines “Interactive Visualization Of 3D-Vector Fields Using Illuminated Stream Lines” Malte Zockler, Detlev Stalling, Hans-Christian Hege Realistic illumination of line primitives through hardware based texture mapping Generalisation of Phong reflection model of diffuse, ambient and spectral terms. Light intensity given by:  V = viewing direction  R = reflection vector  N = shininess (width of highlights)

Jane Tinslay, SLAC9 For line primitives, define normal as the normal coplanar to L and tangent T Expensive to calculate new normal for each new view/light direction in software  Exploit texture mapping capabilities of graphics hardware  OpenGL Ref: Zoller

Jane Tinslay, SLAC10 Manipulate lighting equation such that light intensity is calculated using texture map & texture matrix  Texture coordinates given by tangent vector  Reload texture matrix with new viewing/lighting directions when necessary  Strealine colour defined through texture map Texure matrix Example texture map

Jane Tinslay, SLAC11 Haloing Simple way to enhance depth perception Draw a larger black line behind streamline to form a black border

Jane Tinslay, SLAC12 Line/Cylinder Comparisons

Jane Tinslay, SLAC13

Jane Tinslay, SLAC14 Conclusions & Future work Fast illuminated streamline visualisation promising  Understand artifacts  Perhaps create a toggle between line & cylinder rendering methods Investigate other methods enhancing visual perception for line primitives  Fog  Tapering  Transparency  Colour  …

Jane Tinslay, SLAC15 Investigate more seeding strategies  Spacing proportional to field strength  Seeding templates for known field configurations  Random seeding Streamline integration  Integration methods  Access to field in Geant4 For December release, look at integrating BlineTracer example into visualisation system Aim to release some of new streamline based work in June release