Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - songshu007

Pages: [1]
1
Graphics / Re: Antialiasing not working
« on: May 21, 2022, 11:16:09 am »
oh sorry i meant i was rendering shapes not images

2
Graphics / Re: Antialiasing not working
« on: May 21, 2022, 10:04:31 am »
Yes,I found a lot of information on the Internet, but none of them solved my problem. The value mentioned is that when I adjust the image rendering quality in the graphics card settings, it will affect the sfml, but I want to set the anti-aliasing separately in the sfml, but it Not working

3
Graphics / Antialiasing not working
« on: May 21, 2022, 09:42:46 am »
this is my code
sf::ContextSettings settings;
        settings.antialiasingLevel = 8;
        sf::RenderWindow window(sf::VideoMode(800, 600), "Hello", sf::Style::Default, settings);
        window.setFramerateLimit(60);

        std::cout << "Antialiasing level: " << window.getSettings().antialiasingLevel << std::endl;
 
This image is antialiasing 0 and 8 levels
I don't see any antialiasing effect

Pages: [1]