THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/10/2004 at 05:25, xxxxxxxx wrote:
Cinema 4D Version: 8 or 9
Platform: Mac ; Mac OSX ;
Language(s) : C.O.F.F.E.E ; XPRESSO ;
i'm totaly new to c.o.f.f.e.e.
does anybody knows an information or a tutorial that indroduce the use of the single c.o.f.f.e.e. line codes in a xpresso node?
for example: i need, for an adjustment of the colors of 128 skydome-lights the information of a texture. my guess is to use the get:pixel command.
sorry, i struggled with this little line.
Date Created: 12/26/2000 10:19:22 AM
Date Updated: 12/26/2000 10:19:22 AM
[vector] GetPixel([int] x, [int] y);
Returns the color in the bitmap at the position given by x and y. If not 0<=x<width and 0<=y<height, the function returns NIL.
thanks for every information about this
On 12/10/2004 at 10:08, xxxxxxxx wrote:
It is possible to use bitmaps in Xpresso with C.O.F.F.E.E. The easiest way is to drag an image from the material manager to the Xpresso window. That will create a Bitmap node. From the Bitmap node you can get the File property, which is the filename of the texture. Drag this to a Filename input of a C.O.F.F.E.E. node. This is a small example that calculates a pixel in the bitmap:
var bm = new(BaseBitmap,1,1);
Pixel = bm->GetPixel(10,21);