¡@

Home 

2014/10/15 ¤U¤È 10:10:14

iphone Programming Glossary: impostors

OpenGL-ES 2.0 VS OpenGL-ES 1.1, which is faster?

http://stackoverflow.com/questions/5682010/opengl-es-2-0-vs-opengl-es-1-1-which-is-faster

increase resolution of the visualized structures. I'm doing this by using custom shaders that generate raytraced impostors for the spheres and cylinders in these structures. These objects look perfectly round and smooth at any magnification. Doing..

How can I improve the performance of my custom OpenGL ES 2.0 depth texture generation?

http://stackoverflow.com/questions/6051237/how-can-i-improve-the-performance-of-my-custom-opengl-es-2-0-depth-texture-gener

display 3 D representations of molecular structures. It does this by using procedurally generated sphere and cylinder impostors drawn over rectangles instead of these same shapes built using lots of vertices. The downside to this approach is that the.. ~10 performance boost. More importantly I now do a pass before rendering both my depth texture and the final raytraced impostors where I lay down some opaque geometry to block pixels that would never be rendered. To do this I enable depth testing and.. that would never appear onscreen under any conditions yet still give smooth intersections between the visible sphere impostors based on per pixel depth values. This is depicted in my crude illustration below In this example the opaque blocking squares..