Hi there,
Could someone tell me if the GL class is fully supported on the Unity iPhone version.
Thanks!
-Rob.
Hi there,
Could someone tell me if the GL class is fully supported on the Unity iPhone version.
Thanks!
-Rob.
Just tried it with iPhone Advanced, with the code from: http://forum.unity3d.com/viewtopic.php?t=18199
I can see some lines in the editor (Unity iPhone) - but when I build and deploy to the iPod touch, the screen is empty. So it seems it doesn’t work.
Anybody with further info on that? Did I maybe just miss something (I never played with the GL class before)? Is GL support planned for the future?
I guess I could use drawing some simple lines for a map overlay on the iPhone (on the desktop, I’m using a second camera but I think that would drown performance on the iPhone).
the iPhone would need a specialized GL version I think as OpenGL ES is missing 2/3 of the possibilities OpenGL 1.2 and similar have.
Only the most performant capabilities are left on OpenGL ES.
As an example, lets see the geometry possibilities: To store geometry for example you only have VBO and Vertex Arrays.
There is no immediate building (GLBegin XXX) as it just clutters the pipeline to death instead of doing anything usefull when it comes to performance (on modern PCs they rely on the drivers to do the optimization, something thats not possible on the iPhone)
iPhone is OpenGL ES 1.1, specs and differences can be found here Khronos OpenGL ES Registry - The Khronos Group Inc
Quite a few of those things can be replicated in a much more performant way by using a mesh and just refreshing its vertex array etc like the SpriteManager does it for example
Ok - thanks for the info.