antialiasing and child-parent object relations

View previous topic View next topic Go down

antialiasing and child-parent object relations

Post  molind on Mon Jan 26, 2009 6:34 am

hi all. i have two questions.

1. i have small cube model with faces, each with different color. when i check image in iphone - there is a ugly pixels without antialiasing or something similar. how i can turn on antialiasing or maybe there is some tricks for a this purpose?

2. on the stage i have 5 same models. in blender they named Cube and Cube.001 e.t.c. when i render scene - i have only one cube. how i can reuse this object without renaming?

sio2ResourceBindAllInstances( sio2->_SIO2resource ); // i found simple answer

molind

Posts : 3
Join date : 2008-12-16

View user profile

Back to top Go down

Re: antialiasing and child-parent object relations

Post  sio2interactive on Thu Feb 05, 2009 4:06 am

there is a ugly pixels without antialiasing or something similar

>> You can set the default anisotropic filter with:

sio2->afilter = SIO2_IMAGE_ISOTROPIC or SIO2_IMAGE_ANISOTROPIC_1X or SIO2_IMAGE_ANISOTROPIC_2X

However I might warn you that I found a bug in the OGL ES driver of the device with 2X which is swapping the first and last column of the texture... in other words use it with care (especially for 2D widgets). Hopefully this will be fixed in a future release of the firmware.

Cheers,
avatar
sio2interactive

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

View user profile http://sio2interactive.com

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