Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Tier 2 Anti Aliasing doesn't do anything

Author
Message
crumpet
8
Years of Service
User Offline
Joined: 17th Jun 2016
Location:
Posted: 10th Jul 2016 15:10
I ported my game over to C++, but agk::SetAntialiasMode(1) doesn't seem to work. I've got it working on both mac and ios in Tier 1 basic, pic attached is a comparison (left side is C++, right side is the game in Basic)

code:

Attachments

Login to view attachments
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 11th Jul 2016 14:16
Multisampling is set up by the Core.mm file in the template project, it looks like I added it to the Tier 1 interpreter but forgot to add it to the Tier 2 template. Open Core.mm and find the call to glfwOpenWindow, before this add the line

That will set up multisampling on your window, so then your call to agk::SetAntialiasMode(1); should work.

Login to post a reply

Server time is: 2024-09-29 15:21:53
Your offset time is: 2024-09-29 15:21:53