coffee in xpresso
-
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:
User Information:
Cinema 4D Version: 8 or 9
Platform: Mac ; Mac OSX ;
Language(s) : C.O.F.F.E.E ; XPRESSO ;---------
hi all,
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.
-----------
BaseBitmap::GetPixel
SDK-Language: COFFEEType: Function
Date Created: 12/26/2000 10:19:22 AM
Date Updated: 12/26/2000 10:19:22 AM
Product: XL,NET,BP
Version: 6103Definition
[vector] GetPixel([int] x, [int] y);
Description
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
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
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:
main() { var bm = new(BaseBitmap,1,1); bm->Load(File); Pixel = bm->GetPixel(10,21); }