Login  Register

Re: unpack pixel_buffer_object must be bound to call this method

Posted by nyholku on Nov 27, 2017; 7:24pm
URL: https://forum.jogamp.org/unpack-pixel-buffer-object-must-be-bound-to-call-this-method-tp4038328p4038335.html

Hi,
ok, thanks I will experiment with that (tex.enable()) 

A direct pointer to something that would clarify the low level high level API stuff would be appreciated.

I've read through quite a number of tutorials but I've not really found one where BufferedImage to texture would
be covered. 

wbr Kusti


From: "gouessej [via jogamp]" <[hidden email]>
Date: Monday, 27 November 2017 16:42
To: nyholku <[hidden email]>
Subject: Re: unpack pixel_buffer_object must be bound to call this method

Don't mix the low level OpenGL API calls with the high level API calls. I still see neither tex.enable() nor gl.glEnable(GL.GL_TEXTURE_2D), either of them must be called before binding. Please look at our numerous JOGL examples, those of the Red Book, our unit tests and our demos in our Github repositories.
Julien Gouesse | Personal blog | Website



If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/unpack-pixel-buffer-object-must-be-bound-to-call-this-method-tp4038328p4038334.html
To unsubscribe from unpack pixel_buffer_object must be bound to call this method, click here.
NAML