I’m trying to draw a sprite using Rhino.Display.DrawSprite(). I’ve tried calling both the 2D and 3D overloads, and have tried many permutations of the size and blendColor options, however nothing ever seems to come up. The bitmaps and jpgs I’m using have dimensions 256 by 256 pixels.
Any ideas what could be going wrong? Alternatively, anyone have some sample code that has been verified to work?
I’ve attached the image file I’m using for testing.
Just to clarify, what does the “size” parameter refer to? Is it a scaling factor (eg size = 1 displays a 256x256 image at 256x256)? Or is it set so that size = 1 would only produce draw 1 pixel?
It’s in the same function as other (successful) calls to DrawLine() and DrawShadedMesh() so I’m assuming it’s in the right place?