[Mono-winforms-list] Embed OpenGL rendering in a winform app (linux)

StApostol stapostol at gmail.com
Thu Dec 4 19:29:31 EST 2008

On Fri, Dec 5, 2008 at 2:09 AM, Miguel de Icaza <miguel at novell.com> wrote:

> Hello,
> >        I wrote a tutorial using mono's System.Windows.Forms with
> > OpenGL a long time ago. It was available on the now defunct MWF
> > WebBlog. A quick google search shows this link as the best cache:
> >
> >
> http://reader.feedshow.com/show_items-feed=a94683a437563d78a990c1efd3bb1442
> >
> > Search for OpenGL and there should be some sample code on setting up
> > the windows correctly via reflection. The full sample seems to be gone
> > at this point.
> Maybe we could get this on the Wiki?

That would be great, this topic comes up in the Tao forums from time to

By the way, I downloaded OpenTK, linked with my app, and made inherited my
> own "3D scene" control from the OpenTK.GLControl (no more from Control).
> It crashs in the constructor (bad parameters).
> In fact, even compiled Winforms samples available with OpenTK don't work at
> all. Maybe because I am running an Ubuntu from VMWare :S ? (But
> OpenSceneGraph samples work)

VMWare is not an issue - maybe your Mono runtime is too old? You are
definitely hitting a bug.

It would be great if you can run the examples using the debug dll (simply
copy the dlls from Binaries/Debug/ to the examples directory) and attach the
debug output to a bug report (http://www.opentk.com/project/issues).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20081205/ef8627b2/attachment.html 

More information about the Mono-winforms-list mailing list