jPCT-AE - a 3d engine for Android > Support

Rendered in black with multiple texture files (jpg + png)

<< < (2/2)

EgonOlsen:
Not sure if that's your issue here, but you can't have transparent parts in objects that are actually opaque. What you are seeing there might be the actual color of the png texture without the alpha channel. Can you split your model into two, where one contains the opaque parts and one the transparent one?

yjoo9317:
I attached png file.
The floor is a simple plain with just 4 vertices.
I've also confirmed that it renders OK with .jpg file (converted from the exact .png file).

The following is from obj file.
---------------------------------------------
o Plane.1
v -10 0 10
v 10 0 10
v -10 0 -10
v 10 0 -10
# 4 vertices

vt 0.00000 0.00000
vt 0.00000 1.00000
vt 1.00000 1.00000
vt 1.00000 0.00000
# 4 texture coordinates

vn 0 1 -0
# 1 vertex normals

usemtl FLOOR
f 1805/2771/1549 1807/2770/1549 1806/2769/1549 1804/2768/1549
# 1 facets
--------------------------------------------------------------------------------------

Note.
I'd tried to upload png file but there was a size limit (up to 64k), so I had to resize but the color space is intact.
Let me know if you notice something else.

EgonOlsen:
...and the floor is a seperate file or is it part of the complete model? Do you have a screenshot of the red rendering?

yjoo9317:
Floor plane is in the same obj file.

I will upload screen shot soon.. It won't be full view but at least it will show what is like.

Navigation

[0] Message Index

[*] Previous page

Go to full version