[comp.graphics] Any more hyp. users out there?!

Didier.Badouel@irisa.fr (Didier Badouel) (08/03/90)

In article <9971@hubcap.clemson.edu>, rsb@ccvr1.ncsu.edu (R. Scott
Bartlett) writes:
|> I've gotten my hands on VM_pRAY, and i've gotten it to generate an
|> output file, but i have no clue as to what or how to display it.  What
|> format is it?  Does anyone have any utilities to conver it it to say
|> sunraster, GIF, IFF, iris, etc...?

You have two ways to display images from VM_pRAY. In the latest version
of VM_pRAY (VM_pRAYjul90.tar), the image format may be either ppm or
mtv.

	ppm (portable pixmap file format)
	    Copyright (C) 1989 by Jef Poskanzer.
	    utilities to convert ppm file (24bit) to
	    either sunraster, GIF, ... are available from
   	    ftp.ee.lbl.gov [128.3.254.68]: *pbmplus.tar.Z*. ,
	    via anonymous ftp
	    
	mtv (output  from  Mark  VanDeWettering's  ray tracer)

you can:

1) If you get the ppm package, a use of the ppm utilities may
   be 
	ppmquant 256 < image.ppm | ppmtogif > image.gif
	xloadimage image.gif

2) If you don't want to install the ppm package, you can use
   utilities from our site 
	irisa.fr [131.254.2.3]:  */iPSC2/VM_pRAY/color

	This directory contains programs to display an image 24 bits
	on 8 bits screen running under X window system:

	The routines generated accept the image format procuced by
	VM_pRAY (either mtv or ppm):

        Xnb:            display the image with grey level.
                        use:
                                Xnb < image.mtv
                                        or
                                      image.ppm

        Xrvb:           a simple program to display an image color.
                        (not very pretty but fast).
                        use:
                                 Xrvb < image.ppm
                                          or
                                        image.ppm

        comp24to8:      generate a 8 bits image color with a good
                        colormap compression. The 8 bits image is
                        stored as a sun rasterfile file.
                        use:
                                comp24to8 < image.rvb > image.ras
                                              or
                                            image.ppm
                        display:
                                xloadimage image.ras



-Hope this help,

-didier badouel.