pcb@gator.cacs.usl.edu (Peter C. Bahrs) (06/15/90)
I have rayshade patch 5 and UTAH raster toolkit. I have been splatting pictures on a VGA with my own stuff. I recompiled with the RLE formats and ran several pictures. But when I put them on the SUN3 Color monitor, the routine "to8" says is not an RLE file. hmmmm.... I thought the two systems were compatible. Do I have to check version numbers between the two? /*----------- Thanks in advance... --------------------------------------+ | Peter C. Bahrs | | The USL-NASA Project | | Center For Advanced Computer Studies INET: pcb@gator.cacs.usl.edu | | 2 Rex Street | | University of Southwestern Louisiana ...!uunet!dalsqnt!gator!pcb | | Lafayette, LA 70504 | +-----------------------------------------------------------------------*/
spencer@eecs.umich.edu (Spencer W. Thomas) (06/15/90)
> I recompiled with the RLE formats and ran several pictures. > But when I put them on the SUN3 Color monitor, the > routine "to8" says is not an RLE file. Sigh. I'm not sure what you're running rayshade on, but if it's a little-endian machine (i.e., the low order byte in a word comes first), and it's not a vax or pdp11, you will get this problem. The coming release (by the end of the month, really!) will totally fix this situation on all machines, with no human intervention needed. In svfb_global.h, find the line that says #if !defined(vax) && !defined(pdp11) and change it to #ifndef LITTLE_ENDIAN Then, if you are compiling the toolkit on a little endian machine (vax, pdp11, x86, dec mips, etc.) add a line #define LITTLE_ENDIAN 1 before this. Sorry. I hope this is the last time I need to post this message (i.e., I hope it doesn't come up again before we get the new release out.) -- =Spencer (spencer@eecs.umich.edu)