분류 전체보기119 Chapter 2.3 Transform and Projection https://github.com/dlgmlals3/OpenGLES3.0_Example/blob/main/Chapter_2/app/src/main/cpp/Scene/ManyCubes.cpp OpenGLES3.0_Example/Chapter_2/app/src/main/cpp/Scene/ManyCubes.cpp at main · dlgmlals3/OpenGLES3.0_ExampleContribute to dlgmlals3/OpenGLES3.0_Example development by creating an account on GitHub.github.comRenderPlus()좌표계 변환 >ScreenCoord = Viewport × Projection × View × Model × Vertex Transfo.. 2025. 2. 21. Chapter 2.6 Touch Event ( Skip ) 서피스 뷰에서 터치 이벤트 리스너를 등록하고 JNI로 이벤트를 내려주자.TouchEventStart : 첫 터치 이벤트TouchEventMove : 드래그 이벤트TouchEventRelease : 마지막 터치 이벤트 GLESView.javaclass GLESView extends GLSurfaceView { .... public boolean onTouchEvent( final MotionEvent event ) { //Log.w(TAG, "OnTouchEvent"); switch( event.getAction() ) { case MotionEvent.ACTION_DOWN: { GLESNat.. 2025. 2. 21. Chapter 2.2 VBO, EBO, VAO https://github.com/dlgmlals3/OpenGLES3.0_Example/blob/main/Chapter_2/app/src/main/cpp/Scene/ManyCubes.cpp OpenGLES3.0_Example/Chapter_2/app/src/main/cpp/Scene/ManyCubes.cpp at main · dlgmlals3/OpenGLES3.0_ExampleContribute to dlgmlals3/OpenGLES3.0_Example development by creating an account on GitHub.github.comInitBufferObject(), RenderCube() 정의VBO (Vertex Buffer Object)GPU 메모리에 정점 데이터를 저장하는 버퍼 .. 2025. 2. 21. Chapter 1.0 EGL Context ( Skip ) EGL 코드와 렌더링이 정상적으로 될수 있는지를 확인 하기 위하여Opengl Version, Renderer, Vendor, Extension 정보를 출력해본다.void printOpenGLESInfo(){ printGLString("Version", GL_VERSION); printGLString("Vendor", GL_VENDOR); printGLString("Renderer", GL_RENDERER); printGLString("Extensions", GL_EXTENSIONS); printGLString("GL Shading Language", GL_SHADING_LANGUAGE_VERSION);}static void printGLString(const char *nam.. 2025. 2. 21. 이전 1 ··· 4 5 6 7 8 9 10 ··· 30 다음