Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!brutus.cs.uiuc.edu!apple!sun-barr!ccut!titcca!kddlab!uunet!mcsun!inria!geocub!schlick From: schlick@geocub.greco-prog.fr (Christophe Schlick) Newsgroups: comp.sources.wanted Subject: Re: Utah Raster toolkit need! Message-ID: <1639@geocub.greco-prog.fr> Date: 10 Feb 90 12:27:48 GMT References: <196@vu-vlsi.Villanova.EDU> <336@teda.UUCP> Reply-To: schlick@geocub.greco-prog.fr (Christophe Schlick) Organization: Greco-Programmation, Bordeaux, France. Lines: 39 In article <336@teda.UUCP> clark@teraida.UUCP (Chris Clark) writes: >In article <196@vu-vlsi.Villanova.EDU> lam@vu-vlsi.UUCP (Anthony Lam) writes: >> >> Can somebody in the netland send me the latest vision of Utah Raster >>toolkit? I don't have access to ftp so if someone could email me the source >>it would be appreciated. >> >>Tony lam@vu-vlsi.UUCP >> >I have the same problem, this is of course because RAYSHADE was just posted >and everyone who has generated output like myself wants to see it in XYZ >format. The file BLURB.UTAH that comes with RAYSHADE specifically states >UR toolkit is too big to mail and to send $200 for a 9-track tape. Utah Raster Toolkit is not needed to display images generated by RayShade. The only thing to do is to compile RayShade with the -DNORLE option. This will prevent RayShade to output an RLE file, and makes it output an image file very close to MTV RayTracer's one. The format is the following : Xsize_of_the_image (Numerical string) Space (1 byte) Ysize_of_the_image (Numerical string) Newline (1 byte) Pixel_1_red_byte (1 byte) Pixel_1_green_byte (1 byte) Pixel_1_blue_byte (1 byte) Pixel_2_red_byte (1 byte) ... The only difference between RayShade and MTV formats, is that the first scanline is at the bottom of the image for Rayshade, and at the top for MTV. The output file is in a raw, not compressed, not encoded --- and thus big --- format, but should be easily displayed on every machine. --- SCHLICK Christophe ...!uunet!mcvax!inria!geocub!schlick University of Bordeaux I schlick@geocub.greco-prog.fr