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

canardlebarbare nicolas.remia at gmail.com
Thu Dec 4 11:05:40 EST 2008


Yes I found this it this morning :)

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)


Jonathan Chambers 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.
> 
> Thanks,
> Jonathan
> 
> On Thu, Dec 4, 2008 at 10:39 AM, StApostol <stapostol at gmail.com> wrote:
> 
>>
>>
>> On Thu, Dec 4, 2008 at 5:32 PM, canardlebarbare
>> <nicolas.remia at gmail.com>wrote:
>>
>>>
>>> No. could it be quicker to use Tao instead of OpenTK to create a
>>> graphics
>>> context ?
>>>
>>> Sorry, this email just arrived. It's probably more work with Tao. since
>> you'd have to use Tao.Platform.Windows/X11 and manually create the
>> context.
>>
>> _______________________________________________
>> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
>>
> 
> _______________________________________________
> 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-tp20831321p20836539.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list