Hello Guest

Author Topic: Anti-aliasing  (Read 1933 times)

0 Members and 1 Guest are viewing this topic.

caeonosphere

  • Member
  • Posts: 1
    • View Profile
Anti-aliasing
« on: July 16, 2016, 01:56:33 AM »
Hey! Just starting to poke around here; Otter looks really great. I was wondering: is there a way to set a Game or Surface to draw with antialiasing?

Bonus question: is there a debug FPS counter floating around anywhere in Otter? I can't seem to find it.

Thanks!

Commanderstitch

  • Member
  • Posts: 37
  • Personal Text
    • View Profile
    • commanderstitch Homepage (coming someday)
Re: Anti-aliasing
« Reply #1 on: July 16, 2016, 07:50:51 PM »
you should be able to run in debug mode, click the ` button and bring up the debug console. Then you can type in

showfps 5

then close the console. That should bring up something like this:

http://screencast.com/t/a0yNtnNu
- Commanderstitch

Kyle

  • Administrator
  • Member
  • Posts: 258
    • View Profile
Re: Anti-aliasing
« Reply #2 on: July 18, 2016, 03:34:58 PM »
The best you can do with Otter is just the default smoothing that openGL offers on textures, I think.  You can set the Smooth bool to true or false on any surface or texture.

To access the fps info without having to open the console you can use something like:
Code: [Select]
Otter.Debugger.Instance.ShowPerformance(1);Or just directly use the console as commanderstitch says.