Also Known As: DBW_uRay, Microray
|Maximum Image Size
|Multiple Images Per File
|David B. Wecker
|uRay ray tracing application
Description of 3D scenes for ray tracing or other rendering applications.
A simple scene description format useful for specifying 3D objects. This is a good format to look at if you are considering building your own ray-trace format or application.
Vendor specifications are available for this format.
Code fragments are available for this format.
uRay is the format created by David B. Wecker for use by the uRay (Microray) ray tracer. It provides a simple way of specifying a small number of 3D objects.
For Further Information
Like those of many other ray-trace formats, uRay files consist of a number of ASCII lines implementing a proprietary command language, in this case the uRay scene description language.
Commands used in writing uRay files may consist of the following:
|Columns in an image
|Rows in an image
|Row number at which to begin rendering operations
|Row number at which to end rendering operations
|Bits per pixel in output image (12 or 24)
|Image aspect ratio
|Background color for "sky" near eye
|Background color for "sky" far from eye
|Background color below horizon
|Blackness of shadows
where n is the number of lines following the WAVES keyword. Each line consists of the following:
|x y z
|Starting amplitude of the wave
|Starting phase shift
|Damping between successive waves
where n is the number of lines following the ATTRIBUTES keyword. Each line consists of the following:
r g b
Index of refraction
Inverse square law distance
Texture; may be one of the following:
l r g b x y z
Checks in color (r g b) at scale (x y z)
2 r g b
3 r g b a b c
Blend in x direction
4 r g b a b c
Blend in y direction
5 r g b a b c
Blend in z direction
The following objects are predefined:
See the uRay documentation for detailed information about parameters.
For further information about the uRay format, see the uRay documentation included on the CD-ROM accompanying this book. You can also contact the author:
David B. Wecker
Digital Equipment Corporation
Cambridge Research Lab
One Kendall Square
Cambridge, MA 02139
Copyright © 1996, 1994 O'Reilly & Associates, Inc. All Rights Reserved.