On Fri, Dec 5, 2008 at 2:09 AM, Miguel de Icaza <[EMAIL PROTECTED]> 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 time. 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).
_______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list