I have to import a transparent png file in grasshopper. I used the “Import Image” component, and locally set one existing file.
When I import the image directly in Rhino, no problem, the background is transparent, but when I import in Grasshopper, the background becomes black. I need it imported via gh so I can place it right in my model.
Those are two completely different things.
On rhino the image is imported as a surface with pre-applied material, and the material uses the original picture as texture.
On grasshopper the “Import Image” component outputs a mesh with colored vertexes! (much heavier process)
You can cull the vertexes of the mesh by a color… as it seems that alpha channel is lost, you can use black (hoping it is not used in the picture itself).
Different model/texture each other? Or just different position/orientation/scale?
If the latter, create one/some block in rhino and use grasshopper to place new instances on the rhino file. There are plenty of plugins to handle blocks. I can’t advice one in specific as i don’t use block even on rhino…