How to use duplicate() to optimize?

Forum for discussion on 3D games for mobile platform and doubts related to M3G, Mascot capsule and other rendering engines.

How to use duplicate() to optimize?

Postby MobileVisuals » Mon Aug 08, 2011 8:51 am

The first version of my 3D world contains about 7 meshes. They all have the same form and geometry, so I figured I could use duplicate() to improve the performance. I mean creating only one mesh and then use duplicate() on that first mesh to create the other ones. The 7 meshes have different textures, so they need to have their own appearances.

I found that it is not possible to use duplicate() to optimize in my case , since the meshes have their own appearance object. When I change the appearance of one mesh, the appearance of the duplicated meshes get changed too. Is there any way to solve this problem?
Posts: 3
Joined: Mon Aug 08, 2011 8:42 am

Return to 3D Mobile Game (M3G)

Who is online

Users browsing this forum: No registered users and 1 guest