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

Messages - yindroid

#16
Support / Re: Texture artifact
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!
#17
Support / [solved] Texture artifact
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
#18
Support / Re: Overlay's rotation center
November 15, 2011, 11:58:31 AM
Hi, Egon! Sorry for the long delay. New function works pretty well, thanks!
#19
Support / [SOLVED]Overlay's rotation center
November 08, 2011, 12:58:27 PM
Hi, everyone!
I wonder if there is any way to change overlay's rotation center?
Thanks
#20
Support / Re: transparent texture with alpha blending
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);
#21
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:

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

//seting up 3dobject
planePanda = Primitives.getPlane(1, 10);
planePanda.setTexture("panda");
planePanda.setTransparency(3); //not sure how it works
planePanda.build();
world.addObject(planePanda);


Thanks!