[comp.graphics] DBW X viewer and modeler?

yee@osf.org (09/20/89)

	Does anyone know of a X viewer for DBW generated pictures?  Or,
	what is the process involved in displaying a DBW generated picture
	on a X workstation?  I have version DBW ray tracer V1.0, the fuzzy
	bitmap programs, and xgif.  Do I have the right pieces to generate
	and display ray-traced graphics on a X workstation?

	Many thanks,

	=Mike

= Michael K. Yee =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= OPEN Software Foundation -- 11 Cambridge Center -- Cambridge, MA 02142
= Phone: 617-621-8831      Email: yee@osf.org or uunet!osf.org!yee    First
"All side effects are effects. We can never do merely one thing." Law of Ecology

olsen@hpfcdq.HP.COM (John Olsen) (09/22/89)

yee@osf.org writes:
>	Does anyone know of a X viewer for DBW generated pictures?  Or,
>	what is the process involved in displaying a DBW generated picture
>	on a X workstation?  I have version DBW ray tracer V1.0, the fuzzy
>	bitmap programs, and xgif.  Do I have the right pieces to generate
>	and display ray-traced graphics on a X workstation?

I'm currently trying to hack on fil.c in DBW to get it to use the same file
format as the QRT ray tracer.  Once that's done (and you pester me until
I give it to you), you can generate something that fbm knows how to play 
with.  I still have some problems with it, but it's getting close.  It
generates a correct file format, but the data is swapped msb to lsb. :^)

I'm doing this so I can take advantage of some of the features like anti-
aliasing, and fade to (r,g,b) at a given distance, neither of which QRT
will do.

John M. Olsen, Graphics Software Engineer
olsen@hpfcdq.HP.COM  -or-  ...!hplabs!hpfcdq!olsen
(W) Hewlett-Packard, Mail Stop 73, 3404 E. Harmony Road, Ft Collins, CO 80525
(H) 700 E. Drake Rd. #E12, Ft Collins, CO 80525

cmf@obie.cis.pitt.edu (Carl M. Fongheiser) (09/24/89)

In article <390038@hpfcdq.HP.COM> olsen@hpfcdq.HP.COM (John Olsen) writes:
] yee@osf.org writes:
] >	Does anyone know of a X viewer for DBW generated pictures?  Or,
] >	what is the process involved in displaying a DBW generated picture
] >	on a X workstation?  I have version DBW ray tracer V1.0, the fuzzy
] >	bitmap programs, and xgif.  Do I have the right pieces to generate
] >	and display ray-traced graphics on a X workstation?
] 
] I'm currently trying to hack on fil.c in DBW to get it to use the same file
] format as the QRT ray tracer.  Once that's done (and you pester me until
] I give it to you), you can generate something that fbm knows how to play 
] with.  I still have some problems with it, but it's getting close.  It
] generates a correct file format, but the data is swapped msb to lsb. :^)

If I'm not mistaken, the FBM stuff already knows how to deal with IFF
files, which is what the output of ray2 is.  If you try to run ray2
on a little-endian machine (like VAX's and stuff), you'll need to fix
ray2.c to use the correct byte order for writing out integers.  Just
find all the places where it does fwrite()'s of wrd or lng, and change
them to use new routines which always write out the integers in
big-endian format.

I've been quite impressed with the output of DBW. 

				Carl Fongheiser
				cmf@unix.cis.pitt.edu

ofer@gandalf.Berkeley.EDU (Ofer Licht) (09/24/89)

In article <19702@unix.cis.pitt.edu> cmf@obie.cis.pitt.edu (Carl M. Fongheiser) writes:
>If I'm not mistaken, the FBM stuff already knows how to deal with IFF
>files, which is what the output of ray2 is.  If you try to run ray2
>on a little-endian machine (like VAX's and stuff), you'll need to fix
>ray2.c to use the correct byte order for writing out integers.  Just
>find all the places where it does fwrite()'s of wrd or lng, and change
>them to use new routines which always write out the integers in
>big-endian format.
>
>I've been quite impressed with the output of DBW. 
>
>				Carl Fongheiser
>				cmf@unix.cis.pitt.edu


I've already done the (minor) port of DBW (back) to vax/sun machines.
you can grab it off of xanth.cs.odu.edu by anonymous ftp in the amiga
directory.  There are also hooks for distributed processing--grab
distpro.zoo from the same place.

Ofer Licht
ofer@gandalf.berkeley.edu


(NOTE: the updated dbw still produces IFF files as the end result.)