Coder Social home page Coder Social logo

androidopengl's Introduction

AndroidOpengl

简单的android opengl实现案例,涉及矩阵复合操作,物体变形,纹理动画,光照,射线拾取,天空盒,fbo等技术。在com.example.opengldemo包中又分多个子包,各个功能如下:

rotate包中,实现三个物体相互围绕运动。

wobble包中,实现一个物体顶点变化的动画。

ripple包中,实现一个带水纹效果的相机。

processTexture包中,实现一个简单的过程纹理。

directLight包中,实现一个方向光的效果。

pointLight包中,实现一个点光的漫反射效果。

reflectLight包中,实现一个点光的镜面反射的效果。

bumpMapping包中,实现一个凹凸纹理(不是normal mapping实现,是通过一个简单的算法扰乱法线)。

rayPickup包中,实现射线拾取的功能。

skybox包中,实现天空盒全景的效果,天空盒中的物体有环境反射和折射的效果。

fbo包中,实现一个简单的fbo的效果。

sobelOperator包中,实现一个简单的索贝尔边缘检测效果

GaussianBlur包中,实现一个高斯模糊的效果(还有很大的改进空间)

embossed包中,实现一个简单的浮雕效果

fishEye包中,实现一个简单的鱼眼效果

twril包中,实现一个漩涡扭曲的效果

shadowMapping包中,实现一个光照下阴影的效果

normalmapping包中,实现一个normalmapping的效果

AntiAliasing,实现一个FXAA的反走样效果

androidopengl's People

Contributors

zhangguangxin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.