RE: [Haskell-cafe] Combining Gtk2hs and Fieldtrip

2010-08-08 Thread Herng Yi Cheng

> Date: Sun, 8 Aug 2010 12:53:54 +0300
> Subject: Re: [Haskell-cafe] Combining Gtk2hs and Fieldtrip
> From: sergu...@gmail.com
> To: hern...@gmail.com
> CC: haskell-cafe@haskell.org
> 
> Gtk2hs has an OepnGL binding. So you can create OpenGL context and draw there.
> 
> I don't think you will still be able to use parallel threads, but path
> to hardware renderer will be shorter for sure.

Thanks for the info!



I looked at the documentation for GtkGLExt (I think you were referring 
to this), and compared to FieldTrip, I think it's a lot harder to write.
 As diving into either of these systems would require serious work, I'm 
not totally sure of this, but it seems that FieldTrip is more high-level
 with its wrappers and with GtkGLExts you still have to deal with lots 
of small details. Is it possible that that FieldTrip could export a data 
structure (Geometry3 ?) that can be read by GtkGLExts? That would solve the 
problem of interfacing between Gtk2hs and FieldTrip.

regards,
Herng Yi

  ___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Combining Gtk2hs and Fieldtrip

2010-08-08 Thread Serguey Zefirov
Gtk2hs has an OepnGL binding. So you can create OpenGL context and draw there.

I don't think you will still be able to use parallel threads, but path
to hardware renderer will be shorter for sure.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe