Log in or register to post comments

Rendering Artifacts at edges of 3D models @Android

July 13, 2012 - 11:28am #1

Hello,

I am building an Augmented Reality application for both iOS and Android OS using the Vuforia SDK wiith Unity 3.5.3f3.

While testing my app I have realized that on my Android test device there are some rendering artifacts at the edges of my 3D models that don´t occur on my Apple test device.

I have done some research but still can figure out what is happening on the android side.

I am attaching some pictures to show the rendering artifacts.

Here are some details about my project:

  • Models created on Google Sketchup 8 exported to collada and then exported from collada to fbx (I don´t have the Pro version of Sketchup to export them directly to fbx)
  • Vuforia SDK to help for augmented reality
  • Android test device: Samsung Galaxy Tab 10.1 with Honeycomb
  • Apple test device: New Ipad
 

Any comments, ideas or help to solve that would be very appreciated! Thanks!

Android Artifacts

New iPad no artifacts

Rendering Artifacts at edges of 3D models @Android

July 23, 2012 - 12:58am #12

Thank you David, that was that !

It seems that GL_CULL_FACE is enabled by default on iOs, but not on android !

 

Regards,

Cyril

Rendering Artifacts at edges of 3D models @Android

July 22, 2012 - 5:56pm #11

@Nerith please post a description of your problem in the Android forum. Does is appear as though triangles have dropped out of your model? If so, make sure you have triangulated the model, any 3D modeling software should be able to do this. It is also possible that the model has triangles winding in different directions (some clockwise, some counter-clockwise). This can happen when the normals are incorrect in the modeling software. In this case, try turning off culling: glDisable(GL_CULL_FACE);

Rendering Artifacts at edges of 3D models @Android

July 21, 2012 - 10:26am #10

DavidBeard wrote:

It means that you go to the Edit item in the menu, open that and select Project Settings and in Project Settings set the Quality.

Also I'd recommend posting these sorts of questions to Unity Answers as well - http://answers.unity3d.com/index.html

Someone there has probably run into the same issues.

 

This is my post in the Unity Answers forum , asking for help regarding the same issue here

http://answers.unity3d.com/questions/283497/rendering-artifacts-at-edges-of-3d-models-android.html

I hope it could help other guys running with the same issues. I still need to test some suggestions that the Unity guys posted.

Rendering Artifacts at edges of 3D models @Android

July 21, 2012 - 10:22am #9

nerith wrote:

Do anybody have a solution for this problem ?

I experience it also :(

 

ps: I dont understand what that means:

Check the mobile 'Quality' settings of your project:

Edit > Project Settings > Quality

 

Hi Nerith!

What device are you using?

As I said in another reply in this thread, I tested my same app on two android powered phones (Motorola XT and Samsung Galaxy SII) and no artifacts appeared. I am not sure, still researching but maybe it  has something to do with the OpenGL implementation in our devices. I will let you know if I found a solution that you could apply even if you are not using Unity.

Rendering Artifacts at edges of 3D models @Android

July 21, 2012 - 10:19am #8

Hi vincekillian!

Thanks a lot for your suggestion.

I have been playing around with the quality settings and it seems that it actuallly reduce the artifacts a bit but it don´t make them dissapear. I even use the Fantastic quality settings are the artifacts are still noticeable and also set custom settings with the same results.

However I tested the same app in a Motorola XT and and Samsung Galaxy SII and no artifacts appeared, all looks clean!

I think that it probably has to be something related with the OpenGL implementation of my Samsung Galaxy Tab 10.1.

I will keep trying other suggestion to see if I found a solution and I will let you all know!

Rendering Artifacts at edges of 3D models @Android

July 21, 2012 - 7:34am #7

That was what I did not understood: i do not use (or know) unity.

I am just using the qcar library.

Rendering Artifacts at edges of 3D models @Android

July 21, 2012 - 7:21am #6

It means that you go to the Edit item in the menu, open that and select Project Settings and in Project Settings set the Quality.

Also I'd recommend posting these sorts of questions to Unity Answers as well - http://answers.unity3d.com/index.html

Someone there has probably run into the same issues.

Rendering Artifacts at edges of 3D models @Android

July 21, 2012 - 5:10am #5

Do anybody have a solution for this problem ?

I experience it also :(

 

ps: I dont understand what that means:

Check the mobile 'Quality' settings of your project:

Edit > Project Settings > Quality

Rendering Artifacts at edges of 3D models @Android

July 14, 2012 - 5:15pm #4

Check the mobile 'Quality' settings of your project:

Edit > Project Settings > Quality

You can set antialiasing and other graphics related settings here.  Use the black arrows below your target platform's checkbox column to set the default quality level.  You can also add your own custom quality levels and toggle them through script (e.g., Video Settings menu with a switcher for "Low", "Med", & "High" graphics levels).  You could even set these per-device generation at runtime to ensure optimal performance on older devices.

You can also edit the player settings:

File > Build Settings > Player Settings

Choose the correct platform in the inspector.  Note the settings 'Device Filter', 'Graphics Level', and 'API Compatability Level'.

If you're still having trouble, upload a unitypackage file and we can help you troubleshoot your issue.

 

Rendering Artifacts at edges of 3D models @Android

July 13, 2012 - 1:24pm #3

Hi, David thanks for the reply.

I'am using a Diffuse shader for all, individual textures, I am just using the Color feature to colorize the models, so I'am not using and RGB texture.

Basically I just painted the different polygons with different colors on Google Sketchup.

 

And yes, the artifacts appear at the edges of the polygons with different colors. Besides, in the gray guy tie, the red tie, the tie is an extruded polygon with a solid red color, but even in that plane the artifact appears as a banding effect.

 

thanks again!

 

Rendering Artifacts at edges of 3D models @Android

July 13, 2012 - 11:47am #2

Are those at the edges of individual textures, or do the figures use a single texture? And which shader are you using?

Log in or register to post comments