[SOLVED] ogl-es branch, shader driver (2), not rendering
Re: [SOLVED] ogl-es branch, shader driver (2), not renderin
You should definitly update your NDK to the latest version r9. It should fix those issues.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: [SOLVED] ogl-es branch, shader driver (2), not renderin
Build fixed OK
irrlicht rev.4573 2013/08/11th
android sdk tools 20.0.3
android sdk platform-tools 12
android-ndk-r7-crystax-5.beta3
eclipse Version: 4.2.1
eclipse plugin MOTODEV Studio for Android Core Development 5.0.0.201301190616
MOTODEV build way -> http://www.wretch.cc/blog/fatalfeel/857768
I built MOTODEV done already, you can easy download
http://www.mediafire.com/?ejwmzwzc4o3vm14
http://www.mediafire.com/?70iimg17npy1j1g
http://www.mediafire.com/?fq25fqhgwznpp6p
/////////file irrlicht_ogles2/examples/17.HelloWorld_Mobile/AndroidManifest.xml
<uses-feature android:glEsVersion="0x00010000" android:required="true"/>
//modify to
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
/////////file irrlicht_ogles2\source\Irrlicht\Android\jni\Android.mk
LOCAL_SRC_FILES := \
Android/CIrrDeviceAndroid.cpp \
Android/CAndroidAssetReader.cpp \
Android/CAndroidAssetFileArchive.cpp \
aesGladman/aescrypt.cpp \
aesGladman/aeskey.cpp \
aesGladman/aestab.cpp \
.
.
.
//modify to
LOCAL_SRC_FILES := \
aesGladman/aescrypt.cpp \
aesGladman/aeskey.cpp \
aesGladman/aestab.cpp \
.
.
.
//after this line
$(call import-module,android/native_app_glue)
//add
$(shell mkdir -p $(IRRLICHT_LIB_PATH))
///////////file irrlicht_ogles2/examples/17.HelloWorld_Mobile/jni/Android.mk
LOCAL_C_INCLUDES := ../../include
LOCAL_SRC_FILES := main.cpp
//modify to
LOCAL_C_INCLUDES := ../../include \
$(LOCAL_PATH)/../../source/Irrlicht \
$(LOCAL_PATH)/../../source/Irrlicht/Android
LOCAL_SRC_FILES := $(LOCAL_PATH)/../../source/Irrlicht/Android/CIrrDeviceAndroid.cpp \
$(LOCAL_PATH)/../../source/Irrlicht/Android/CAndroidAssetReader.cpp \
$(LOCAL_PATH)/../../source/Irrlicht/Android/CAndroidAssetFileArchive.cpp \
main.cpp
/////make done~~~
Compile++ thumb : HelloWorldMobile <= CIrrDeviceAndroid.cpp
Compile++ thumb : HelloWorldMobile <= CAndroidAssetReader.cpp
Compile++ thumb : HelloWorldMobile <= CAndroidAssetFileArchive.cpp
Compile++ thumb : HelloWorldMobile <= main.cpp
SharedLibrary : libHelloWorldMobile.so
Install : libHelloWorldMobile.so => libs/armeabi/libHelloWorldMobile.so
////////add java file in irrlicht_ogles2/examples/17.HelloWorld_Mobile/src/com/irrlicht/example/NativeActivity.java
package com.irrlicht.example;
import android.app.Activity;
import android.os.Bundle;
public class NativeActivity extends Activity
{
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
//
And I will install in my android Phone next week. Good luck to me
thanks Nadro and CuteAlien help a lot you are my sunshine http://www.youtube.com/watch?v=EZr2lYMI8q8
If Could, would Nadro or anyone use free time to make 08.SpecialFx or 16.Quake3MapShader of examples project both on ios and android~~
irrlicht rev.4573 2013/08/11th
android sdk tools 20.0.3
android sdk platform-tools 12
android-ndk-r7-crystax-5.beta3
eclipse Version: 4.2.1
eclipse plugin MOTODEV Studio for Android Core Development 5.0.0.201301190616
MOTODEV build way -> http://www.wretch.cc/blog/fatalfeel/857768
I built MOTODEV done already, you can easy download
http://www.mediafire.com/?ejwmzwzc4o3vm14
http://www.mediafire.com/?70iimg17npy1j1g
http://www.mediafire.com/?fq25fqhgwznpp6p
/////////file irrlicht_ogles2/examples/17.HelloWorld_Mobile/AndroidManifest.xml
<uses-feature android:glEsVersion="0x00010000" android:required="true"/>
//modify to
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
/////////file irrlicht_ogles2\source\Irrlicht\Android\jni\Android.mk
LOCAL_SRC_FILES := \
Android/CIrrDeviceAndroid.cpp \
Android/CAndroidAssetReader.cpp \
Android/CAndroidAssetFileArchive.cpp \
aesGladman/aescrypt.cpp \
aesGladman/aeskey.cpp \
aesGladman/aestab.cpp \
.
.
.
//modify to
LOCAL_SRC_FILES := \
aesGladman/aescrypt.cpp \
aesGladman/aeskey.cpp \
aesGladman/aestab.cpp \
.
.
.
//after this line
$(call import-module,android/native_app_glue)
//add
$(shell mkdir -p $(IRRLICHT_LIB_PATH))
///////////file irrlicht_ogles2/examples/17.HelloWorld_Mobile/jni/Android.mk
LOCAL_C_INCLUDES := ../../include
LOCAL_SRC_FILES := main.cpp
//modify to
LOCAL_C_INCLUDES := ../../include \
$(LOCAL_PATH)/../../source/Irrlicht \
$(LOCAL_PATH)/../../source/Irrlicht/Android
LOCAL_SRC_FILES := $(LOCAL_PATH)/../../source/Irrlicht/Android/CIrrDeviceAndroid.cpp \
$(LOCAL_PATH)/../../source/Irrlicht/Android/CAndroidAssetReader.cpp \
$(LOCAL_PATH)/../../source/Irrlicht/Android/CAndroidAssetFileArchive.cpp \
main.cpp
/////make done~~~
Compile++ thumb : HelloWorldMobile <= CIrrDeviceAndroid.cpp
Compile++ thumb : HelloWorldMobile <= CAndroidAssetReader.cpp
Compile++ thumb : HelloWorldMobile <= CAndroidAssetFileArchive.cpp
Compile++ thumb : HelloWorldMobile <= main.cpp
SharedLibrary : libHelloWorldMobile.so
Install : libHelloWorldMobile.so => libs/armeabi/libHelloWorldMobile.so
////////add java file in irrlicht_ogles2/examples/17.HelloWorld_Mobile/src/com/irrlicht/example/NativeActivity.java
package com.irrlicht.example;
import android.app.Activity;
import android.os.Bundle;
public class NativeActivity extends Activity
{
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
//
And I will install in my android Phone next week. Good luck to me
thanks Nadro and CuteAlien help a lot you are my sunshine http://www.youtube.com/watch?v=EZr2lYMI8q8
If Could, would Nadro or anyone use free time to make 08.SpecialFx or 16.Quake3MapShader of examples project both on ios and android~~
Nadro wrote:You should definitly update your NDK to the latest version r9. It should fix those issues.
Last edited by feelthat on Mon Sep 02, 2013 8:52 am, edited 1 time in total.
Re: [SOLVED] ogl-es branch, shader driver (2), not renderin
Good to know that you solved those problems. Currently I don't have in plans to prepare other examples for mobiles.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: [SOLVED] ogl-es branch, shader driver (2), not renderin
Oh come on Nadro, need your example, we need u you baby give me one more example
http://www.youtube.com/watch?v=7VtQ2vDZvSE
your are so important to us
http://www.youtube.com/watch?v=7VtQ2vDZvSE
your are so important to us
Nadro wrote:Good to know that you solved those problems. Currently I don't have in plans to prepare other examples for mobiles.
Re: [SOLVED] ogl-es branch, shader driver (2), not renderin
Implement Photo
iOS
http://www.rtsoft.com/forums/attachment ... 1377853936
Android
http://www.rtsoft.com/forums/attachment ... 1378111129
//////////successful CatLog on LG
09-02 16:58:14.930: D/libEGL(14796): loaded /system/lib/egl/libEGL_tegra.so
09-02 16:58:14.940: D/libEGL(14796): loaded /system/lib/egl/libGLESv1_CM_tegra.so
09-02 16:58:14.960: D/libEGL(14796): loaded /system/lib/egl/libGLESv2_tegra.so
09-02 16:58:14.970: E/Irrlicht(14796): EglDisplay initialized. Egl version 1.4
09-02 16:58:14.970: E/Irrlicht(14796): Creating EglSurface with nativeWindow...
09-02 16:58:14.980: E/Irrlicht(14796): SUCCESS
09-02 16:58:14.980: E/Irrlicht(14796): SUCCESS
09-02 16:58:14.980: E/Irrlicht(14796): Creating EglContext...
09-02 16:58:14.980: E/Irrlicht(14796): Using renderer: OpenGL ES 2.0 14.01002
09-02 16:58:14.980: E/Irrlicht(14796): OpenGL ES
09-02 16:58:14.980: E/Irrlicht(14796): NVIDIA Corporation
09-02 16:58:14.980: E/Irrlicht(14796): EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable EGL_ANDROID_blob_cache EGL_KHR_vg_parent_image EGL_NV_perfmon EGL_NV_system_time EGL_KHR_lock_surface EGL_KHR_fence_sync EGL_NV_sync EGL_NV_depth_nonlinear EGL_NV_post_convert_rounding EGL_NV_native_query EGL_KHR_stream EGL_KHR_stream_fifo EGL_NV_stream_producer_eglsurface EGL_NV_stream_consumer_gltexture EGL_NV_stream_cross_process_fd EGL_NV_multiview_window EGL_EXT_create_context_robustness EGL_IMG_context_priority EGL_NV_3dvision_surface EGL_NV_coverage_sample EGL_NV_coverage_sample_resolve
09-02 16:58:14.980: E/Irrlicht(14796): GL_NV_platform_binary GL_OES_rgb8_rgba8 GL_OES_EGL_sync GL_OES_fbo_render_mipmap GL_NV_depth_nonlinear GL_NV_draw_path GL_NV_texture_npot_2D_mipmap GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_vertex_half_float GL_OES_mapbuffer GL_NV_draw_buffers GL_NV_multiview_draw_buffers GL_EXT_Cg_shader GL_EXT_packed_float GL_OES_texture_half_float GL_EXT_texture_array GL_OES_compressed_ETC1_RGB8_texture GL_EXT_texture_compression_latc GL_NV_texture_compression_latc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_NV_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_NV_get_tex_image GL_NV_read_buffer GL_NV_shader_framebuffer_fetch GL_NV_copy_image GL_NV_fbo_color_attachments GL_EXT_bgra GL_EXT_texture_format_BGRA8888 GL_EXT_unpack_subimage GL_NV_pack_subimage GL_NV_texture_compression_s3tc_update GL_NV_read_depth GL_NV_read_stencil GL_EXT_robustness GL_OES_standard_derivatives GL_NV_EGL_stream_consumer_external GL_NV_3dvision_settings GL_NV_coverage_sample GL_EXT_occlusion_query_boolea
09-02 16:58:15.240: E/Irrlicht(14796): Loaded texture: media/irrlichtlogo3.png
09-02 16:58:15.510: E/Irrlicht(14796): Loaded mesh: media/sydney.md2
09-02 16:58:15.530: E/Irrlicht(14796): Loaded texture: media/sydney.bmp
09-02 16:58:15.530: E/Irrlicht(14796): Android command APP_CMD_GAINED_FOCUS
//////////Fail catlog on HTC sensation E/Irrlicht(15491): Using renderer: OpenGL ES 2.0 2184622)
09-02 16:57:12.243: E/Adreno200-ES20(15491): <qgl2DrvAPI_glGenerateMipmap:2418>: GL_INVALID_OPERATION
09-02 16:57:12.243: E/Irrlicht(15491): GL_INVALID_OPERATION
09-02 16:57:12.243: E/Irrlicht(15491): Could not glTexImage2D
so make sure your Hardware is support correctly
iOS
http://www.rtsoft.com/forums/attachment ... 1377853936
Android
http://www.rtsoft.com/forums/attachment ... 1378111129
//////////successful CatLog on LG
09-02 16:58:14.930: D/libEGL(14796): loaded /system/lib/egl/libEGL_tegra.so
09-02 16:58:14.940: D/libEGL(14796): loaded /system/lib/egl/libGLESv1_CM_tegra.so
09-02 16:58:14.960: D/libEGL(14796): loaded /system/lib/egl/libGLESv2_tegra.so
09-02 16:58:14.970: E/Irrlicht(14796): EglDisplay initialized. Egl version 1.4
09-02 16:58:14.970: E/Irrlicht(14796): Creating EglSurface with nativeWindow...
09-02 16:58:14.980: E/Irrlicht(14796): SUCCESS
09-02 16:58:14.980: E/Irrlicht(14796): SUCCESS
09-02 16:58:14.980: E/Irrlicht(14796): Creating EglContext...
09-02 16:58:14.980: E/Irrlicht(14796): Using renderer: OpenGL ES 2.0 14.01002
09-02 16:58:14.980: E/Irrlicht(14796): OpenGL ES
09-02 16:58:14.980: E/Irrlicht(14796): NVIDIA Corporation
09-02 16:58:14.980: E/Irrlicht(14796): EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable EGL_ANDROID_blob_cache EGL_KHR_vg_parent_image EGL_NV_perfmon EGL_NV_system_time EGL_KHR_lock_surface EGL_KHR_fence_sync EGL_NV_sync EGL_NV_depth_nonlinear EGL_NV_post_convert_rounding EGL_NV_native_query EGL_KHR_stream EGL_KHR_stream_fifo EGL_NV_stream_producer_eglsurface EGL_NV_stream_consumer_gltexture EGL_NV_stream_cross_process_fd EGL_NV_multiview_window EGL_EXT_create_context_robustness EGL_IMG_context_priority EGL_NV_3dvision_surface EGL_NV_coverage_sample EGL_NV_coverage_sample_resolve
09-02 16:58:14.980: E/Irrlicht(14796): GL_NV_platform_binary GL_OES_rgb8_rgba8 GL_OES_EGL_sync GL_OES_fbo_render_mipmap GL_NV_depth_nonlinear GL_NV_draw_path GL_NV_texture_npot_2D_mipmap GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_vertex_half_float GL_OES_mapbuffer GL_NV_draw_buffers GL_NV_multiview_draw_buffers GL_EXT_Cg_shader GL_EXT_packed_float GL_OES_texture_half_float GL_EXT_texture_array GL_OES_compressed_ETC1_RGB8_texture GL_EXT_texture_compression_latc GL_NV_texture_compression_latc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_NV_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_NV_get_tex_image GL_NV_read_buffer GL_NV_shader_framebuffer_fetch GL_NV_copy_image GL_NV_fbo_color_attachments GL_EXT_bgra GL_EXT_texture_format_BGRA8888 GL_EXT_unpack_subimage GL_NV_pack_subimage GL_NV_texture_compression_s3tc_update GL_NV_read_depth GL_NV_read_stencil GL_EXT_robustness GL_OES_standard_derivatives GL_NV_EGL_stream_consumer_external GL_NV_3dvision_settings GL_NV_coverage_sample GL_EXT_occlusion_query_boolea
09-02 16:58:15.240: E/Irrlicht(14796): Loaded texture: media/irrlichtlogo3.png
09-02 16:58:15.510: E/Irrlicht(14796): Loaded mesh: media/sydney.md2
09-02 16:58:15.530: E/Irrlicht(14796): Loaded texture: media/sydney.bmp
09-02 16:58:15.530: E/Irrlicht(14796): Android command APP_CMD_GAINED_FOCUS
//////////Fail catlog on HTC sensation E/Irrlicht(15491): Using renderer: OpenGL ES 2.0 2184622)
09-02 16:57:12.243: E/Adreno200-ES20(15491): <qgl2DrvAPI_glGenerateMipmap:2418>: GL_INVALID_OPERATION
09-02 16:57:12.243: E/Irrlicht(15491): GL_INVALID_OPERATION
09-02 16:57:12.243: E/Irrlicht(15491): Could not glTexImage2D
so make sure your Hardware is support correctly
Re: [SOLVED] ogl-es branch, shader driver (2), not renderin
HTC sensation G14 Z710E , android 4.0.4
Helloworld 3d example error
after falsh rom to android 4.1.1
Then all done~~~work fine
https://plus.google.com/photos/10618554 ... 8774360364
Helloworld 3d example error
after falsh rom to android 4.1.1
Then all done~~~work fine
https://plus.google.com/photos/10618554 ... 8774360364
feelthat wrote:Implement Photo
iOS
http://www.rtsoft.com/forums/attachment ... 1377853936
Android
http://www.rtsoft.com/forums/attachment ... 1378111129
//////////successful CatLog on LG
09-02 16:58:14.930: D/libEGL(14796): loaded /system/lib/egl/libEGL_tegra.so
09-02 16:58:14.940: D/libEGL(14796): loaded /system/lib/egl/libGLESv1_CM_tegra.so
09-02 16:58:14.960: D/libEGL(14796): loaded /system/lib/egl/libGLESv2_tegra.so
09-02 16:58:14.970: E/Irrlicht(14796): EglDisplay initialized. Egl version 1.4
09-02 16:58:14.970: E/Irrlicht(14796): Creating EglSurface with nativeWindow...
09-02 16:58:14.980: E/Irrlicht(14796): SUCCESS
09-02 16:58:14.980: E/Irrlicht(14796): SUCCESS
09-02 16:58:14.980: E/Irrlicht(14796): Creating EglContext...
09-02 16:58:14.980: E/Irrlicht(14796): Using renderer: OpenGL ES 2.0 14.01002
09-02 16:58:14.980: E/Irrlicht(14796): OpenGL ES
09-02 16:58:14.980: E/Irrlicht(14796): NVIDIA Corporation
09-02 16:58:14.980: E/Irrlicht(14796): EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable EGL_ANDROID_blob_cache EGL_KHR_vg_parent_image EGL_NV_perfmon EGL_NV_system_time EGL_KHR_lock_surface EGL_KHR_fence_sync EGL_NV_sync EGL_NV_depth_nonlinear EGL_NV_post_convert_rounding EGL_NV_native_query EGL_KHR_stream EGL_KHR_stream_fifo EGL_NV_stream_producer_eglsurface EGL_NV_stream_consumer_gltexture EGL_NV_stream_cross_process_fd EGL_NV_multiview_window EGL_EXT_create_context_robustness EGL_IMG_context_priority EGL_NV_3dvision_surface EGL_NV_coverage_sample EGL_NV_coverage_sample_resolve
09-02 16:58:14.980: E/Irrlicht(14796): GL_NV_platform_binary GL_OES_rgb8_rgba8 GL_OES_EGL_sync GL_OES_fbo_render_mipmap GL_NV_depth_nonlinear GL_NV_draw_path GL_NV_texture_npot_2D_mipmap GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_vertex_half_float GL_OES_mapbuffer GL_NV_draw_buffers GL_NV_multiview_draw_buffers GL_EXT_Cg_shader GL_EXT_packed_float GL_OES_texture_half_float GL_EXT_texture_array GL_OES_compressed_ETC1_RGB8_texture GL_EXT_texture_compression_latc GL_NV_texture_compression_latc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_NV_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_NV_get_tex_image GL_NV_read_buffer GL_NV_shader_framebuffer_fetch GL_NV_copy_image GL_NV_fbo_color_attachments GL_EXT_bgra GL_EXT_texture_format_BGRA8888 GL_EXT_unpack_subimage GL_NV_pack_subimage GL_NV_texture_compression_s3tc_update GL_NV_read_depth GL_NV_read_stencil GL_EXT_robustness GL_OES_standard_derivatives GL_NV_EGL_stream_consumer_external GL_NV_3dvision_settings GL_NV_coverage_sample GL_EXT_occlusion_query_boolea
09-02 16:58:15.240: E/Irrlicht(14796): Loaded texture: media/irrlichtlogo3.png
09-02 16:58:15.510: E/Irrlicht(14796): Loaded mesh: media/sydney.md2
09-02 16:58:15.530: E/Irrlicht(14796): Loaded texture: media/sydney.bmp
09-02 16:58:15.530: E/Irrlicht(14796): Android command APP_CMD_GAINED_FOCUS
//////////Fail catlog on HTC sensation E/Irrlicht(15491): Using renderer: OpenGL ES 2.0 2184622)
09-02 16:57:12.243: E/Adreno200-ES20(15491): <qgl2DrvAPI_glGenerateMipmap:2418>: GL_INVALID_OPERATION
09-02 16:57:12.243: E/Irrlicht(15491): GL_INVALID_OPERATION
09-02 16:57:12.243: E/Irrlicht(15491): Could not glTexImage2D
so make sure your Hardware is support correctly
Re: [SOLVED] ogl-es branch, shader driver (2), not renderin
It looks like a problem with glGenerateMipmap method.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes