jit.gl.sketch and glBitmap

Aug 24, 2011 at 2:37pm

jit.gl.sketch and glBitmap

jit.gl.sketch doesn’t seem to support the OpenGL glBitmap() function.

Is this deliberate or perhaps an oversight that might be corrected in a future release?

The reason I wanted this in jit.gl.sketch is that I’m using gldrawpixels with glrasterpos where the raster position (top left of the image) may potentially be outside the view volume, but part of the image is still within the view volume. What OpenGL does in this case is to not draw any of the pixel image at all. I want to draw the pixel image cropped to the visible window region. The OpenGL FAQ suggests a workaround that involves calling glBitmap.

So if there’s a workaround that I can implement with jit.gl.sketch, I’d love to hear about it.

#58603

You must be logged in to reply to this topic.