From: Freddy B. <fre...@ho...> - 2002-11-26 09:24:36
|
Hi Michael! >I have tried CsGL in Mono. For now it doesn't work. Th ereason for this >is that Mono has not implemented Windows.Forms yet. Why do it need Windows.Forms? In C/C++ you can program with GLUT platformindepoendent. And if you want to use glx.h or wingl.h instead of this, you can integrate OpenGL in _any_ GUI! In C/C++ it was integrated in Gtk+, Qt and FLTK, Fox, etc. Why need the C#-Binding a special GUI? > There are plans to use Wine or GTK to do it. But why do you need this GUI? With GLUT it can run platformindependent. And _if_ it is hard to integrate OpenGL in the special GUIs, _than_ it is the job for the Gtk#-Team, Qt#-Team or Mono-Winforms-Team. But it is the job of the CsGL-Team to make the CsGL for any platform and any .net-implemenatation avaible. And this is possible - with GLUT. GLUT is platformindependent. That OpenGL and special GUIs work together, is _not_ the job of CsGL - I think. >But because that aspect of Mono C# specification has not yet been >implemented, >CsGL won't work since it depends on that. And _why_ depends it on Windows.Forms? >I had asked this question to Lloyd on the sourceforge forum Have you a link to your post there? >and he said that it might be possible to use the GtkSharp library to do >windowing instead of the Windows.Forms, but I have played with the GkSharp >a bit and it would require some work to integrate. Yes. But if it is a hard work, it is the job of the Gtk#-Team. But why does CsGL not running _without_ any special GUI on Mono/Linux? >Since GtkSharp requires the use of making everything static, it is really >annoying to work with. Hmmm... and do you know _why_ Gtk# makes everything static? And there was a time (older Gtk#-Version), where it was not so? Thats something, what someone can ask in the Gtk#-list. >Maybe, Lloyd can shead some light on the issue. I hope so. Greatings BL-Freddy _________________________________________________________________ MSN - More useful every day http://www.msn.de |
From: Freddy B. <fre...@ho...> - 2002-12-02 14:01:24
|
Hi Michael! Sorry, that I answer so late. >I have tried CsGL in Mono. For now it doesn't work. The reason >for this is that Mono has not implemented Windows.Forms yet. Why does GsGL need Windows.Forms? I thought OpenGL is platform-independent. Why does ist then need a special GUI? >I had asked this question to Lloyd on the sourceforge forum And dou you have the link to the thread in the forum, where your question stand? >and he said that it might be possible to use the GtkSharp library to >do windowing instead of the Windows.Forms, But why need CsGL a special GUI for Windowing? With GLUT you can in C/C++ program platformindependent - and you don't need any GUI. Why do you need it for CsGL? I think, it is the job of the CsGL-Team to create OpenGL-Bindings, so that it run on every platform. And it is the job of the GUI-Teams (like Gtk#, Qt#, etc) to integrate it in thier GUI. Thats the same like in C/C++: OpenGL is with GLUT platformindependent. And if you want, you can integrate it in your Gtk+-, Qt-, FLTK- or Fox-programs. But why is it so hard unter C# ? >Since GtkSharp requires the use of making everything static, it is >really annoying to work with. For this I have now asked the Gtk#-Team under http://lists.ximian.com/archives/public/gtk-sharp-list/2002-December/000627.html why it is so. >Maybe, Lloyd can shead some light on the issue. I hope so. Thanks. Greatings BL-Freddy _________________________________________________________________ Messenger - Wer in Echtzeit kommunizieren will, lädt den MSN Messenger. Cool, kostenlos und mit 3D Emoticons: http://messenger.msn.de |
From: Lloyd D. <ll...@ga...> - 2002-11-26 09:55:05
|
Hi, First I want to say I didn't use GLUT at all. I write CsGL to be very neatly integrated in the System.Windows.Form hierarchy. In my mind a GL control should be just like any other Control. And here it is, you just create an OpenGLControl, a subclass of System.Windows.Forms.Control, a good citizen in WinForm population. So you do need WinForm. I know I write it ! And you could put as many OpenGLControl in you .NET application as you want, and wherever you want. (in a Button ?) try to do that with GLUT ! However it's very modular, the OpenGLContext, the crucial and only OS dependant OpenGL object doesn't depends on Winform. With a minimal amount of work you could do a Gtk#, or GLUT version of it. BTW, if I had to choose a multiplatform environment to write an GLControl, I had choosed SDL (http://www.libsdl.org) library (not GLUT). But I didn't do it because WinForm has many advantage over SDL (yet), Winform could have mutliple windows ! Winforms could have transparent and odly shaped window ! SDL cannot do the above. Anyway, now I have a good network (at last, just recently) and I will try to upgrade CsGL to mono/FreeBSD as soon as possible, Cheers, Lloyd PS: BTW I don't know about Gtk# and I don't think I will have the time to investigate... :-( I will wait and go for mono/Winform. ----- Original Message ----- From: "Freddy BL" <fre...@ho...> To: <mg...@st...> Cc: <csg...@li...> Sent: Tuesday, November 26, 2002 8:24 PM Subject: Re: [Csgl-users] CsGL and Mono > Hi Michael! > > > >I have tried CsGL in Mono. For now it doesn't work. Th ereason for this > >is that Mono has not implemented Windows.Forms yet. > > Why do it need Windows.Forms? > In C/C++ you can program with GLUT platformindepoendent. > And if you want to use glx.h or wingl.h instead of this, you can integrate > OpenGL in _any_ GUI! > In C/C++ it was integrated in Gtk+, Qt and FLTK, Fox, etc. > Why need the C#-Binding a special GUI? > > > > There are plans to use Wine or GTK to do it. > > But why do you need this GUI? > With GLUT it can run platformindependent. > And _if_ it is hard to integrate OpenGL in the special GUIs, _than_ it is > the job for the Gtk#-Team, Qt#-Team or Mono-Winforms-Team. > But it is the job of the CsGL-Team to make the CsGL for any platform and any > .net-implemenatation avaible. And this is possible - with GLUT. GLUT is > platformindependent. That OpenGL and special GUIs work together, is _not_ > the job of CsGL - I think. > > > >But because that aspect of Mono C# specification has not yet been > >implemented, > >CsGL won't work since it depends on that. > > And _why_ depends it on Windows.Forms? > > > >I had asked this question to Lloyd on the sourceforge forum > > Have you a link to your post there? > > > >and he said that it might be possible to use the GtkSharp library to do > >windowing instead of the Windows.Forms, but I have played with the GkSharp > >a bit and it would require some work to integrate. > > Yes. But if it is a hard work, it is the job of the Gtk#-Team. > But why does CsGL not running _without_ any special GUI on Mono/Linux? > > > >Since GtkSharp requires the use of making everything static, it is really > >annoying to work with. > > Hmmm... and do you know _why_ Gtk# makes everything static? > And there was a time (older Gtk#-Version), where it was not so? > Thats something, what someone can ask in the Gtk#-list. > > > >Maybe, Lloyd can shead some light on the issue. > > I hope so. > > > Greatings > BL-Freddy > > > _________________________________________________________________ > MSN - More useful every day http://www.msn.de > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Csgl-users mailing list > Csg...@li... > https://lists.sourceforge.net/lists/listinfo/csgl-users |