We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › GLGraphicsOffScreen Anti-aliasing
Page Index Toggle Pages: 1
GLGraphicsOffScreen Anti-aliasing (Read 784 times)
GLGraphicsOffScreen Anti-aliasing
Jan 29th, 2009, 4:30pm
 
Hi!

I'm writing with regards to the glgraphics library. I've been trying to modify its GLGraphicsOffScreen class to produce anti-aliased rendering.

Because I've struggled with this for a few days without much success I thought I'd ask here whether any of you have made any attempts towards this goal, or if you otherwise perhaps have some other tips for how to achieve Antialiased offscreen rendering using this library.

This goes towards adding more features to my open-source Processing sketch VJ-ing host Mother...

Thanks!

Ilias B.
www.onar3d.com
Re: GLGraphicsOffScreen Anti-aliasing
Reply #1 - Jan 30th, 2009, 7:16pm
 
Just a little update in case anyone's curious: I've found and tested a way to render antialiased graphics to a framebuffer, as described on this website:

http://blog.dexta.ch/2008/08/27/gl_ext_framebuffer_object-with-multisampling/#comment-74

I've only gotten this to work in a straight-java program as of now however; I'm still struggling with transferring it to GLGraphicsOffScreen. But at least I now know it's possible :)

If I get any further I'll post the class here/to the author of the glgraphics library.
Re: GLGraphicsOffScreen Anti-aliasing
Reply #2 - Feb 2nd, 2009, 2:13pm
 
To keep on replying to my own posts, I now have to announce that I have managed to create a version of the GLGraphicsOffScreen class that draws multisampled, anti-aliased graphics :)

The code is too long to post on the forum, but definitely email me in case you are interested and I will send you the class!

Ilias B.
www.onar3d.com
Re: GLGraphicsOffScreen Anti-aliasing
Reply #3 - Feb 19th, 2009, 9:35am
 
Hey Ilias,

I just released a new version of GLGraphics (0.8.9.5) that incorporates your anti-aliasing code:

http://codeanticode.wordpress.com/2009/02/19/antialiased-off-screen-rendering-in-glgraphics/

Thanks a lot for the contribution!
Re: GLGraphicsOffScreen Anti-aliasing
Reply #4 - Feb 19th, 2009, 10:54am
 
Thanks for incorporating my little code contribution!

...By the way, I had a look at your webpage and saw Andiamo, it looks very promising!!
Page Index Toggle Pages: 1