Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!MCIRPS2.MED.NYU.EDU!root From: root@MCIRPS2.MED.NYU.EDU Newsgroups: comp.sys.sgi Subject: rectwrite on 70G series machines... Message-ID: <9007291150.AA09984@mcirps2.med.nyu.edu> Date: 29 Jul 90 10:03:36 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: karron%CMCL2.NYU.EDU@cunyvm.cuny.edu Organization: The Internet Lines: 34 X-Unparsable-Date: Sun, 29 Jul 90 04:50:20 DSD Does it work ? I am using a 70G machine, which was never very fast for pixel operations. I can not seem to get a patch of pixels to write from rectwrite(0,XSIZE,0,YSIZE,Image); The pixels are in an array of shorts. static Colorindex Image[XSIZE][YSIZE]; I can get the pixels out by doing a ortho2(-0.5,float(XSIZE)-0.5,-0.5,float(YSIZE-0.5)); for(i=0;i (212) 397 9330 | | New York, New York 10016 \**\ <2> 10896 <3> | | (212) 340 5210 \**\__________________________________________ | +-----------------------------------------------------------------------------+