public Texture(PGraphicsOpenGL pg)
public Texture(PGraphicsOpenGL pg, int width, int height)
public Texture(PGraphicsOpenGL pg, int width, int height, Object params)
but you're passing 'this' which is resolving to your sketch.
i changed line 17 to
tex[0] = new Texture((PGraphicsOpenGL)g);
and that got further (line 22 is now giving an error). but i'm beginning to think that code isn't meant for processing3
(i am using a slightly older version of processing3, mind, 3.0b7)
Answers
Which constructor? What code is causing that error?
"tex[0] = new Texture(this);" show constructor "Texture( )" does not exits
where is the Texture class defined? is it in a library? is it your own code?
It is libraries class
Which libraries class?
This is like pulling teeth.
this is my code, during run time show error
that's better, thanks.
the class is actually processing.opengl.Texture
which is here:
https://github.com/processing/processing/blob/81e86df8fd964aa95d506e30259a3d8fe459e79a/core/src/processing/opengl/Texture.java
the constructors for which are:
but you're passing 'this' which is resolving to your sketch.
i changed line 17 to
and that got further (line 22 is now giving an error). but i'm beginning to think that code isn't meant for processing3
(i am using a slightly older version of processing3, mind, 3.0b7)
yeah, setPixelDest() isn't defined on that class.
it IS defined on the old GSMovie class, which the new one is based on, but i can't see it in the new one.
http://gsvideo.sourceforge.net/reference/codeanticode/gsvideo/GSMovie.html
so how to solve that GSMovie error in latest processing version