Kindly guide me how can I remove image aliasing in OpenGL...
I am projecting the image on the object, the model should look like as it is. but we can see the aliasing jumps on the given image.
Kindly observe the attached image and tell me how can I apply anti-aliasing on this kind of image.
I have also tried following techniques using
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_LINEAR);
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST_MIPMAP_LINEAR);
- #define GL_NEAREST 0x2600
- #define GL_LINEAR 0x2601
- #define GL_NEAREST_MIPMAP_NEAREST 0x2700
- #define GL_LINEAR_MIPMAP_NEAREST 0x2701
- #define GL_NEAREST_MIPMAP_LINEAR 0x2702
- #define GL_LINEAR_MIPMAP_LINEAR 0x2703
Is there any other technique to remove these aliasing jumps.. ?
Thanks.