Newsgroups: comp.parallel.pvm
From: edh@epx.cis.umn.edu (Eric Hendrickson)
Reply-To: Eric.D.Hendrickson-1@umn.edu
Subject: best method of transmitting many vectors (double)?
Summary: vectors of type double being passed from slave(s) to parent
Organization: University of Minnesota, Twin Cities
Date: Wed, 1 Jun 1994 00:40:08 GMT
Message-ID: <edh.770431208@epx.cis.umn.edu>

Hello, I am writing a ray tracer in InterViews and PVM, and I'm debating
how to transmit many, many Vectors of type double (actually type
ColorIntensity from InterViews) from the slave(s) to the parent process for
viewing.  The Vectors contain RGB values, as values between 0 and 1.  What 
I am wondering is if anyone has any advice on the best method for this.  I
could translate each RGB element into values from 0-255 and then pass them
to the parent (as ints).  Is there any advantage to passing ints rather
than doubles?  

Should I transmit each RGB-triple one at a time, or try to group them
somehow?  Would the unpacking be affected adversely by this?

Thanks for any suggestions,
			Eric
--
The National Short-Sleeved Shirt Association says:
	Support your right to bare arms!

Eric D. Hendrickson       Damnit!  I can't stop the heterocyclic declination!
Computer & Information Services                   Be careful, or be roadkill!
University of Minnesota, Twin Cities, USA                  The game is afoot!
<a href="http://www.umn.edu/~edh/">edh@epx.cis.umn.edu</a>       612/626-7761

