jPCT-AE - a 3d engine for Android > Support
Vertex colouring from last jPCT-AE version
EgonOlsen:
You have to enable transparency on the Object3D and assign an alpha value that fits to the fourth component of your vertex color.
mxar:
thanks
mxar:
Hi again,
how can i apply vertex normals to object3D when i call this constructor ?
Object3D object3D = Object3D(float[] coordinates, float[] uvs, int[] indices, int textureId)
Also ,do you know if .3ds model can have embedded textute images?
I mean if it is possible the texture images not be separated from the .3ds file.
Thanks in advance.
EgonOlsen:
You can't. That constructor doesn't support vertex normals. By default, jPCT calculates the vertex normals on its own. About the texture inside a 3ds file: No, not as far as i know.
mxar:
OK, thanks.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version