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

canardlebarbare nicolas.remia at gmail.com
Mon Dec 8 13:16:57 EST 2008




Stefanos A. wrote:
> 
> On Fri, Dec 5, 2008 at 2:09 AM, Miguel de Icaza <miguel at novell.com> wrote:
> Hello,
> 
> Finally my original app works with the VirtualBox virtual machine.
> 
> I guess it was just a graphics drivers problem. Thanks all for your help
> :)
> 
>> 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 at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Embed-OpenGL-rendering-in-a-winform-app-%28linux%29-tp20831321p20900662.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list