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 - platte

#1
Support / About Object-Space, I am a bit confused
March 22, 2012, 02:05:02 AM
I have used jPCT-AE for a few weeks. I am  a bit confused about object-space.I know, at OpenGL, When we rotate or translate a object, local coordinate of the object will move together. But  jPCT-AE seems  not to move object-coordinate?
#2
Yes.I am newer.Thank for your answer.BTW:jPCT is really very cool.
#3
Hi,  I have a png with alpha. when i use constructor of Texture(Bitmap, true). But the transparent is just black. But when I set the object3D's transparent to any NO zero value. It works. Why?. My code like these:

InputStream image = mContext.getResources().openRawResource(R.raw.test);
final Texture texture = new Texture(test, true);// useAlpha NOT work no matter whar true or false
TextureManager.getInstance().addTexture(mSceneGrass, texture);
Object3D[] objs = Loader.load3DS( LoadAssets.loadf(mContext, "test.3DS"), 1f);
objs[0].setTransparency(128);//it work
objs[0].setTexture(mSceneGrass);

When I remove objs[0].setTransparency(128);
The transparent is always black.

Thanks.