| Title: | AMIGA NOTES |
| Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
| Moderator: | HYDRA::MOORE |
| Created: | Sat Apr 26 1986 |
| Last Modified: | Wed Feb 05 1992 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 5378 |
| Total number of notes: | 38326 |
My Christmas present to the net:
A new Ray Tracer (DBW_uRAY (micro ray)) WITH SOURCE!
Location:
COOKIE::DISK$GZ_2:[WECKER.URAY]URAY.ARC
(Suggestion: Extract/download only what you need)
Details:
DBW_uRAY (micro raytracer) is a small raytracer developed for my own test
purposes and made available to anyone who wishes to play with ray tracing
algorithms. It runs on several different machines in many different
configurations. It has been tested on:
Amiga 68000/68010/68020 with/without 68881 (using Manx 3.6 compiler)
Vax Ultrix and VMS
Its features are:
- VERY good ray tracing algorithm
- Automatic oct-tree extent generation for FAST ray tracing
- Simple input file format
- SMALL easy to read code
- very portable
- built in advanced features like waves and textures
- generates .ILBM files directly
- generates .TMP files (compatable with DBW_RENDER v2.0)
- easy to extend
- progammable aspect ratio and angle of view
- single or double precision floating point
- automatic (no overhead) sky and ground generation
- dithered .ILBM file for much more accurate color reproduction
- can generate 24 bit .TMP files ( 16 million colors )
- can generate pictures upto 1024 x 1024
=====
FILES
=====
README - Documentation
LICENSE - License agreement
Makefile - rebuild control (see later section)
Make.version - retitle source files
display.c - ILBM display program for the Amiga
extent.c - automatic oct-tree extent generator
intersect.c - ray intersection calculations
output.c - output file generation (.ILBM and .TMP)
random.c - random number generator
rkm.c - RKM compression routines (for .ILBM files)
support.c - file input and support routines
texture.c - texture calculations
trace.c - actual ray tracing code
uray.c - main module
uray.h - global definitions
uray.dat - sample input file
uray_ux - compiled Ultrix version
uray_vm - compiled VMS version (uray.exe)
uray_s - compiled Amiga single precision version
uray_d - compiled Amiga double precision version
uray_c - compiled Amiga co-processor (68881) version
uray_2s - compiled Amiga 68020/single precision version
uray_2d - compiled Amiga 68020/double precision version
uray_2c - compiled Amiga 68020/68881 (coprocessor) version
display - compiled Amiga display program
Rename the "uray_??" file that you wish to use to "uray".
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1957.1 | LEDS::ACCIARDI | Time to change this damn message | Tue Dec 06 1988 12:54 | 12 | |
Dave, is it safe to assume that the 68881 version will work with
a CMI processor accelerator? This board has a high speed (14.34
MHz) 68000, but the 68881 is treated as a peripheral, not a
coprocessor.
Using CMI's board, the 68881 WILL be used if the standard 1.3 math
library is called.
Ed.
| |||||
| 1957.2 | HYSTER::DEARBORN | Trouvez Mieux | Tue Dec 06 1988 13:21 | 8 | |
Ed,
I suppose your system has tailfins too?
;^)
Randy
| |||||
| 1957.3 | Somethings missing here... | CAPN::SYLOR | Network Magic | Wed Dec 14 1988 21:43 | 3 |
Dave, when I copied the uray.arc file, It seems to be missing the display
program.
Mark
| |||||
| 1957.4 | Try VIEWILBM | SMAUG::SPODARYK | Twenty, 20, 20-4 hours to go... | Wed Dec 14 1988 23:40 | 16 |
I'll take the liberty to reply for Dave :^)
The executable is not included, but you may display the ILBM images
with VIEWILBM. This can probably be found in a number of places.
I think I grabbed it from TAPE::USER1:[AMIGA.ARC]viewilbm.arc.
This includes the code and executable, so between this and Dave'
code, I have quite a bit more C to look at and learn from.
~Steve
...something else to try. Run one of the DEC versions of uRAY on
the sample data. I'm sure it is fairly quick on our Amiga's, but
an 8700 really makes quick work of it. :^) Then just ARC it and
download to view it. Thanks Dave!
| |||||
| 1957.5 | THANKS DAVE !!!!!! | LEMAN::BLANC | Phil Lausanne-CH C/S 15-DEC-1988 16:20 | Thu Dec 15 1988 10:28 | 4 |
Here another thanks to Dave for these programs...wonderful !!!!
and really so fast on a 8700 (about 4 cpu minutes....) .
Phil
| |||||