@Ralph Kern: Thank you for your support! But GL_TRIANGLE_FAN only works with convex polygons. Do you or does anyone else know what to do if the polygon is concave?
regards Oliver & Andreas >-----Ursprüngliche Nachricht----- >Von: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Im Auftrag >von Ralph Kern >Gesendet: Dienstag, 22. Januar 2008 13:11 >An: [email protected] >Betreff: Re: [osg-users] opengl to opengles > >I don't know if porting of OSG to OpenGL ES is really >feasible, but at last I can give you one hint: > >You can easily replace GL_POLYGON mode by GL_TRIANGLE_FAN. > >regards Ralph > >Charles, Oliver schrieb: >> Hello, >> >> We try to port openscenegraph to a device where only opengl es is >> available. >> Does anyone know if this was tried before? And if - if the >sources are >> available? >> If not - does anyone have experience or any hints with >porting opengl >> applications to opengl es? >> The problem in detail is that many of the opengl functions used by >> openscenegraph are not available on opengl es , eg >GL_POLYGON, Shading >> or any functions introduced in OpenGl 2.0. Is there any well >> performing algorithm to replace for example GL_POLYGON with >eg GL_TRIANGLES (etc). >> >> Any hints would be helpful. >> >> >> With best regards >> Oliver and Andreas >> >> ******************************************* >> Diese E-Mail enthaelt vertrauliche und/oder rechtlich >geschuetzte Informationen. Wenn Sie nicht der richtige >Adressat sind oder diese E-Mail irrtuemlich erhalten haben, >informieren Sie bitte sofort den Absender und loeschen Sie >diese Mail. Das unerlaubte Kopieren sowie die unbefugte >Weitergabe dieser Mail ist nicht gestattet. >> >> This e-mail may contain confidential and/or privileged >information. If you are not the intended recipient (or have >received this e-mail in error) please notify the sender >immediately and delete this e-mail. Any unauthorized copying, >disclosure or distribution of the contents in this e-mail is >strictly forbidden. >> ******************************************* > >_______________________________________________ >osg-users mailing list >[email protected] >http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen >egraph.org > > ******************************************* Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden. ******************************************* _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

