Re: Writing x, y to NSBitmapImageRep

2008-03-31 Thread Eddie Hebert
optimization issues. [rayTracer.imageRep drawInrect:rect]; Le 31 mars 08 à 16:21, Eddie Hebert a écrit : It appears to be properly storing the values, through inspection from NSLog and colorAt. The next step is drawing, I am trying to show incremental updates of the progress of the render engine

Re: Writing x, y to NSBitmapImageRep

2008-03-31 Thread Eddie Hebert
using -initForIncrementalLoad expects that you call -incrementalLoadFromData:complete: Le 31 mars 08 à 15:54, Eddie Hebert a écrit : I have a need to store and draw an image that I create iteratively over each pixel. I am trying to use NSBitmapImageRep with setColor: x: y:, to do so

Writing x, y to NSBitmapImageRep

2008-03-31 Thread Eddie Hebert
I have a need to store and draw an image that I create iteratively over each pixel. I am trying to use NSBitmapImageRep with setColor: x: y:, to do so. Within the constructor of my "rendering engine" class, I instantiate a NSBitmapImageRep, thusly: _imageRep = [[NSBitmapImageRep alloc] init