在Android的一些教程的OpenGL ES 2 NDK? [英] Some tutorial for OpenGL ES 2 in Android with NDK?

查看:182
本文介绍了在Android的一些教程的OpenGL ES 2 NDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

具体我需要用遮光lenguage GLSL工作。我已经安装NDK,SDK和其他一切,并乳宁好的,我跑了使用NDK openGLES 2为例,它工作正常,问题是有,我dont't很多已了解的指令。所以我需要教导我,一步一步的教程或书籍

specifically I need to work with the Shading lenguage GLSL. I have already installed NDK, SDK and everything else and is runing ok, i ran an example with openGLES 2 using NDK and it works fine, the problem is that there are many instructions that I dont't undestand. so i need a tutorial or book that teach me that step by step

推荐答案

我建议你阅读一些关于Khronos的网站,并从OpenGL的程序员指南教程的开始。

I suggest that you start by reading some of the tutorials on the Khronos site and from the OpenGL Programmers Guide.

我建议你先从你好三角试玩第一。

I suggest you start with the "Hello Triangle" demo first.

有两个环节。


  1. 教程对你好三角

  2. 来源$ C ​​$ C为你好三角 - 看第2章

  1. Tutorial on Hello Triangle
  2. Source Code for Hello Triangle -- Look at Chapter 2

有关历久弥新立方体演示,检查了这一点

For the good old cube demo, check this out.

在code是写在WebGL的,但你可以将其转换。

The code is written in WebGL, but you can convert it.

网站包含所有可下载的样本从程序员的的指南。他们是pretty不错。他们在源代码库。

This site contains all of the downloadable samples from the Programmer's Guide. They are pretty good. They are in the source repository.

我也喜欢通过从Khronos的网站上的全规格。

渲染语言是怪异起初 - 但你有足够的教程抓住它。

The Shader Language is weird at first -- but you'll grasp it with enough tutorials.

这篇关于在Android的一些教程的OpenGL ES 2 NDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆