USolids meeting 01.06.2015. Conventions. DistanceToIn(p,v) Geant4USolidsVecGeomROOT Point p is Outside No intersection Between shape and ray(p+v*t) Infinity.

Slides:



Advertisements
Similar presentations
Light Lenses.
Advertisements

Notation for Mirrors and Lenses
Bellringer What color would a basketball appear to be if under an orange flashlight? What color would it appear to be if under a red flashlight?
Chapter 32Light: Reflection and Refraction. Electromagnetic waves can have any wavelength; we have given different names to different parts of the wavelength.
Lenses and Mirrors Mrs. Gergel. Lenses and Mirrors Mrs. Gergel.
 Mirrors that are not flat are called curved mirrors.  Depending on whether the reflective coating is on the inside or outside of the curve will decide.
Reflection Light incident upon a boundary between
Chapter 25. The Reflection of Light: Mirrors
Light: Geometric Optics
Mirrors Ch. 20. Mirrors Mirror – any smooth object that reflects light to form an image.
Curved Mirrors. Two types of curved mirrors 1. Concave mirrors – inwardly curved inner surface that converges incoming light rays. 2. Convex Mirrors –
Vocabulary 2.2 – Curves and two dimensional figures (part 1) MA418 Spring 2010 McAllister.
Curved Mirrors and Ray Diagrams SNC2D. Concave Mirrors A concave mirror is a curved mirror with the reflecting surface on the inside of the curve. The.
Formation of Images by Spherical Mirrors
Curved Mirrors The most common type of curved mirror is a spherical mirror A spherical mirror has the shape of a section from the surface of a sphere.
© 2005 Pearson Prentice Hall This work is protected by United States copyright laws and is provided solely for the use of instructors in teaching their.
Formation of Images by Spherical Mirrors. For an object infinitely far away (the sun or starts), the rays would be precisely parallel.
Chapter 19 – Optics Jennie L. Borders.
7.6.c Students know light travels in straight lines if the medium it travels through does not change. 7.6.g Students know the angle of reflection of a.
Write down each definition and match it with the correct term. 1.A picture of an object formed by light rays 2.The point where parallel light rays striking.
Ray Optics: Reflection and Refraction Rays Representation of the path that light follows Represent beams of light that are composed of millions.
Ch. 2.3 REFLECTION AND REFRACTION. Reflection Reflection occurs when an object or wave bounces back off a surface through which it cannot pass Law of.
Lenses and Mirrors. How does light interact with pinholes? How does light interact with lenses? –___________ How does light interact with mirrors? –___________.
LIGHT AND ITS USES. LIGHT RAY STRAIGHT LINE PATH OF LIGHT.
Polygons Polygons. Polygon Any shape where every segment intersects exactly two others at its endpoints.
Optics and Light Lenses form images by refracting light.
Light wave Recall: Light must reflect off of an object before it can be used to see the object. A flat mirror is called a plane mirror. A plane mirror.
PROOF OF d i = d o ii rr 11 22 . DESCRIPTION OF d i = d o  Ray of light leaves base & strikes mirror at  i (reflected at same  )  Angles.
Section 5.3 Images in Curved Mirrors 1.  Concave mirrors have a reflecting surface that curves inward like the inside of a spoon.  Some common uses:
3/4/ PHYS 1442 – Section 004 Lecture #18 Monday March 31, 2014 Dr. Andrew Brandt Chapter 23 Optics The Ray Model of Light Reflection; Image Formed.
Warm Up Week 1. Section 6.1 Day 1 I will identify, name, and describe polygons. Ex 1 PolygonHas three or more sides that connect at endpoints.
Geometry 10-1 Solids Face: the flat side of a figure
Chapter 36 Image Formation.
12.1 Characteristics of Lenses. Today we will learn about...  the different types of lenses, the characteristics of the image formed by each of those.
Chapter 29 Reflection & Refraction May 16 – 23 Mr. Gaydos.
Sec  Review of Law: the angle of reflection is equal to the angle of incidence  We use ray diagrams to show how light rays change direction when.
A polygon is a closed figure made by joining line segments, where each line segment intersects exactly two others. Polygons.
Shape Tester. What we need? 1) Tests: a)Test individual shapes Correctness and consistency(like original SBT test, OpticalEscape, ShapeChecker) Accuracy(precision.
Reflection & Mirrors. Reflection The turning back of an electromagnetic wave (light ray) at the surface of a substance. The turning back of an electromagnetic.
+. + Lenses and Mirrors Mrs. Gergel + Refraction of light When light rays enter a new medium at an angle the change in speed causes them to bend, or.
Unit 6: Lenses and Mirrors 313 Fall Agenda 11/30/15 Review Unit 5 Exam: – Learning Target Check Begin Quarter 2 Project.
 A lens is a transparent object with at least one curved side that causes light to refract  Like mirrors, lenses have surfaces that are described as.
MIRRORS AND LENSES PAGE 59 OF INB EQ Why is distance important when discussing mirrors and lenses?
Mirrors.
2-3 Reflection and Refraction
How to save the appeal form before submission Click to continue.
Computer Graphics Lecture 08 Taqdees A. Siddiqi Computer Graphics Filled Area Primitives I Lecture 08 Taqdees A. Siddiqi
Reflection of Light Reflection – the turning back of an electromagnetic wave at the surface of a substance.
Quadrilaterals Jacob, Allie, and Jesenia. Definition ★ Quadrilateral means “4 sides ★ “Quad” means 4 and “lateral” means sides.
Reflection of Light Reflection – The bouncing back of a particle or wave that strikes the boundary between two media. Law of Reflection – The angle of.
Reflection of Light Reflection – The bouncing back of a particle or wave that strikes the boundary between two media. Law of Reflection – The angle of.
Mirrors and Lenses.
Reflection & Mirrors.
Lenses and Mirrors Mrs. Gergel. Lenses and Mirrors Mrs. Gergel.
While you are watching the video think about why this is happening.
Perimeter.
Light Standard 10.
Polygon Definition: A closed figure.
The Study of Mirrors and Lenses
Reflections in Mirrors
CURVED MIRRORS.
12.1 – Characteristics of Lenses
Characteristics of Lenses
Convex and Concave Lenses
2- and 3-Dimensional Figures
Clipping Polygons Dr. Scott Schaefer.
Light and Lenses While Mirrors involve the reflection of light and the images we see, Lenses involve another property of light, refraction, or the effects.
A polygon is a plane figure with three or more than three segments.
Lens Equations.
Lenses
Presentation transcript:

USolids meeting

Conventions. DistanceToIn(p,v) Geant4USolidsVecGeomROOT Point p is Outside No intersection Between shape and ray(p+v*t) Infinity Point p is Outside Intersection Between shape and ray(p+v*t) Distance Point p is on Surface0, if 'entering shape', normal.dot(v)<=0 Infinity, if 'leaving shape', normal.dot(v)>0 0, if 'entering shape', normal.dot(v)<=0 Infinity, if 'leaving shape', normal.dot(v)>0 0, if 'entering shape' Infinity, if 'leaving shape' 0, if 'entering shape', normal.dot(v)<=0 Infinity, if 'leaving shape', normal.dot(v)>0 Point p is Inside “Wrong side” No general rule(?), depends on shape 0-Distance If Distance(p,v)<halfTolerance 00Distance DistanceToIn(p,v) return the exact distance (double) to the surface of the shape for given point p and direction v. Normal is pointing outwards shape.

Convex shape with flat surfaces, conventions for 'scratching' directions v p1 p1 : DistanceToIn(p1,v) = L1 p2 : DistanceToIn (p2,v) = 0, (normal1,v) < 0 DistanceToOut(p2,v) = L2, (normal1,v) < 0 p3 : DistanceToIn (p3,v) = Infinity, (normal2,v) > 0 DistanceToOut(p3,v) = 0, (normal2,v) > 0 L1 p2 p3 L2 normal1 normal2

Convex shape with curved surfaces, conventions for 'scratching' directions p1 : DistanceToIn (p1,v) = Infinity, (normal1,v) = 0 DistanceToOut(p1,v) = 0, (normal1,v) = 0 p1 v normal1

Concave shape with curved surfaces, 'scratching' directions P1 : DistanceToIn (p1,v) = 0, (normal1,v) = 0 DistanceToOut(p1,v) = L, (normal1,v) = 0 p1 v normal1 L Concave shape with curved surfaces, 'scratching' directionsConcave shape with curved surfaces, Concave shape with flat surfaces, 'scratching' directions p1 : DistanceToIn(p1,v) = L1, not Infinity p2 : DistanceToIn (p2,v) = 0, (normal1,v) < 0 DistanceToOut(p2,v) = L2, (normal1,v) < 0 p3 : DistanceToIn (p3,v) = Infinity, (normal2,v) > 0 DistanceToOut(p3,v) = 0, (normal2,v) > 0 L1 L2 p1 p2 normal1 normal2 p3 v

Concave shapes, 'reentering' directions p1 : DistanceToIn(p1,v) = L1, not Infinity p1 p2 v

Conventions. DistanceToIn(p,v) Geant4USolidsVecGeomROOT Point p is Outside No intersection Between shape and ray(p+v*t) Infinity Point p is Outside Intersection Between shape and ray(p+v*t) Distance Point p is on Surface0, if 'entering shape', normal.dot(v) < 0 for convex shapes Infinity for convex shapes or Distance to next Intersection for concave shapes, if 'leaving shape', normal.dot(v) >= 0 for convex shapes 0, if 'entering shape', normal.dot(v) < 0 for convex shapes Infinity for convex shapes or Distance to next Intersection for concave shapes, if 'leaving shape' normal.dot(v) >= 0, for convex shapes 0, if 'entering shape' Infinity for convex shapes or Distance to next Intersection for concave shapes, if 'leaving shape' 0, if 'entering shape', normal.dot(v) < 0 for convex shapes Infinity for convex shapes or Distance to next Intersection for concave shapes, if 'leaving shape', normal.dot(v) >= 0 for convex shapes Point p is Inside “Wrong side” No general rule(?), depends on shape 0-Distance If Distance(p,v)<halfTolerance 00Distance DistanceToIn(p,v) return the exact distance (double) to the surface of the shape for given point p and direction v. Normal is pointing outwards shape.

Conventions. DistanceToOut(p,v) Geant4USolidsVecGeomROOT Point p is Inside No intersection Between shape and ray(p+v*t), “wrong result” Infinity, as default value Point p is Inside Intersection Between shape and ray(p+v*t) Distance Point p is on Surface0, if 'leaving' shape, normal.dot(v) >= 0 for convex shape DistanceTo next boundary, if 'entering' shape, normal.dot(v) < 0 for convex shape 0, if 'leaving' shape, normal.dot(v) >= 0, for convex shape DistanceTo next boundary, if 'entering' shape, normal.dot(v) < 0 for convex shaper 0, if 'leaving shape' DistanceTo next boundary, if 'entering shape' 0, if 'leaving' shape, normal.dot(v) >= 0 for convex shape DistanceTo next boundary, if 'entering' shape,normal.dot(v) < 0 for convex shape Point p is Outside “Wrong side” No general rule(?), depends on shape 0-Distance If Distance(p,v)<halfTolerance 00Distance DistanceToOut(p,v) return the exact distance (double) to the surface of the shape for given point p and direction v. Normal is pointing outwards shape.

Conventions. SafetyFromOutside(p) Geant4USolidsVecGeomROOT Point p is Outside Safety Point p is on Surface 0000 Point p is Inside “Wrong side” 00-Safety SaferyFromOutside estimates isotropic distance to the surface of the shape from Outside. This must be either accurate or an underestimate.

ShapeTester update 1.Separate testing for different conventions for USolids and VecGeom. 2. Add error handling as in unit tests. 3.TestSurfacePoint : Add test for point on Surface for “0/Infinity” check for Distances. Before test was reporting error only if both DistanceToIn(p,v) and DistanceToOut(p,v) are not zero.

Conventions. SafetyFromInside(p) Geant4USolidsVecGeomROOT Point p is Inside Safety Point p is on Surface 0000 Point p is Outside “Wrong side” 00-Safety SaferyFromInside(p) estimates isotropic distance to the surface of the shape from Inside point p. This must be either accurate or an underestimate.