![]() If you could just point me in the right direction or show me one good example of how to do this I would be ecstatic. ![]() What I want to do is draw all my images in a buffered image and then render this image with AA before showing it. I've had a look at OpenGL and the LightWeightJavaGameLibrary JLWGL which claims to use OpenGL but I can't find a simple good at example of how to render images such as bmp,png,gif or jpeg with AA. And I have no idea whether the AA only triggers when you actually transform the image or if it's apllied on static images as well. LWJGL is a Java library that provides access to native APIs used in the development of graphics (OpenGL), audio (OpenAL) and parallel computing (OpenCL) applications. It seems like a real hassle if thats the only way to do it. This online book will introduce the main concepts required to write a 3D game using the LWJGL 3 library. "Note that there will likely be some performance hit from transforming the image in this manner" I've found this but it seems much too complicated and as the author himself states So far I've found lots of examples on how to use renderinghints to turn AA on when drawing shapes, lines or simple fonts but no good examples for rendering images. I'm thinking it would be nice to render every frame with AA to smooth out the rough etches since I'm using pixel art in the form of PNG images. I'm currently working on a simple 2d game in java using the Graphics2D. Hi, my names Thomas and I've just discovered the wonders/horrors of antialiasing.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |