发布时间:2012-12-16 16:41:08
vertex shader : 点击(此处)折叠或打开varying vec3 f_color;fragment shader: 点击(此处)折叠或打开varying vec3 f_color;默认精度不一样,所能program link时会报错,最好是都加上精度就行了,反正这个问题我是找了好几个小时 点击(此处)折叠或打开varying lowp vec3 f_color;......【阅读全文】
发布时间:2012-12-13 16:39:08
<uses-feature android:glEsVersion="0x00020000"></uses-feature> <uses-sdk android:targetSdkVersion="8" android:minSdkVersion="8"></uses-sdk>Second, create a subclass of GLSurfaceView like this:public class CustomView extends GLSurfaceView { final CustomRenderer renderer;......【阅读全文】
发布时间:2012-12-12 14:34:49
javah -o hellojni.h -classpath ..\..\bin\classes com.example.com.miles.ndk.hellojni.MainActivitylinux下 点击(此处)折叠或打开javah -o TriangleRender.h -classpath ~/android-sdk-linux//android-10/android.jar:../bin/classes com.miles.nativeopengles.TriangleRender......【阅读全文】