We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-09-11 10:06 AM - last edited on 2024-09-26 01:50 PM by Doreena Deng
May I ask how to use REQUEST {2}?
Can I obtain the brightness of a coordinate point on the picture using the REQUEST {2} command?
The brightness or red, green, and blue values of the coordinate points on the picture.
GDL seems to have relatively weak processing power for pictures.
2023-09-11 10:18 AM
You can request the RGB of a pen or material (surface) as these are a single colour, but not of a picture.
Every pixel of a picture could be a different colour.
Archicad just imports the picture you tell it to, and as far as I know there is no way to interrogate the colour of individual pixels.
Barry.
2023-09-12 02:41 AM
Okay, there's still a little disappointment
2023-09-12 02:57 AM
When you say 'Picture' I assume you are meaning an image file (.jpg, .tif, .png, etc).
Barry.
2023-09-12 10:12 AM
I assume this has got to do with using gradients to control dynamic objects?
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2023-09-15 08:23 AM
You can try to convert the bitmap file to a .txt file that a GDL object can read.
But that means a lot of work.
2023-09-15 08:57 AM
...And very non user friendly...
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |