Re: [Gambas-user] [Gambas3] The static method Gl.SelectBuffer

2012-11-20 Thread laurent bernabe
Hello, I've finally managed to do a selection of my 3 cubes. I've joined the my MMain module and my ColouredCube source file. (They need the gb.sdl, gb.opengl and gb.opengl.glu components). I think I'll post another source if I manage to do picking on a single cube (And I think I will manage).

[Gambas-user] [Gambas3] The static method Gl.SelectBuffer

2012-11-17 Thread laurent bernabe
Hello, I am trying to do picking in OpenGL in Gambas3. So I need to use the method Gl.SelectBuffer, but I am facing a big problem : Whereas the Official OpenGL documentation says that it takes arguments Size (int) and Buffer (array of unsigned int), (and Gambas one says it also !!!) : I noticed

Re: [Gambas-user] [Gambas3] The static method Gl.SelectBuffer

2012-11-17 Thread François Gallo
Le 17 nov. 2012 à 09:38, laurent bernabe laurent.bern...@gmail.com a écrit : Hello, I am trying to do picking in OpenGL in Gambas3. So I need to use the method Gl.SelectBuffer, but I am facing a big problem : Whereas the Official OpenGL documentation says that it takes arguments Size

Re: [Gambas-user] [Gambas3] The static method Gl.SelectBuffer

2012-11-17 Thread laurent bernabe
Thank you :) I think I'll wait for him : also because I have another difficulty regarding object selection/picking in Gambas3 OpenGL. Regards 2012/11/17 François Gallo basic.gam...@gmail.com Le 17 nov. 2012 à 09:38, laurent bernabe laurent.bern...@gmail.com a écrit : Hello, I am

Re: [Gambas-user] [Gambas3] The static method Gl.SelectBuffer

2012-11-17 Thread tommyline
@lists.sourceforge.net Sent: Saturday, 17 November, 2012 11:25:44 AM Subject: Re: [Gambas-user] [Gambas3] The static method Gl.SelectBuffer Thank you :) I think I'll wait for him : also because I have another difficulty regarding object selection/picking in Gambas3 OpenGL. Regards 2012/11/17

Re: [Gambas-user] [Gambas3] The static method Gl.SelectBuffer

2012-11-17 Thread laurent bernabe
for gambas users gambas-user@lists.sourceforge.net Sent: Saturday, 17 November, 2012 11:25:44 AM Subject: Re: [Gambas-user] [Gambas3] The static method Gl.SelectBuffer Thank you :) I think I'll wait for him : also because I have another difficulty regarding object selection/picking in Gambas3

Re: [Gambas-user] [Gambas3] The static method Gl.SelectBuffer

2012-11-17 Thread Laurent Carlier
Le samedi 17 novembre 2012 19:01:06 laurent bernabe a écrit : Hello : thank you for your answer. Ok, I went into the Gambas SVN repository, in the source /trunk/gb.opengl/src/GLselectFeedback.c and I noticed the use of an internal buffer. But I still don't understand how I can get the

Re: [Gambas-user] [Gambas3] The static method Gl.SelectBuffer

2012-11-17 Thread laurent bernabe
Hello : Thank you very much for your help. I'll have a look at the example and try to adapt it. Regards :) 2012/11/18 Laurent Carlier lordhea...@gmail.com Le samedi 17 novembre 2012 19:01:06 laurent bernabe a écrit : Hello : thank you for your answer. Ok, I went into the Gambas SVN