category : 计算机那些事

PhoneGap: QRCode Example

With PhoneGap, we can use HTML+CSS+JS to build the mobile apps. With it, I can easly wrap this website into a iOS app. But how could we call hardware of iPhone, such as camera, in our code with PhoneGap? Good news is that there are many plugins already existed, with which we can interact with hardware.Now let’s do a app for QRCode sanner:

Image Manipulation [OpenGL]

Finding out what version of OpenGL your graphics card support: GLinfo2.zipThe very first thing you need to do is determine if your video card can support GPU programming. Specifically, you are looking to see if your graphic card supports OpenGL version 4.1 or later. >>See the Source Code<< >>Download the Executive program<<

Hierarchical 3D Modeling of L System Trees [OpenGL]

Finding out what version of OpenGL your graphics card support: GLinfo2.zipThe very first thing you need to do is determine if your video card can support GPU programming. Specifically, you are looking to see if your graphic card supports OpenGL version 4.1 or later. See the Source Code Download the Executive program

Interactive Ply Viewer 3D [OpenGL]

Finding out what version of OpenGL your graphics card support: GLinfo2.zipThe very first thing you need to do is determine if your video card can support GPU programming. Specifically, you are looking to see if your graphic card supports OpenGL version 4.1 or later. See the Source Code Download the Executive program

Interactive Polyline Viewer 2D [OpenGL]

Finding out what version of OpenGL your graphics card support: GLinfo2.zipThe very first thing you need to do is determine if your video card can support GPU programming. Specifically, you are looking to see if your graphic card supports OpenGL version 4.1 or later. See the Source Code Download the Executive program

MySQL String Replace

最近在处理数据库转移的活(把就网站的数据库拷贝到新的网站中),本来想写个脚本的,但是上面催的急,就先手工导入了数据。导入后遇到一个问题就是:原先的图片路径和新的网站中不一致。