From theseas!Princeton.EDU!cek Wed, 17 Aug 94 23:48:39 EET
Received: by kriton.UUCP (V1.17-beta/Amiga)
	  id <045o@kriton.UUCP>; Wed, 17 Aug 94 23:48:39 EET
Received: by theseas.ntua.gr with UUCP; Thu, 11 Aug 1994 23:31:07 +0300
Received: from nemesis.ics.forth.gr (nemesis.csi.forth.gr) by pythia.forthnet.gr via FORTHnet with SMTP;
	id AA03147 (5.65c/FORTH-ICS-3.0-MHS-7.0); Thu, 11 Aug 1994 22:53:00 +0300
Received: from eunet.EU.net by nemesis.ics.forth.gr via FORTHnet with SMTP;
	id AA04960 (5.65c/ICS-1.1); Thu, 11 Aug 1994 22:44:03 +0300 (EET DST)
Received: (uunet@localhost) by eunet.EU.net (8.6.8/8.6.4) with UUCP id VAA09205 for ariadne!theseas!kriton!kyrimis; Thu, 11 Aug 1994 21:48:30 +0200
Received: from Princeton.EDU by relay1.UU.NET with SMTP 
	id QQxcnl00362; Thu, 11 Aug 1994 15:28:51 -0400
Received: from fs.Princeton.EDU by Princeton.EDU (5.65b/2.111/princeton)
	id AA27847; Thu, 11 Aug 94 15:28:37 -0400
Received: by cs.Princeton.EDU (4.1/1.105)
	id AA04809; Thu, 11 Aug 94 15:28:36 EDT
Received: from carshp.carsinfo.com by cs.Princeton.EDU (4.1/1.105)
	id AA04751; Thu, 11 Aug 94 15:28:20 EDT
Received: by carshp.carsinfo.com
	(1.38.193.5/15.6) id AA20552; Thu, 11 Aug 1994 15:28:27 -0400
Organization: Institute of Computer Science, 
	Foundation for Research and Technology-Hellas (FORTH)
 	Science and Technology Park
 	P.O.Box 1385, GR 711 10 Heraklion, Crete, Greece        
 	tel.: +30 (81) 39 16 00,  fax: +30 (81) 39 16 01
Message-Id: <9408111928.AA04751@cs.Princeton.EDU>
Date: Thu, 11 Aug 1994 15:28:27 -0500 (EDT)
Original-Cc: rayshade-users@cs.Princeton.EDU
In-Reply-To: <Pine.3.89.9408111021.A11869-0100000@barrym> from "Barry Moyer" at Aug 11, 94 10:33:44 am
X-Mailer: ELM [version 2.4 PL21]
Content-Type: text
Content-Length: 927
Errors-To: rayshade-users-request@cs.Princeton.EDU
Remailed-Date: Thu Aug 11 15:28:25 EDT 1994
From: "Eric E. Bardes" <eric@carsinfo.com>
To: barrym@sa-cgy.valmet.com (Barry Moyer)
Subject: Re: Rayshade output format

> I am using Rayshade v4.0.7 on an Alpha OSF/1 v2.0 system that was 
> installed *WITHOUT* the Utah Raster Toolkit.  I would like to know 
> what I can use to view the resulting pictures.  

I've made a one-line patch to the file picture.c in libshade that 
modifies the output to the PPM format that "xv" can read.  

File: picture.c
321c321
< 	fprintf(Options.pictfile,"P6\n%d %d\n255\n",Screen.xsize, Screen.ysize);
---
> 	fprintf(Options.pictfile,"%d %d\n",Screen.xsize, Screen.ysize);

I also modified image.c in libray/libimage to read the same format.  I 
personally think that this format would be useful enough for begining 
rayshade users that it should be the default format for non-URT builds.  

-- 
http://www.carsinfo.com/~eric/
Take Care --             ,,,
Eric                    (o o)
--------------------oOOo-(_)-oOOo---------------------------------------
Osborn's Law:
  Variables won't; constants aren't.

----------
Administrivia: rayshade-users-request@cs.princeton.edu
Mailing list: rayshade-users@cs.princeton.edu

