Re: [Gambas-user] OpenGl

2016-01-05 Thread Fabien Bodard
you can see many examples in the farm. Filter on gb.opengl or OpenGL 2016-01-05 3:17 GMT+01:00 Buster Seven : > Has anybody get some sample code for setting up a opengl screen and > displaying a 2d sprite loaded from and png etc? > > thanks Shane >

[Gambas-user] OpenGl

2016-01-04 Thread Buster Seven
Has anybody get some sample code for setting up a opengl screen and displaying a 2d sprite loaded from and png etc? thanks Shane -- ___ Gambas-user mailing list Gambas-user@lists

[Gambas-user] OpenGl - 'Not an Object' - solved

2015-01-10 Thread Francis Payne
Sorry, guys. Finally worked out the issue - I'd redefined 'gl' as an integer deep in some old code - the whole project was converted from VB6 when gl had no meaning. I was searching for gl. (with a dot) to avoid other references inside longer expressions. So panic over. -

Re: [Gambas-user] OpenGL question.

2011-07-28 Thread Kevin Fishburne
On 07/28/2011 12:54 PM, Caveat wrote: > Oh no, the projects are all there, but they come down as zero-length > still. > > Damn! Sorry... > Heh heh, no problem. I guess when the forum database was transferred to the new domain it got f-ed up. Too bad for me, as I can't find these examples anywhe

Re: [Gambas-user] OpenGL question.

2011-07-28 Thread Caveat
Oh no, the projects are all there, but they come down as zero-length still. Damn! Sorry... On Thu, 2011-07-28 at 18:47 +0200, Caveat wrote: > Hi Kevin > Seem to be still some tutorials available here: > http://whiteislandsoftware.com/forum/index.php?page=topicview&id=tutorial%2Fopengl-tutorials

Re: [Gambas-user] OpenGL question.

2011-07-28 Thread Caveat
Hi Kevin Seem to be still some tutorials available here: http://whiteislandsoftware.com/forum/index.php?page=topicview&id=tutorial%2Fopengl-tutorials Is it perhaps barfing on the session or something? I just d/l'd a few of them, so if you still have trouble give me a shout and I'll stick them up

Re: [Gambas-user] OpenGL quaestion.

2011-07-27 Thread Kevin Fishburne
On 06/12/2011 03:50 PM, Tomek wrote: > I've ported around 20 OpenGl tutorials already and you can find them on > gambasforum.com. gambasforum.com has been moved to whiteislandsoftware.com. I found all the OpenGL examples here: http://whiteislandsoftware.com/forum/index.php?page=topicview&type=m

Re: [Gambas-user] OpenGl question

2011-06-12 Thread Tomek
The fix works only with Gambas 3, no effect in Gambas 2.23. It would be great to have ability to switch this function on and off, but as the impact on performance is at about 1.5 - 2% it can stay switched on constantly. > I found the solution to my problem with stencil clipping by adding a li

Re: [Gambas-user] OpenGL quaestion.

2011-06-12 Thread Laurent Carlier
Le Sunday 12 June 2011 21:50:10, Tomek a écrit : > I found the solution to my problem with stencil clipping by adding a line to > sdlwindow.cpp file and recompiling Gambas3. > > void SDLwindow::Show() > { > Uint32 myFlags = (SDL_ASYNCBLIT | SDL_DOUBLEBUF | SDL_OPENGL); > SDL_GL_SetAttr

Re: [Gambas-user] OpenGL quaestion.

2011-06-12 Thread Benoît Minisini
> I found the solution to my problem with stencil clipping by adding a line > to sdlwindow.cpp file and recompiling Gambas3. > > void SDLwindow::Show() > { > Uint32 myFlags = (SDL_ASYNCBLIT | SDL_DOUBLEBUF | SDL_OPENGL); > SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 ); > SDL_GL_S

Re: [Gambas-user] OpenGL quaestion.

2011-06-12 Thread Tomek
I found the solution to my problem with stencil clipping by adding a line to sdlwindow.cpp file and recompiling Gambas3. void SDLwindow::Show() { Uint32 myFlags = (SDL_ASYNCBLIT | SDL_DOUBLEBUF | SDL_OPENGL); SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 ); SDL_GL_SetAttribu

Re: [Gambas-user] OpenGL PixelStore constants missing gambas3-2987

2010-06-09 Thread Werner
On 09/06/10 22:08, Laurent Carlier wrote: > Le mardi 08 juin 2010 15:51:56, Werner a écrit : > >> specifically I need GL_UNPACK_ALIGNMENT but it seems all the others are >> missing, too. >> >> > Should be fixed in rev 2997 > Brilliant, thank you! Werner ---

Re: [Gambas-user] OpenGL PixelStore constants missing gambas3-2987

2010-06-09 Thread Laurent Carlier
Le mardi 08 juin 2010 15:51:56, Werner a écrit : > specifically I need GL_UNPACK_ALIGNMENT but it seems all the others are > missing, too. > > --- > --- ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's

[Gambas-user] OpenGL gl.GL_CLAMP_TO_EDGE constant missing gambas3-2987

2010-06-09 Thread Werner
gl.CLAMP_TO_BORDER is in the code but not documented. Regards Werner -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the priz

Re: [Gambas-user] OpenGL PixelStore constants missing gambas3-2987

2010-06-08 Thread Laurent Carlier
Le mardi 08 juin 2010 15:51:56, Werner a écrit : > specifically I need GL_UNPACK_ALIGNMENT but it seems all the others are > missing, too. > Ok, i will take a look at this shortly (tomorrow i guess) ++ -- ThinkGeek and

[Gambas-user] OpenGL PixelStore constants missing gambas3-2987

2010-06-08 Thread Werner
specifically I need GL_UNPACK_ALIGNMENT but it seems all the others are missing, too. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit.

Re: [Gambas-user] OpenGL

2009-06-16 Thread Laurent Carlier
Le mercredi 10 juin 2009 10:26:42 Angel Romero Astorga, vous avez écrit : > Hello, > > last days, I have started programming with OpenGL using OpenGL Area and > Gambas. I have experimented some problems with the control. It seems don't > work right. Is OpenGL Area full working? I would like know

[Gambas-user] OpenGL

2009-06-10 Thread Angel Romero Astorga
Hello, last days, I have started programming with OpenGL using OpenGL Area and Gambas. I have experimented some problems with the control. It seems don't work right. Is OpenGL Area full working? I would like know the state of development of the control. Also, if the gambas' team requires it, I w