Hi All,

I recently made a definition augmenting the bitmap script posted by
Marc and David awhile back. Perhaps it will become obsolete when the
bitmap data is a native type as David mentioned but for now it did
what I wanted and what might be fun for others as well. I posted it
here in the Files section:

http://groups.google.com/group/grasshopper3d/web/Bitmap2Block.zip?hl=en

In the colortable script component I had to split off the first few
because there are some unwanted items at the beginning so it is not
ideal but it does work as desired.

Cheers,

Chris K. Palmer

On Oct 20, 1:48 am, David Rutten <[EMAIL PROTECTED]> wrote:
> Marc,
>
> we'll probably add bitmap data as a native data type in Grasshopper at
> some point. Using GetPixel and SetPixel works fine for a small
> sampling, but as you mentioned, this approach breaks down on large
> images. You'd need to lock the image bits into memory for ultra fast
> access. The RhinoScript Image extension does this while applying
> filters, so it's just a matter of siphoning the code between projects.
>
> We're also planning on having custom preview components, where you can
> create your own materials. These will have colour inputs as well.
>
> --
> David Rutten
> Robert McNeel & Associates

Reply via email to