How to cache drawing operations?
Posted: Sun Mar 06, 2011 7:51 am
I'm trying to draw antialiased arcs and circles but they slow down the environment alot. So i thought of trying to cache them by drawing them to an image or something.
I looked through the documentation and turns out there is a way - draw to a framebuffer. I tried it but I got an error message "not supported by your opengl implementation". Even if my computer would support it, it meant that the feature isn't portable. =\
I thought of drawing to an image, but there is no way to redirect drawing operations to images... that means I have to come up with a copy of every love.graphics drawing operation, (polygon, rectangle, line, etc...).
Maybe I should just switch to a computer with a complete opengl driver...
I looked through the documentation and turns out there is a way - draw to a framebuffer. I tried it but I got an error message "not supported by your opengl implementation". Even if my computer would support it, it meant that the feature isn't portable. =\
I thought of drawing to an image, but there is no way to redirect drawing operations to images... that means I have to come up with a copy of every love.graphics drawing operation, (polygon, rectangle, line, etc...).
Maybe I should just switch to a computer with a complete opengl driver...