Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - BarbosaRTS

#1
Support / Texture Scratching
June 10, 2014, 03:45:52 PM
Hi,

I would like to realize an effect of scratching, with the touch scratch a texture to appear the other one.

I puts an image " scratch here " in first texture on a plane object and second image in the second texture.

You have an idea?

#2
Support / Multi-texture 3Ds
June 06, 2014, 04:12:01 PM
Hello,

How to load multi textured object in jpct-ae?

I load my textures  ;D:


String[] textures = getAssets ().list("textures");
   
for (int i = 0; i < textures.length; ++i)
{
            TextureManager.getInstance().addTexture(textures[i], new Texture(BitmapHelper.rescale(BitmapHelper.loadImage(getResources(). getAssets (). open ("textures" + "/" + textures[i])), 256, 256)));
}



After I load my model in .3ds format  :):


ImageTargetsRenderer.obj3D = Object3D.mergeAll(Loader.load3DS(stream, absScale));


I use settexture()  :-\ :


obj3D.setTexture("Metal_Co");
obj3D.setTexture("Metal_Ro");


But finally stay just second texture  ??? :( :(

How to associate the texture with good object and not all objects?

I don't understand how load textures and show them in good place.

help please.