Answer to RECTRE problem

tom rohling trohling at uceng.UC.EDU
Wed Dec 6 08:49:19 AEST 1989


Thank's for responses on the RECTRE problem.  That has been resolved.

For those that may have encountered the problem now or in the future, here's
the scoop (at least as I understand it):

As posted by Gary Tarolli, 

>    On IRIS-4D GT and GTX models, the upper 4 bits of the 16-bit values
>    returned by rectread are undefined, and its performance will suffer if
>    x2 - x1 + 1 is odd.

This (unfortunately) was not in the manuals that we have, so I had never 
envisioned such an thing.

To 'correct' this so that you can read what the numbers actually are, you need
to clear all the bit planes with zeros to set the extra 4 bits to zero, which 
can be done by calling RGBCOL(0,0,0) (or rgbcolor(0,0,0)), (thank's Tom) 
then switch back to colormap mode and proceed as planned.

-Tom

P.S. What ever happened to the question about the existance of a Tex 
previewer for the 4D's?  Anything?



More information about the Comp.sys.sgi mailing list