Hello everybody.
I tried to texture an object in Android.
But somehow the objects still appears untextured.
But it was textured correctly when run on Windows.
i did convert all the textures so that they are square images. But the texture still doesn't show.
Or is it a problem with LoadObjectWithChildren( ) command?
Anybody know what is going on?
Here's the attached model, and the code I used to load it.
stage1 =13000
//LOAD Sunset Terrace
`LoadObjectWithChildren( stage1, "Sunset Terrace/terrace.x" )
LoadObjectWithChildren( stage1, "Causeweneedmorehotelstages/room.x" )
`SetObjectColorEmissive( stage1, 55, 55, 55 )
`SetObjectColor( stage1, 200, 200, 200, 50)
`SetObjectCullMode(13,0)
SetObjectPosition(stage1,800,-800,-4000)
SetObjectScalePermanent( stage1, 100, 100, 100 )
`SetObjectScale( stage1, 100, 100, 100 )
`Create3DPhysicsStaticBody( stage1 )
LoadImage(6,"Causeweneedmorehotelstages/t007.bmp")
LoadImage(7,"Causeweneedmorehotelstages/t004.bmp")
LoadImage(8,"Causeweneedmorehotelstages/t010.bmp")
LoadImage(9,"Causeweneedmorehotelstages/t004.bmp")
LoadImage(10,"Causeweneedmorehotelstages/t005.bmp")
LoadImage(11,"Causeweneedmorehotelstages/t006.bmp")
LoadImage(12,"Causeweneedmorehotelstages/t008.bmp")
LoadImage(13,"Causeweneedmorehotelstages/t009.bmp")
LoadImage(14,"Causeweneedmorehotelstages/t010.bmp")
SetImageWrapU(6,1) : SetImageWrapV(6,1)
SetImageWrapU(7,1) : SetImageWrapV(7,1)
SetImageWrapU(8,1) : SetImageWrapV(8,1)
SetImageWrapU(9,1) : SetImageWrapV(9,1)
SetImageWrapU(10,1) : SetImageWrapV(10,1)
SetImageWrapU(11,1) : SetImageWrapV(11,1)
SetImageWrapU(12,1) : SetImageWrapV(12,1)
SetImageWrapU(13,1) : SetImageWrapV(13,1)
SetImageWrapU(14,1) : SetImageWrapV(14,1)
SetObjectMeshImage( stage1,1,6,0 )
SetObjectMeshImage( stage1,2,7,0 )
SetObjectMeshImage( stage1,3,8,0 )
SetObjectMeshImage( stage1,4,9,0 )
SetObjectMeshImage( stage1,5,10,0 )
SetObjectMeshImage( stage1,6,11,0 )
SetObjectMeshImage( stage1,7,12,0 )
SetObjectMeshImage( stage1,8,13,0 )
SetObjectMeshImage( stage1,9,14,0 )