Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!rex!ames!sgi!shinobu!odin!cashew.asd.sgi.com!kurt From: kurt@cashew.asd.sgi.com (Kurt Akeley) Newsgroups: comp.sys.sgi Subject: Re: rectwrite on 70G series machines... Message-ID: <11144@odin.corp.sgi.com> Date: 31 Jul 90 00:37:39 GMT References: <9007291150.AA09984@mcirps2.med.nyu.edu> Sender: news@odin.corp.sgi.com Reply-To: kurt@cashew.asd.sgi.com (Kurt Akeley) Organization: sgi Lines: 42 In article <9007291150.AA09984@mcirps2.med.nyu.edu>, root@MCIRPS2.MED.NYU.EDU writes: |> |> 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 { |> color(Image[i][j]); |> pnt2i(i,j); |> } |> |> |> |> dan. my direct response to dan bounced, so i'll respond on the net. rectwrite was added to the GL when the GT was released. it was not ported to the 70G at that time (i think release 3.0). at some later release, probably 3.1, it was ported to the 70G. it is definitely supported on 70G in the 3.3 release, almost certainly in the 3.2 release. perhaps someone else knows exactly which release added rectwrite to the 70G? -- kurt