guqun wrote:zhengxianfu wrote:This problem has been solved.
Code: Select all
COGLESTexture.cpp:getBestColorFormat:
"destFormat=ECF_A1R5G5B5;"
OR Invoke:
driver->setTextureCreationFlag(ETCF_ALWAYS_16_BIT,true);
Refer to
http://irrlicht.sourceforge.net/forum/v ... 8&start=45 by Willem.
Thanks.
pmtolk wrote:01-07 03:11:10.684: INFO/log(28446): Irrlicht Engine version 1.7.0-beta
01-07 03:11:10.684: INFO/Irrlicht(28446): CIrrDeviceAndroid::CIrrDeviceAndroid
01-07 03:11:10.684: INFO/Irrlicht(28446): CIrrDeviceAndroid::createDriver
01-07 03:11:10.684: INFO/log(28446): Using renderer: OpenGL ES-CM 1.1
01-07 03:11:10.684: INFO/log(28446): Qualcomm
01-07 03:11:10.684: INFO/log(28446): GL_AMD_compressed_3DC_texture GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_APPLE_texture_2D_limited_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_depth_texture GL_OES_draw_texture GL_OES_framebuffer_object GL_OES_matrix_palette GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_rgb8_rgba8 GL_OES_stencil_wrap GL_OES_EGL_image GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_mirrored_repeat GL_QCOM_binning_control GL_QCOM_extended_get GL_QCOM_tiled_rendering
01-07 03:11:10.694: INFO/log(28446): GL_INVALID_ENUM
01-07 03:11:10.694: INFO/log(28446): Could not bind Texture
01-07 03:11:10.694: INFO/Irrlicht(28446): createDevice r=3048792 w=320 h=480
01-07 03:11:10.694: INFO/Irrlicht(28446): getVideoDriver r=3049488
01-07 03:11:10.694: INFO/Irrlicht(28446): resize w=320 h=519
01-07 03:11:11.194: INFO/log(28446): Loaded mesh
01-07 03:11:11.214: INFO/log(28446): Loaded texture
01-07 03:11:11.214: INFO/Irrlicht(28446): add texture
01-07 03:11:11.214: INFO/Irrlicht(28446): beginScene
This is the complete Log Error
I encounter the same problem when using
HTC G14 which also use qualcom ,texture doesn't render.
Does anyone know how to solve this problem?
Thanks in advance.
hi
i changed the code ,but sydney demo's texture is white.
did you meet this problem and reslove it?
Hi,
i have some problem, with android 4.2, irrlicht 1.7.0 beta with emulator.
My Sydney example work without texture binding, but texture was loaded (as you can see from logs)
Someone has solved this problem?
Thanks in advance.
07-04 21:12:43.093: I/log(7476): Irrlicht Engine version 1.7.0-beta
07-04 21:12:43.093: I/Irrlicht(7476): CIrrDeviceAndroid::CIrrDeviceAndroid
07-04 21:12:43.103: I/Irrlicht(7476): CIrrDeviceAndroid::createDriver
07-04 21:12:43.103: I/log(7476): OpenGL-ES2 initialized
07-04 21:12:43.103: I/Irrlicht(7476): OGLES2 initialized
07-04 21:12:43.113: I/log(7476): Using renderer: OpenGL ES 2.0 (2.1.8787)
07-04 21:12:43.113: I/log(7476): Google (ATI Technologies Inc.)
07-04 21:12:43.113: I/log(7476): GL_EXT_debug_marker GL_OES_EGL_image GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float
07-04 21:12:43.123: I/log(7476): load shader: /mnt/sdcard/Irrlicht/COGLES2FixedPipeline.vsh
07-04 21:12:43.123: I/log(7476): Loading shader
07-04 21:12:43.137: I/log(7476): Loading shader
07-04 21:12:43.544: I/log(7476): �X
07-04 21:12:43.594: I/log(7476): �X
07-04 21:12:43.594: I/log(7476): �X
07-04 21:12:43.594: I/log(7476): �X
07-04 21:12:43.594: I/log(7476): �X
07-04 21:12:43.594: I/log(7476): �X
07-04 21:12:43.603: I/log(7476): �X
07-04 21:12:43.603: I/log(7476): �X
07-04 21:12:43.603: I/log(7476): �X
07-04 21:12:43.603: I/log(7476): �X
07-04 21:12:43.603: I/log(7476): �X
07-04 21:12:43.603: I/log(7476): �X
07-04 21:12:43.603: I/log(7476): �X
07-04 21:12:43.603: I/log(7476): Shader loaded
07-04 21:12:43.603: I/log(7476): load shader: /mnt/sdcard/Irrlicht/COGLES2Renderer2D.vsh
07-04 21:12:43.603: I/log(7476): Loading shader
07-04 21:12:43.613: I/log(7476): Loading shader
07-04 21:12:43.663: I/log(7476): Shader loaded
07-04 21:12:43.683: I/log(7476): load shader: /mnt/sdcard/Irrlicht/COGLES2NormalMap.vsh
07-04 21:12:43.683: I/log(7476): Loading shader
07-04 21:12:43.693: I/log(7476): Loading shader
07-04 21:12:43.763: I/log(7476): �X�0�**��X�0�++�(..�
07-04 21:12:43.763: I/log(7476): �X�0�**��X�0�++�(..�
07-04 21:12:43.773: I/log(7476): Shader loaded
07-04 21:12:43.773: I/log(7476): load shader: /mnt/sdcard/Irrlicht/COGLES2ParallaxMap.vsh
07-04 21:12:43.783: I/log(7476): Loading shader
07-04 21:12:43.803: I/log(7476): Loading shader
07-04 21:12:43.893: I/log(7476): �X�0X,,��X�0�++�(..�
07-04 21:12:43.893: I/log(7476): �X�0X,,��X�0�++�(..�
07-04 21:12:43.893: I/log(7476): �X�0X,,��X�0�++�(..�
07-04 21:12:43.893: I/log(7476): Shader loaded
07-04 21:12:44.003: I/Irrlicht(7476): createDevice r=706253872 w=320 h=480
07-04 21:12:44.003: I/Irrlicht(7476): getVideoDriver r=706198608
07-04 21:12:44.013: I/Irrlicht(7476): resize w=320 h=483
07-04 21:12:45.373: I/log(7476): Loaded mesh
07-04 21:12:45.602: I/log(7476): Loaded texture
07-04 21:12:45.602: I/Irrlicht(7476): add texture
07-04 21:12:45.613: I/Irrlicht(7476): begin Scene
07-04 21:12:45.813: I/Irrlicht(7476): Sydney fps=1