algorithmic modeling for Rhino
Rhino does not have billboards, though it is possible to draw them yourself using a display pipeline. Any images Rhino draws though need to reside on the disk I think, you cannot load one directly through memory.
Is that acceptable?
I send a file with one text tag and one image. The text always is in front position to the camera, but the image not. How can i do that?
 Image.gh, 425 KB
 Image.gh, 425 KB                            That's not an image, that's a mesh with vertex colours. Is that really what you want to draw or is that what you think you need to do in order to draw a texture?
I attached a file with 2 C# components. One which generates a bitmap, and the other which draws a bitmap. Turns out you don't actually need to write it to a file this way.
It uses a drawing function which positions the bitmap at integer coordinates and doesn't allow for rotating/scaling. It also doesn't support depth buffering since it draws in screen space. Lastly, I have no idea whether this method is new in Rhino6. If it is and you're running Rhino5 it might not work at all.
 Image.gh, 11 KB
 Image.gh, 11 KB                            That's what I needed.
Thank you very much
Best
Patricio
 Imagerotate.gh, 712 KB
 Imagerotate.gh, 712 KB                            Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
    © 2025               Created by Scott Davidson.             
    Powered by
    