Difference between revisions of "Bending light"

From BRL-CAD
(http://unqualified-reservations.blogspot.com/2008/05/ol4-dr-johnsons-hypothesis.html - explains different types of societies, control-f "type 1", "type 2", and "type 3")
m (Reverted edits by User000name (talk) to last revision by Sean)
 
Line 3: Line 3:
 
The existing ray tracers either shoot a grid of rays orthogonal to an image view plane or shoot rays divergent to a view plane for perspective images.  The rays travel in a straight line until they hit something whereupon the optics library is called to calculate a color, usually for rendering pixels of a picture.
 
The existing ray tracers either shoot a grid of rays orthogonal to an image view plane or shoot rays divergent to a view plane for perspective images.  The rays travel in a straight line until they hit something whereupon the optics library is called to calculate a color, usually for rendering pixels of a picture.
  
This task involves adding support for rays that don't necessarily traverse in a straight line.  This will probably entail changes to LIBOPTICAL, LIBRT, or both.  A proposal of changes will need to be written up and discussed beforehand.  Any implementation of ray bending should be consistent with the existing API and will need to be maintainable within BRL-CAD's sources.
+
This task involves adding support for rays that don't necessarily traverse in a straight line.  This will probably entail changes to either LIBOPTICAL and/or LIBRT.  A proposal of changes will need to be written up and discussed beforehand.  Any implementation of ray bending should be consistent with the existing API and will need to be maintainable within BRL-CAD's sources.
  
 
=References=
 
=References=

Latest revision as of 17:12, 5 December 2017

BRL-CAD provides extensive facilities for representing geometry and a robust high-performance ray tracing library for interrogating geometry. BRL-CAD's LIBRT ray tracing library provides a means to shoot rays at geometry, obtain intersection hit points, obtain object thicknesses, and much more. BRL-CAD's LIBOPTICAL and LIBMULTISPECTRAL optics libraries control shooting rays with the intention of representing energy transport (e.g., light rays) with various possible outputs (such as rendering an image).

The existing ray tracers either shoot a grid of rays orthogonal to an image view plane or shoot rays divergent to a view plane for perspective images. The rays travel in a straight line until they hit something whereupon the optics library is called to calculate a color, usually for rendering pixels of a picture.

This task involves adding support for rays that don't necessarily traverse in a straight line. This will probably entail changes to either LIBOPTICAL and/or LIBRT. A proposal of changes will need to be written up and discussed beforehand. Any implementation of ray bending should be consistent with the existing API and will need to be maintainable within BRL-CAD's sources.

References[edit]

  • src/librt
  • src/liboptical
  • src/rt/view*.c
  • include/raytrace.h
  • include/optical.h

Requirements[edit]

  • Strong familiarity with C