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.

Messages - yindroid

Pages: 1 [2]
Support / Re: Texture artifact
« on: November 20, 2011, 06:14:49 pm »
I guess it was my fault... when useing texture with alpha chanel, "colored" pixels must not touch the texture's edges!

Support / [solved] Texture artifact
« on: November 19, 2011, 04:04:37 pm »
Hi there!
So, there is my problem. On my overlay i'm adding texture(512x512). Then I have to strech overlay to 512x600. After this artifact appears as horizontal black line. I tried to use texture with resolution 512x1024 and it works great, but it is waste of resources...

Thanks in advance

Support / Re: Overlay's rotation center
« on: November 15, 2011, 11:58:31 am »
Hi, Egon! Sorry for the long delay. New function works pretty well, thanks!

Support / [SOLVED]Overlay's rotation center
« on: November 08, 2011, 12:58:27 pm »
Hi, everyone!
I wonder if there is any way to change overlay's rotation center?

Support / Re: transparent texture with alpha blending
« on: October 31, 2011, 11:16:37 pm »
according your addvice, I added argument useAlpha, and it works!  Thank You!!! 

TextureManager.getInstance().addTexture("panda", new Texture(getBitmapFromAssetsARGB8888(256,256,"gfx/alpha.png", AppContext), true);

Support / [solved] transparent texture with alpha blending
« on: October 31, 2011, 04:51:47 pm »
Hi, gyus. I'm new here.
At first I have to thanks jPCT creator for fantastic work, it looks promising.
About my problem, what is the proper way to get textures with alpha blending works? I use png with alpha chanel, but result is not  what I expected(only black areas ar transparet) This is my code:
Code: [Select]
//loading texture
TextureManager.getInstance().addTexture("panda", new Texture(getBitmapFromAssetsARGB8888(256,256,"gfx/alpha.png", AppContext));

//seting up 3dobject
planePanda = Primitives.getPlane(1, 10);
planePanda.setTransparency(3); //not sure how it works;


Pages: 1 [2]