From: Lloyd D. <ll...@ga...> - 2001-11-27 09:25:43
|
Hy, This code just prevent the release the GLContext from the bad thread, but might lead to memory leak. ok but if it fix crash i will patch it and comment unreally solved problem. the multiple thread issue in OpenGL doesn''t seem simple to manage. BTW what is your OS ? |
From: R.Livsey <R.L...@ca...> - 2002-05-10 20:10:35
|
Hi, when I try and run any of the example programs, or any which I try and make from the tutorials, they crash with a System.IO.FileNotFoundException. Here is the following dump to the console when I try to run the torus example. C:\Documents and Settings\Unbeliever\Desktop\csgl.1.1.bin\examples\others>torus.exe Unhandled Exception: System.IO.FileNotFoundException: File or assembly name Syst em.Windows.Forms, or one of its dependencies, was not found. File name: "System.Windows.Forms" Fusion log follows: LOG: Post policy reference: System.Windows.Forms, Version=1.0.3300.0, Culture=ne utral, PublicKeyToken=b77a5c561934e089 LOG: Attempting download of new URL file:///C:/Documents%20and%20Settings/Unbeli ever/Desktop/csgl.1.1.bin/examples/others/System.Windows.Forms.DLL. LOG: Attempting download of new URL file:///C:/Documents%20and%20Settings/Unbeli ever/Desktop/csgl.1.1.bin/examples/others/System.Windows.Forms/System.Wi ndows.Fo rms.DLL. LOG: Attempting download of new URL file:///C:/Documents%20and%20Settings/Unbeli ever/Desktop/csgl.1.1.bin/examples/others/System.Windows.Forms.EXE. LOG: Attempting download of new URL file:///C:/Documents%20and%20Settings/Unbeli ever/Desktop/csgl.1.1.bin/examples/others/System.Windows.Forms/System.Wi ndows.Fo rms.EXE. Any ideas what is causing the problem? Thanks. -- R.Livsey Incutio.com Web Developer [ PHP | Perl | mySQL | Java ] w : cache-22.co.uk e : R.L...@ca... / Ri...@in... |
From: Lloyd D. <ll...@ga...> - 2002-09-06 10:32:25
|
Hi Folks, you could find a beta of coming 1.4 at http://stuff.galador.net (browse up to the bottom of the page, you shoul see some csgl.1.4.0.xxx.zip files) It won't nearly change up to the release time except this: a bit of change in CsGL.Util.Mouse I will add Ridge & Dude NeHe tutorials (Ridge could you send me the last, compatible version, please) Some improvement still to do in the new CsGL.OpenGL.OpenGL_Extension class this is a class of 10915 line of code. (I program fast guys, isn't it ?!) generated by my new (still in beta) tool glgenerator (lok in <csgl>/extra/generator) which create C# extension from header file. and it contains 1.2, 1.3, 1.4 call along with a lot of extension (thanks to Lev Povalahev le...@gm... http://www.uni-karlsruhe.de/~uli2/ ) |
From: like g. <lik...@ho...> - 2003-06-16 08:53:19
|
Hi, I'm a newcomer to this mailing list. I am doing a simulation project using CsGL on .NET starting this week. I have problem with displaying a full screen display. Everytime I resize the window, the graphics won't resize accordingly, eventhough I have set the glViewport() and gluOrtho2D() command appropriately. Besides, the rendering will only show a blank/transparent form window, unless I resize the window for the first time. After resizing, then only the first render of the graphics appear after some time. I wonder what's the cause of this. Thanks a lot for any suggestion and help. Like. _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |
From: Alban B. <bar...@wa...> - 2003-08-07 08:00:19
|
Hi. sorry for my english... Nice work all, but i still have some trouble implementing double-buffer (openGL and not forms). I've written my control class, overriden OpenGLControl, and overriden glDraw. I'm using the screenSetting as Forms, and when i past this.swapBuffer() in the overriden glDraw, my screen is flipping whit writting my openGL render and a blank form. does anyone can help me, before i go back to c++ :)= i'll send you what shoold be in cause: ------------------------------------------------------- class ctrl: OpenGLControl{ ... public override void glDraw(){ GL.glClear(...); ... this.swapBuffer(); } ... public void Main(){ CsGL.Util.screenSetting sf = new ... ctrl c = new ctrl(); ctrl.Parent = sf; Application.run(sf); } } Yeh, see you all |
From: <am...@it...> - 2003-08-07 08:35:44
|
It=92s simple, just remove the last line=20 =20 =93this.swapBuffer();=94 =20 You mustn=92t call SwapBuffer inside your glDraw implementation.=20 OnPaint method in CsGL.OpenGL.OpenGLControl class, triggers SwapBuffer = by you: =20 /// <summary> /// prepare OpenGL for rendering on this window = by grabbing context and /// call glDraw. /// override glDraw to do gl operation. /// <p>this method Grab() the control context. /// </summary> protected override void OnPaint(PaintEventArgs pevent) { base.OnPaint(pevent); Context.Grab(); glDraw(); GL.glFinish(); SwapBuffer(); OpenGLException.Assert(); } =20 _____ =20 From: csg...@li... [mailto:csg...@li...] On Behalf Of Alban BARTHELEMY Sent: jueves, 07 de agosto de 2003 10:00 To: csg...@li... =20 Hi. sorry for my english... Nice work all, but i still have some trouble implementing double-buffer (openGL and not forms). I've written my control class, overriden OpenGLControl, and overriden glDraw. I'm using the screenSetting as Forms, and when i past this.swapBuffer() = in the overriden glDraw, my screen is flipping whit writting my openGL = render and a blank form. does anyone can help me, before i go back to c++ :)=3D i'll send you what shoold be in cause: ------------------------------------------------------- class ctrl: OpenGLControl{ ... public override void glDraw(){ GL.glClear(...); ... this.swapBuffer(); } ... public void Main(){ CsGL.Util.screenSetting sf =3D new ... ctrl c =3D new ctrl(); ctrl.Parent =3D sf; Application.run(sf); } } =20 Yeh, see you all |