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

laurent bernabe laurent.bernabe at ...626...
Sun Nov 18 01:11:42 CET 2012


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 <lordheavym at ...626...>

> 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 value stored in the
> buffer,
> > once I left the GL_SELECT mode.
> >
> > I've joined my openGL application source files : MMain class, and
> > ColoredCube.class.
> >
> > In MMain, method screen_Draw(), I tried to get the value of the array
> > returned by gl.RenderMode(gl.RENDER), but I get an error, line 37 : Null
> > object reference.
> >
> > What's wrong with my code ?
> >
> > Regards
> >
> > Laurent Bernabé
> >
>
> Here a small project based on example 13.3 from
> http://www.glprogramming.com/red/chapter13.html
>
> Hope it can help! Picking wasn't easy to implement; it gaves me
> a headache :)
>
> If you need some functionnality (extensions) in Opengl that you can test,
> just
> ask, i will see if i can implement them.
>
> Regards,
> ++
>
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>



More information about the User mailing list