MOGRE 1.8.1 - Anti-Aliasing does not work.

ransara

18-11-2016 23:14:38

Hello all,

I'm working on a Windows WPF + MOGRE project and I'm having trouble getting the anti-aliasing functionality to work. Followed the code here (http://bit.ly/2g3H141) , but nothing changes when I modify the FSAA settings. From what I've read online, it might have something to do with either my graphics card, or the fact that we're using DirectX instead of OpenGL. Does anyone have any advice to point me in the right direction?

Thank you.

lucassazon

29-11-2016 17:17:06

http://www.ogre3d.org/addonforums/viewtopic.php?f=8&t=14094&start=15

This forum tells about AA with WPF, but, in my project I don't get yet.

If this tutorial works to you, please tell me.

:D

ransara

30-11-2016 22:05:24

Hey.

So, this code that I got from viewtopic.php?f=8&t=14347 seems to work with Jared's MogreinWPF implementation -> https://bitbucket.org/JaredThirsk/mogreinwpf/wiki/Home


texture = TextureManager.Singleton.CreateManual(
"OgreImageSource RenderTarget",
ResourceGroupManager.DEFAULT_RESOURCE_GROUP_NAME,
TextureType.TEX_TYPE_2D,
(uint)ViewportSize.Width, (uint)ViewportSize.Height,
0, Mogre.PixelFormat.PF_A8R8G8B8,
(int)TextureUsage.TU_RENDERTARGET,
null, false, 16, "Quality");

AA on the left, no AA on the right. Thanks!