From jelle at animalinside.eu Tue Jun 3 07:46:47 2014 From: jelle at animalinside.eu (Jelle Hermsen) Date: Tue, 3 Jun 2014 09:46:47 +0200 Subject: [HOpenGL] Regal and cross platform 3D Message-ID: Hiya everybody, I?m planning to build a cross platform 3D application in Haskell and I?m thinking about using Regal (https://github.com/p3/regal ) as an abstraction layer so I can support OpenGL 2.x, 3.x, 4.x and ES 2.0 with the same code base. Has any of you have tried to use it with HopenGL / OpenGLRaw? Cheers, Jelle -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob at engineeredarts.co.uk Thu Jun 26 12:10:33 2014 From: rob at engineeredarts.co.uk (Rob Agar) Date: Thu, 26 Jun 2014 13:10:33 +0100 Subject: [HOpenGL] NURBS surface with texture Message-ID: <53AC0DB9.6000400@engineeredarts.co.uk> Hi all Does the GLU.NURBS module support texture mapping? I'm playing around with code based on the sample at https://github.com/haskell-opengl/GLUT/blob/master/examples/RedBook4/Surface.hs trying to draw a textured surface. As I understand it, I need to call nurbsSurface again to create a texture coordinate surface as well as the vertex one, but I can't see how to tell it which type to make. Or have I misunderstood the way NURBS surfaces are created? The docs at http://www.opengl.org/sdk/docs/man2/xhtml/gluNurbsSurface.xml are fairly sketchy :\ cheers Rob