Have you read the second paragraph at
https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glBindBuffer.xml
?

As for your paint issue--you're basically going to need instructions in the
paint callback which lays down geometry (or whatever) for your painted
surface.

Does this make sense?

Thanks,

-- 
Raul

On Sat, Feb 29, 2020 at 1:03 PM Brian Schott <schott.br...@gmail.com> wrote:

> Raul (et al),
>
> I'm not sure I understand your question/observation.
> By freeing up buffers do you mean something like the following (that is,
> the 0 there)?
>
> glBindBuffer GL_ARRAY_BUFFER;0
>
> On another note, or perhaps a continuation of your point, please read on.
>
> In my turtle graphics script I want to create multiple paint operations for
> various turtle movements like the following and many more similar verbs
> like forward and left which are typed into the "terminal" pane and move or
> turn the turtle(s) in the graphics pane.
>
> forward 20
> left 45
>
> To begin to understand how to construct such verbs I have a token verb
> named `white` which does nothing yet, but I would like suggestions for
> `white`. Am I getting warm here at least ending `white` with gl_paint''?
>
> white=: 3 : 0
> wh=. gl_qwh''
> glClearColor 1 1 1 1
> gl_sel HD
> gl_paint''
> )
>
> Thanks, in advance,
>
> On Sat, Feb 29, 2020 at 10:20 AM Raul Miller <rauldmil...@gmail.com>
> wrote:
>
> > The code I was looking at freed the buffers during initialization (before
> > any paint operations). That might work better if there's no additional
> > buffers being created, but it's probably not ideal.
> >
> > Do you have anything like that in your code?
> >
> > Thanks,
> >
> > --
> > Raul
> >
> > --
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to