# Ray tracing (physics)

﻿
Ray tracing (physics)

In physics, ray tracing is a method for calculating the path of waves or particles through a system with regions of varying propagation velocity, absorption characteristics, and reflecting surfaces. Under these circumstances, wavefronts may bend, change direction, or reflect off surfaces, complicating analysis. Ray tracing solves the problem by repeatedly advancing idealized narrow beams called "rays" through the medium by discrete amounts. Simple problems can be analyzed by propagating a few rays using simple mathematics. More detailed analyses can be performed by using a computer to propagate many rays.

When applied to problems of electromagnetic radiation, ray tracing often relies on approximate solutions to Maxwell's equations that are valid as long as the light waves propagate through and around objects whose dimensions are much greater than the light's wavelength. Ray theory does not describe phenomena such as interference and diffraction, which require wave theory (involving the phase of the wave).

Technique

Ray tracing works by assuming that the particle or wave can be modeled as a large number of very narrow beams (rays), and that there exists some (possibly very small) distance over which such a ray is locally straight. The ray tracer will advance the ray over this distance, and then use a local derivative of the medium to calculate the ray's new direction. From this location, a new ray is sent out and the process is repeated until a complete path is generated. If the simulation includes solid objects, the ray may be tested for intersection with them at each step, making adjustments to the ray's direction if a collision is found. Other properties of the ray may be altered as the simulation advances as well, such as intensity, wavelength, or polarization.

Uses

One particular form of ray tracing is radio signal ray tracing, which traces radio signals, modeled as rays, through the ionosphere where they are refracted and/or reflected back to the Earth. This form of ray tracing involves the integration of differential equations that describe the propagation of electromagnetic waves through dispersive and anisotropic media such as the ionosphere. An example of physics-based radio signal ray tracing is shown to the right. Radio communicators use ray tracing to help determine the precise behavior of radio signals as they propagate through the ionosphere.

The image at the right illustrates the complexity of the situation. Unlike optical ray tracing where the medium between objects typically has a constant refractive index, signal ray tracing must deal with the complexities of a spatially varying refractive index, where changes in ionospheric electron densities influence the refractive index and hence, ray trajectories. Two sets of signals are broadcast at two different elevation angles. When the main signal penetrates into the ionosphere, the magnetic field splits the signal into two component waves which are separately ray traced through the ionosphere. The ordinary wave (red) component follows a path completely independent of the extraordinary wave (green) component.

Ocean acoustics

Sound velocity in the ocean varies with depth due to changes in density and temperature, reaching a local minimum near a depth of 800-1000 meters. This local minimum, called the SOFAR channel, acts as a waveguide, as sound tends to bend towards it. Ray tracing may be used to calculate the path of sound through the ocean up to very large distances, incorporating the effects of the SOFAR channel, as well as reflections and refractions off the ocean surface and bottom. From this, locations of high and low signal intensity may be computed, which are useful in the fields of ocean acoustics, underwater acoustic communication, and acoustic thermometry.

Optical design

Ray tracing may be used in the design of lenses and optical systems, such as in cameras, microscopes, telescopes, and binoculars, and its application in this field dates back to the 1900s. "Geometric ray tracing" is used to describe the propagation of light rays through a lens system or optical instrument, allowing the image-forming properties of the system to be modeled. The following effects can be integrated into a ray tracer in a straightforward fashion:

*Polarization
** Crystal optics
** Fresnel equations
*Laser light effects
*Thin film interference (optical coating, soap bubble) can be used to calculate the reflectivity of a surface.

For the application of lens design, two special cases of wave interference are important to account for. In a focal point, rays from a point light source meet again and may constructively or destructively interfere with each other. Within a very small region near this point, incoming light may be approximated by plane waves which inherit their direction from the rays. The optical path length from the light source is used to compute the phase. The derivative of the position of the ray in the focal region on the source position is used to obtain the width of the ray, and from that the amplitude of the plane wave. The result is the point spread function, whose Fourier transform is the optical transfer function. From this, the Strehl ratio can also be calculated.

The other special case to consider is that of the interference of wavefronts, which, as stated before, are approximated as planes. When the rays come close together or even cross, however, the wavefront approximation breaks down. Interference of spherical waves is usually not combined with ray tracing, thus diffraction at an aperture cannot be calculated.

These techniques are used to optimize the design of the instrument by minimizing aberrations, for photography, and for longer wavelength applications such as designing microwave or even radio systems, and for shorter wavelengths, such as ultraviolet and X-ray optics.

Before the advent of the computer, ray tracing calculations were performed by hand using trigonometry and logarithmic tables. The optical formulas of many classic photographic lenses were optimized by roomfuls of people, each of whom handled a small part of the large calculation. Now they are worked out in optical design software such as Code-V, Zemax, OSLO or TracePro from Lambda Research. A simple version of ray tracing known as ray transfer matrix analysis is often used in the design of optical resonators used in lasers. The basic principles of the mostly used algorithm could be found in Spencer and Murty's fundamental paper: "General ray tracing Procedure". [cite journal |author=G. H. Spencer and M. V. R.K. Murty |title=General ray tracing Procedure |journal=J. Opt. Soc. Am. |volume=52 |issue=6 |pages=672–678 |year=1962 |url=http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19620005046_1962005046.pdf |format=PDF]

eismology

In seismology, geophysicists use ray tracing to aid in earthquake location and tomographic reconstruction of the Earth's interior. [Rawlinson, N., Hauser, J. and Sambridge, M., 2007. Seismic ray tracing and wavefront tracking in laterally heterogeneous media. Advances in Geophysics, 49. 203-267.] [cite book
title=Seismic Ray Theory
author=Cerveny, V.
year=2001
publisher=Cambridge University Press
] Seismic wave velocity varies within and beneath Earth's crust, causing these waves to bend and reflect. Ray tracing may be used to compute paths through a geophysical model, following them back to their source, such as an earthquake, or deducing the properties of the intervening material [ [http://web.ics.purdue.edu/~nowack/geos557/lecture14c-dir/lecture14c.htm Purdue University ] ] . In particular, the discovery of the seismic shadow zone (illustrated at right) allowed scientists to deduce the presence of Earth's molten core.

ee also

*Ocean acoustic tomography
*Ray transfer matrix analysis

References

Wikimedia Foundation. 2010.

### Look at other dictionaries:

• Ray tracing — is a method for calculating the path of waves or particles through a system. The method is practiced in two distinct forms:*Ray tracing (physics), which is used for analyzing optical and other systems *Ray tracing (graphics), which is used for 3D …   Wikipedia

• Ray (optics) — Ray of light redirects here. For other uses, see Ray of light (disambiguation). In optics, a ray is an idealized narrow beam of light. Rays are used to model the propagation of light through an optical system, by dividing the real light field up… …   Wikipedia

• physics — /fiz iks/, n. (used with a sing. v.) the science that deals with matter, energy, motion, and force. [1580 90; see PHYSIC, ICS] * * * I Science that deals with the structure of matter and the interactions between the fundamental constituents of… …   Universalium

• Photon tracing — is a rendering method similar to ray tracing and photon mapping for creating ultra high realism images.Rendering MethodThe method aims to simulate realistic photon behavior by using an adapted ray tracing method similar to photon mapping, by… …   Wikipedia

• History of Physics —     History of Physics     † Catholic Encyclopedia ► History of Physics     The subject will be treated under the following heads: I. A Glance at Ancient Physics; II. Science and Early Christian Scholars; III. A Glance at Arabian Physics; IV.… …   Catholic encyclopedia

• X-ray computed tomography — For non medical computed tomography, see Industrial CT Scanning. catSCAN redirects here. For the Transformers character, see Transformers: Universe. X ray computed tomography Intervention A patient is receiving a CT scan for cancer. Outsid …   Wikipedia

• OptiX — Графический движок Официальный логотип OptiX Разработчик nVidia Дата анонса 6 августа 2009 года Дата выпуска 5 ноября 2009 года …   Википедия

• Curved mirror — Reflections in a spherical convex mirror. The photographer is seen reflected at top right A curved mirror is a mirror with a curved reflective surface, which may be either convex (bulging outward) or concave (bulging inward). Most curved mirrors… …   Wikipedia

• List of radio propagation topics — This is a list of radio propagation terms. NOTOC A a index A index aa index active prominence active prominence region (APR) active region active surge region (ASR) active dark filament (ADF) AE index Air Force Geophysics Laboratory (AFGL) arch… …   Wikipedia

• Computation of radiowave attenuation in the atmosphere — One of the causes of attenuation of radio propagation is the absorption by the atmosphere. There are many well known facts on the phenomenon and qualitative treatments in textbooks.[1] A document published by the International Telecommunication… …   Wikipedia