Multisampling / super-sampling

View previous topic View next topic Go down

Multisampling / super-sampling

Post  david4482 on Tue Mar 10, 2009 4:07 pm

To remove Polygon jaggies (not texture anti-aliasing) is sio2 setup to have the scene rendered as an image larger than screen (say 125%) and then display a scaled down version of that image with anti-aliasing. Other solutions?

david4482

Posts : 7
Join date : 2009-01-24

View user profile

Back to top Go down

Re: Multisampling / super-sampling

Post  sio2interactive on Tue Mar 10, 2009 4:57 pm

Multisampling is not available on the device by default however you could always do it in software since the color buffer can easily be manipulated...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

so no antialiasing?

Post  aheirich on Wed Mar 11, 2009 1:31 pm

does this mean the PowerVR GPU does not offser any form of antialiasing?
pretty astonishing...

aheirich

Posts : 11
Join date : 2009-02-25

View user profile

Back to top Go down

Re: Multisampling / super-sampling

Post  sio2interactive on Wed Mar 11, 2009 4:25 pm

Basically what is on the device is not 100% PowerVR, not all the features are included only a subset.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Multisampling / super-sampling

Post  david4482 on Wed Mar 18, 2009 4:38 pm

"you could always do it in software since the color buffer can easily be manipulated..."
Any hints as to how to manipulate the color buffer?

Is it a case of doubling the viewport size (glViewport( _x, _y, _w*2, _h*2)Wink, rendering the scene and using glCopyTexImage2D or glCopyTexSubImage2D to copy the color buffer and then mipmap (or average the values) and render resulting texture to screen?.

What is the likely performance hit? My frame rate is 40 on device with doubled viewport, am I likely to drop below 30fps when copying color buffers about.

I think the option to software antialias would be a great addition to the engine if anyone has code.

david4482

Posts : 7
Join date : 2009-01-24

View user profile

Back to top Go down

Re: Multisampling / super-sampling

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum