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
> 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
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 t
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
Thank you! That's what I've been looking for.
Csaba
2012/11/17 Jussi Lahtinen
> Dim oo As Object
>
> For Each oo In scV.Children
> If oo Is CheckBox Then
> oo.Value = iDesiredValue
> Endif
> Next
>
>
> Do you need to use Tag like that?
> Maybe you could use it to identify that certain c
As set in GLselectFeedback.c file in gb.opengl/src gambas source directory
gl.SelectBuffer sets buffer with size 2048 and uses internal selectbuffer array
of size 2048.
- Original Message -
From: "laurent bernabe"
To: "mailing list for gambas users"
Sent: Saturday, 17 November, 2012 11
Dim oo As Object
For Each oo In scV.Children
If oo Is CheckBox Then
oo.Value = iDesiredValue
Endif
Next
Do you need to use Tag like that?
Maybe you could use it to identify that certain checkbox group?
Like this:
For Each oo In scV.Children
If oo Is CheckBox Then
If oo.Tag = "Crea
Private Sub AddItem(Ite As String)
Dim chB As CheckBox
chB = New CheckBox(scV) As "Nyomi"
chB.Text = Ite
chB.Tag = Ite
End
I have an array of checkboxes created with this procedure. I would like to
select / unselect all of them at once. How can I reach them?
Csaba
---
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
>
> Le 17 nov. 2012 à 09:38, laurent bernabe a
> écrit :
>
> > Hello,
> >
> > I am trying to do picking in OpenGL in Gambas3.
Thank you :)
I can almost agree, as I looked officials OpenGL API 1,2,3 and 4 references
: and the glRenderMode is deprecated since OpenGL 3.
Regards
2012/11/17 François Gallo
>
> Le 17 nov. 2012 à 08:18, laurent bernabe a
> écrit :
>
> > Hello,
> >
> > I am looking at the official OpenGL doc
Le 17 nov. 2012 à 08:18, laurent bernabe a écrit :
> Hello,
>
> I am looking at the official OpenGL doc, in order to use OpenGL picking and
> selection routines.
> But it seems that since a recent version of OpenGL (I don't know if it is
> from OpenGL 3 or 4, or other), these routines are depre
Le 17 nov. 2012 à 09:38, laurent bernabe 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
> (int) and Buffer (arr
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 t
12 matches
Mail list logo