Re: [Lazarus] OpenGL

2014-05-29 Thread leledumbo
/Lazarus-OpenGL-tp4037158p4037165.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] OpenGL

2014-05-29 Thread Philippe
I am using FREEGLUT under LAZARUS/FPC. No problem. Not very complicate!! If it fits to your purpose, I do not have a big experience, bug I may help you to start, even in french if better! Em 28.05.2014 12:34, Chavoux Luyt escreveu: Hi Lazarati I have two questions: 1. Have there

[Lazarus] OpenGL

2014-05-28 Thread Chavoux Luyt
Hi Lazarati I have two questions: 1. Have there ever been a Free Pascal implementation of OpenGL? I would like to learn OpenGL and was wondering if I will be forced to use C++/C or if there are other options. 2. I know there are (or have been) various OpenGL Lazarus components (e.g. GLScene, NX

Re: [Lazarus] OpenGL

2014-05-28 Thread Dmitry Boyarintsev
On Wed, May 28, 2014 at 11:34 AM, Chavoux Luyt chav...@gmail.com wrote: I have two questions: Here're two answers: 1. Have there ever been a Free Pascal implementation of OpenGL? I would like to learn OpenGL and was wondering if I will be forced to use C++/C or if there are other options.

Re: [Lazarus] opengl Could not find FB config

2014-05-13 Thread Mattias Gaertner
On Tue, 06 May 2014 11:00:37 +0200 Andrea Mauri andrea.mauri...@gmail.com wrote: Dear all, I developed an application using LazOpenGLContext, one of the application user reported me that he got an error when running my app remotely on CentOS (kernel 2.6.32-431.5.1.el6.x86_64). The

[Lazarus] opengl Could not find FB config

2014-05-06 Thread Andrea Mauri
Dear all, I developed an application using LazOpenGLContext, one of the application user reported me that he got an error when running my app remotely on CentOS (kernel 2.6.32-431.5.1.el6.x86_64). The application works locally but running remotely he got this error: 'Could not find FB

Re: [Lazarus] OpenGL with Lazarus

2013-05-14 Thread Michael Schnell
What about SDL ? AFAIK, same can use Open GL (and other) graphical backends. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] OpenGL with Lazarus

2013-05-14 Thread Graeme Geldenhuys
On 2013-05-14 07:50, Michael Schnell wrote: AFAIK, same can use Open GL (and other) graphical backends. +1 SDL has excellent cross-platform support, and can use multiple low level graphical backends to suite each platform. It is under active development, and was/is used in many game

Re: [Lazarus] OpenGL with Lazarus

2013-05-14 Thread Reimar Grabowski
On Tue, 14 May 2013 10:32:23 +0100 Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-05-14 07:50, Michael Schnell wrote: AFAIK, same can use Open GL (and other) graphical backends. +1 SDL has excellent cross-platform support, and can use multiple low level graphical backends

Re: [Lazarus] OpenGL with Lazarus

2013-05-14 Thread Graeme Geldenhuys
On 2013-05-14 15:19, Reimar Grabowski wrote: But you still have to learn pure, low level OpenGL to use it. Ah, you seem to be right. SDL has its own cross-platform 2D API, but for the OpenGL backend the calls are the OpenGL API. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI

Re: [Lazarus] OpenGL with Lazarus

2013-05-13 Thread Michalis Kamburelis
Mattias Gaertner wrote: On Fri, 10 May 2013 11:47:54 +0300 Tommi Pramitommi.pr...@gmail.com wrote: Hello, Is there any abstraction of OpenGL for Lazarus/FPC. I am not that interested on learning OpenGL at low level, but rather use what it can provide, a bit higher level? Similar to

[Lazarus] OpenGL with Lazarus

2013-05-10 Thread Tommi Prami
Hello, Is there any abstraction of OpenGL for Lazarus/FPC. I am not that interested on learning OpenGL at low level, but rather use what it can provide, a bit higher level? Similar to GlScene... (Or is there Port of GlScene for Lazarus(FPC)... ) -Tee- --

Re: [Lazarus] OpenGL with Lazarus

2013-05-10 Thread Mattias Gaertner
On Fri, 10 May 2013 11:47:54 +0300 Tommi Prami tommi.pr...@gmail.com wrote: Hello, Is there any abstraction of OpenGL for Lazarus/FPC. I am not that interested on learning OpenGL at low level, but rather use what it can provide, a bit higher level? Similar to GlScene... (Or is there

Re: [Lazarus] OpenGL conversion

2011-02-15 Thread Mattias Gaertner
On Tue, 15 Feb 2011 10:14:33 +0200 Juha Manninen juha.mannine...@gmail.com wrote: [...] I guess TOpenGLControl could work with Delphi, too. Feel free to create a VCL backend. A QT backend is missing too. Mattias -- ___ Lazarus mailing list

Re: [Lazarus] OpenGL conversion

2011-02-14 Thread Reimar Grabowski
On Mon, 14 Feb 2011 07:51:35 +0200 Juha Manninen juha.mannine...@gmail.com wrote: DeleD has types and functions defined only on Windows. Should be no problem if the Lazarus prog shall only run on windows. ;) At least types: HGLRC PixelFormatDescriptor AFAIR HGLRC is not needed on other

Re: [Lazarus] OpenGL conversion

2011-02-14 Thread Paul Nicholls
- Original Message - From: Juha Manninen juha.mannine...@gmail.com To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Sent: Monday, February 14, 2011 5:12 AM Subject: [Lazarus] OpenGL conversion Hi Are there any conversion guides or examples of how OpenGL Delphi program

Re: [Lazarus] OpenGL conversion

2011-02-14 Thread Juha Manninen
Paul Nicholls kirjoitti tiistai 15 helmikuu 2011 04:40:12: Hi Juha, IIRC, Freepascal/Lazarus uses the units GL.pas, and GLU.pas as opposed to Delphi's OpenGL.pas. I think this is correct, and I hope this helps :) Hi Yes, that is the easy part. Delphi converter in Lazarus already replaces

[Lazarus] OpenGL conversion

2011-02-13 Thread Juha Manninen
Hi Are there any conversion guides or examples of how OpenGL Delphi program can be converted to Lazarus. I would try to automate it with Delphi converter but I don't know much about graphics programming myself. I am testing the converter with DeleD 3-D program which would be an extremely cool

Re: [Lazarus] OpenGL conversion

2011-02-13 Thread Corpsman
I succesfully ported my Ballanced Game from Delphi OpenGL to Lazarus OpenGL ( Linux, Win compatible ) but i had to do many things by hand. Maybe my [url=http://corpsman.de/index.php?doc=opengl/clear_engine]Clear Engine[/url] sample could give you a little hint to succesfully port your

Re: [Lazarus] OpenGL conversion

2011-02-13 Thread Bo Berglund
On Sun, 13 Feb 2011 20:12:48 +0200, Juha Manninen juha.mannine...@gmail.com wrote: Hi Are there any conversion guides or examples of how OpenGL Delphi program can be converted to Lazarus. I would try to automate it with Delphi converter but I don't know much about graphics programming myself.

Re: [Lazarus] OpenGL conversion

2011-02-13 Thread Reimar Grabowski
On Sun, 13 Feb 2011 20:12:48 +0200 Juha Manninen juha.mannine...@gmail.com wrote: Hi Are there any conversion guides or examples of how OpenGL Delphi program can be converted to Lazarus. For OpenGL calls no conversion should be needed. GL works the same independent of language/OS (except

Re: [Lazarus] OpenGL conversion

2011-02-13 Thread Reimar Grabowski
On Sun, 13 Feb 2011 18:39:37 +0100 Bo Berglund bo.bergl...@gmail.com wrote: What about GLScene? Isn't that project restarted and with FPC/Lazarus support? http://wiki.lazarus.freepascal.org/GLScene GLScene pure OpenGL If the Delphi code uses GLScene, you need it on Lazarus as well. If it

Re: [Lazarus] OpenGL conversion

2011-02-13 Thread Juha Manninen
Reimar Grabowski kirjoitti maanantai 14 helmikuu 2011 05:44:18: For OpenGL calls no conversion should be needed. GL works the same independent of language/OS (except context handling and some OS-specific extensions WGL_*, GLX_*, etc.). OpenGL is just a bunch of commands which go directly to

[Lazarus] opengl and qt

2010-06-11 Thread Andrea Mauri
I would like to ask if openglcontext works with qt too. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] opengl and qt

2010-06-11 Thread Mattias Gaertner
On Fri, 11 Jun 2010 12:34:54 +0200 Andrea Mauri andrea.mauri...@gmail.com wrote: I would like to ask if openglcontext works with qt too. If you mean the package lazopenglcontext: no, this is a ToDo. In general: yes, you can use opengl with qt. Mattias --

Re: [Lazarus] opengl and qt

2010-06-11 Thread zeljko
On Friday 11 June 2010 12:41, Mattias Gaertner wrote: On Fri, 11 Jun 2010 12:34:54 +0200 Andrea Mauri andrea.mauri...@gmail.com wrote: I would like to ask if openglcontext works with qt too. If you mean the package lazopenglcontext: no, this is a ToDo. In general: yes, you can use opengl

Re: [Lazarus] opengl and compiz

2009-08-19 Thread Aleš Katona
Compiz/linux currently is very touchy depending on your card, kernel and distro (xorg version). If you have say Ubuntu 9.04 with kernel .28 and the new xorg and you have intel or ati (pre r500, no longer officialy fglrx driver supported) cards you're pretty much screwed when it comes to

Re: [Lazarus] opengl and compiz

2009-08-18 Thread Andrea Mauri
Dear Mattias, I think that is related to how lazarus manage opengl. I tried another example with TOpenGLControl and I get the same behaviour. I put a TOpenGLControl on a form then I just copied a piece of code (from the example on TOpenGLControl in Components/Examples) in order to draw a cube

Re: [Lazarus] opengl and compiz

2009-08-18 Thread Reimar Grabowski
On Tue, 18 Aug 2009 23:29:54 +0200 Andrea Mauri andrea.mauri...@gmail.com wrote: Dear Mattias, I think that is related to how lazarus manage opengl. I cannot really confirm this. My code works fine with or without compiz. But I must admit that I see the same resize problems you do when I use a