English 中文(简体)
vertex shaders vs vertex
原标题:vertex shaders vs vertex

I have a question - I am learning OpenGL ES 2.0 from this tutorial and moving across this website, I have build nice app, with spinning polygon. I find another guide where he used vertex shaders. What are the differences between them. What else I can make with shaders?

最佳回答

不同的是,第一部教学法使用开放式信用证ES1.1,第2项使用开放式信用证ES2.0。 1.1 采用固定运行管道进行其所有投放,2.0只使用砂子。

所有这些矩阵功能? 冰川、冰川、冰川? 他们又回到2.0岁。 相反,你写出一个在万国邮联本身执行的方案。 负责改变垂直位置的梯子被称为“垂直沙”。

So the vertex shader replaces all of the automatic matrix transforms with a much more flexible, user-driven, computation system.

问题回答

简言之,开放的GL ES 1.1(因此)更容易进入,而开放式的GL ES 2.0则更加灵活,可能更快一些。 在1.1月份,你可以做一些事情。

OpenGL ES 1.1 and 2.0 are completely mutually incompatible, so choose wisely.

那里的学习量比2.0%高出很多。

From my understanding of it, Vertices are representations of points on the 3D things you render, while Vertex Shaders are a means to temporarily modify a Vertex before rendering. Vertex Shaders run on your video card (gpu), so you can perform many actions in parallel (e.g. perform the same function on all of the vertices in your scene)- this takes a lot of burden off of your cpu.





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签