[Haskell-cafe] Loading 3D points normals into OpenGL?

2009-03-11 Thread Duane Johnson
Hi, I am considering writing a VRML (.wrl) parser so that I can load points and normals for a game I'm making in Haskell. Is there something around that will already do the trick? Or perhaps another format is preferred and already supported? Thanks, Duane Johnson (canadaduane)

Re: [Haskell-cafe] Loading 3D points normals into OpenGL?

2009-03-11 Thread Luke Palmer
You might be interested in the obj library: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/obj Luke On Wed, Mar 11, 2009 at 5:23 PM, Duane Johnson duane.john...@gmail.comwrote: Hi, I am considering writing a VRML (.wrl) parser so that I can load points and normals for a game I'm

Re: [Haskell-cafe] Loading 3D points normals into OpenGL?

2009-03-11 Thread Duane Johnson
The MTL portion of that library depends on an external DevIL library ... is there a way to specify just the Obj portion which has no such dependency? Thanks, Duane On Mar 11, 2009, at 5:28 PM, Luke Palmer wrote: You might be interested in the obj library:

Re: [Haskell-cafe] Loading 3D points normals into OpenGL?

2009-03-11 Thread Thomas Davie
If you were to strip out all texture loading code, then yes, otherwise, no. Bob On 12 Mar 2009, at 01:36, Duane Johnson wrote: The MTL portion of that library depends on an external DevIL library ... is there a way to specify just the Obj portion which has no such dependency? Thanks,

Re: [Haskell-cafe] Loading 3D points normals into OpenGL?

2009-03-11 Thread Artyom Shalkhakov
Hello, Duane Johnson duane.john...@gmail.com писал(а) в своём письме Thu, 12 Mar 2009 05:23:16 +0600: Is there something around that will already do the trick? Or perhaps another format is preferred and already supported? I'd advise you to restrict yourself to your (specific?)