Author Topic: Setting the AntiAliasing in Yogurt3D?  (Read 1047 times)

blastframe

  • Newbie
  • *
  • Posts: 3
    • View Profile
Setting the AntiAliasing in Yogurt3D?
« on: July 24, 2011, 03:57:22 pm »
Is it possible to set the anti-aliasing for Yogurt3D v2?

Meis

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Setting the AntiAliasing in Yogurt3D?
« Reply #1 on: July 25, 2011, 05:10:14 am »
Hi blastframe.

I think anti-aliasing level is fixed to 4 in Viewport Class in Yogurt3D v2.

The anti-aliasing level can be set by Context3D.configureBackBuffer() mthod.
So I think you may set anti-aliasing level following code:

Code: [Select]
Yogurt3D.instance.defaultContext.configureBackBuffer(width, height, antiAlias, enableDepthAndStencil);
I haven't tried this code, so I don't know if it works or not.

Gurel Erceis

  • Administrator
  • Newbie
  • *****
  • Posts: 11
    • View Profile
Re: Setting the AntiAliasing in Yogurt3D?
« Reply #2 on: July 25, 2011, 11:57:24 am »
Aliasing was missing in the 10301 build.

now uploaded a new build 10302. You can change the aliasing using the viewport

Code: [Select]
viewport.antiAliasing = ViewportAntialiasing.MINIMAL_ALIASING;