|
From: Roger H. <rog...@mi...> - 2008-03-18 19:57:57
|
On 18 Mar, 2008, at 17:11, Daniele Cavallini wrote:
> I wrote:
> case kQ3PixelTypeRGB32:
> case kQ3PixelTypeARGB32:
> {
> unsigned int pixel;
>
> pixel = ( correct ( rgbaPixels[i][3] ) <<
> 24) |
> // Alpha
> ( correct ( rgbaPixels[i][0] ) <<
> 16) |
> ( correct ( rgbaPixels[i][1] ) <<
> 8) |
> ( correct ( rgbaPixels[i][2] ) <<
> 0 ) ;
> *((unsigned int *)rowAddr) = pixel;
> }
> break;
> For all the configuration same code.
>
> For mac osx powerPC.............OK
> For mac osx Intel.....................OK
> For Windows XP.....................OK
> For Windows Vista..................OK
> It is not so clear but the result are correct.
Well that is the main thing. Well done.
Have you seen any problems with spot lights? In the RayShade renderer
they behave identically to point lights. Maybe my source is not right
up to date but I have not noticed any relevant bug fixes being
checked in since I checked out my copy.
Roger
|