User input from remote control panel suggestion - Grasshopper2024-03-29T06:51:57Zhttps://www.grasshopper3d.com/forum/topics/user-input-from-remote-control?commentId=2985220%3AComment%3A5714&feed=yes&xn_auth=noMy pleasure ;)tag:www.grasshopper3d.com,2009-06-17:2985220:Comment:106412009-06-17T09:41:09.883ZRui de Klerkhttps://www.grasshopper3d.com/profile/rvzkm
My pleasure ;)
My pleasure ;) Hi Marc,
yes, LockBits and M…tag:www.grasshopper3d.com,2009-05-28:2985220:Comment:67572009-05-28T12:56:58.454ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
Hi Marc,<br />
<br />
yes, LockBits and Marshal.ReadByte. It's the fastest way to access the colours inside a bitmap. I didn't write an interpolation function yet that will allow you to sample in between integer pixels, but that's not too difficult.<br />
<br />
Of course I only have to load the image whenever it changes on the disk, so that part of the logic can be skipped.
Hi Marc,<br />
<br />
yes, LockBits and Marshal.ReadByte. It's the fastest way to access the colours inside a bitmap. I didn't write an interpolation function yet that will allow you to sample in between integer pixels, but that's not too difficult.<br />
<br />
Of course I only have to load the image whenever it changes on the disk, so that part of the logic can be skipped. It provides colour values. Yo…tag:www.grasshopper3d.com,2009-05-28:2985220:Comment:67522009-05-28T12:44:45.647ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
It provides colour values. You can then use colour components to extract RGB, HSV etc.<br />
<br />
It is logically impossible in Grasshopper to change the data type of an object while it's on the screen, though I suppose I could make the Image sampler a Generic Data type object, in which case I could store both colours and numbers...
It provides colour values. You can then use colour components to extract RGB, HSV etc.<br />
<br />
It is logically impossible in Grasshopper to change the data type of an object while it's on the screen, though I suppose I could make the Image sampler a Generic Data type object, in which case I could store both colours and numbers... Hi WT4,
I'm using the new Im…tag:www.grasshopper3d.com,2009-05-28:2985220:Comment:67502009-05-28T12:43:08.043ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
Hi WT4,<br />
<br />
I'm using the new Image Sampler Object, which isn't available yet to anyone else because I only just wrote it 2 days ago.
Hi WT4,<br />
<br />
I'm using the new Image Sampler Object, which isn't available yet to anyone else because I only just wrote it 2 days ago. Hi David
Which component are…tag:www.grasshopper3d.com,2009-05-28:2985220:Comment:67392009-05-28T11:24:09.185ZWT4https://www.grasshopper3d.com/profile/WT4
Hi David<br />
<br />
Which component are you using to create this colourful picture<br />
of sweets.<br />
<br />
Regards<br />
WT4
Hi David<br />
<br />
Which component are you using to create this colourful picture<br />
of sweets.<br />
<br />
Regards<br />
WT4 Fantastic. Will we be able to…tag:www.grasshopper3d.com,2009-05-28:2985220:Comment:67172009-05-28T09:17:02.414ZMarc Syphttps://www.grasshopper3d.com/profile/MarcSyp
Fantastic. Will we be able to extract luminance values fromt he image sampler as well?<br />
<br />
Thanks David,<br />
Marc
Fantastic. Will we be able to extract luminance values fromt he image sampler as well?<br />
<br />
Thanks David,<br />
Marc Thanks ehh... Rvzkm.
In fact…tag:www.grasshopper3d.com,2009-05-26:2985220:Comment:63332009-05-26T21:13:07.078ZOlivier Suirehttps://www.grasshopper3d.com/profile/OlivierSuire
Thanks ehh... Rvzkm.<br />
<br />
In fact I think that it would be much better than a macro, because much more user-friendly.<br />
And despite all it's great interface, Grasshopper is still somewhat a programmer's toy, not an end-user one.<br />
<br />
I might be wrong, but I think there is not so much that needs to be added to the Remote control panel to achieve this...<br />
<br />
Oh ! And thanks for putting the discussion back on track too ;)
Thanks ehh... Rvzkm.<br />
<br />
In fact I think that it would be much better than a macro, because much more user-friendly.<br />
And despite all it's great interface, Grasshopper is still somewhat a programmer's toy, not an end-user one.<br />
<br />
I might be wrong, but I think there is not so much that needs to be added to the Remote control panel to achieve this...<br />
<br />
Oh ! And thanks for putting the discussion back on track too ;) I think I get your point: one…tag:www.grasshopper3d.com,2009-05-25:2985220:Comment:59812009-05-25T12:22:59.256ZRui de Klerkhttps://www.grasshopper3d.com/profile/rvzkm
I think I get your point: one creates the grasshopper definition that can be used by others (who have no knowledge of grasshopper) through something similar to a "macro" - right?<br />
<br />
I really think it would improve A LOT the usage of this amazing resource - grasshopper.
I think I get your point: one creates the grasshopper definition that can be used by others (who have no knowledge of grasshopper) through something similar to a "macro" - right?<br />
<br />
I really think it would improve A LOT the usage of this amazing resource - grasshopper. Hello David,
very cool!!!
On…tag:www.grasshopper3d.com,2009-05-25:2985220:Comment:59582009-05-25T10:19:38.242ZMarc Hoppermannhttps://www.grasshopper3d.com/profile/MarcHoppermann
Hello David,<br />
very cool!!!<br />
<br />
One question, as I have used images quite extensively in grasshopper...<br />
I have posted a definition last week:<br />
<br />
<a href="http://www.grasshopper3d.com/forum/attachment/download?id=2985220%3AUploadedFi38%3A4489">http://www.grasshopper3d.com/forum/attachment/download?id=2985220%3AUploadedFi38%3A4489</a><br />
<br />
Just out of curiosity, is this a way you use, too?<br />
This is the fastest way I managed until now.<br />
<br />
Thanks,<br />
Marc
Hello David,<br />
very cool!!!<br />
<br />
One question, as I have used images quite extensively in grasshopper...<br />
I have posted a definition last week:<br />
<br />
<a href="http://www.grasshopper3d.com/forum/attachment/download?id=2985220%3AUploadedFi38%3A4489">http://www.grasshopper3d.com/forum/attachment/download?id=2985220%3AUploadedFi38%3A4489</a><br />
<br />
Just out of curiosity, is this a way you use, too?<br />
This is the fastest way I managed until now.<br />
<br />
Thanks,<br />
Marc Ok, just made the sampling fa…tag:www.grasshopper3d.com,2009-05-24:2985220:Comment:57312009-05-24T19:57:17.377ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
Ok, just made the sampling faster than GetPixel (way faster).
Ok, just made the sampling faster than GetPixel (way faster).