Login  Register

Re: Problem with client-side textures

Posted by elect on Aug 31, 2015; 4:22pm
URL: https://forum.jogamp.org/Problem-with-client-side-textures-tp4035179p4035192.html

opengltester wrote
Regarding other code samples and deprecated APIs, I have done my homework and read and translated lots of them already (I posted here the one that doesn't work) but also I want to understand what I am doing, step by step. Thus I don't want to dissect yet another sample and go off doing something completely different at the first real difficulty because that's not the way to learn. I want to understand what is wrong with this code. For the same reason I am trying not to use toolkit-specific utilities too much because I want to understand OpenGL, not some derivative, and furthermore I may have to port this code to C++ later.

Thanks again for your understanding
Using fixed function pipeline will give you the illusion of knowledge, as McKesson says here
You will end copy/pasting code without really understand what it is happening under the hood.
Sooner or later you will have to learn modern opengl and the fixed pipeline is not going to help (unless rare examples).
I did this error and I wish someone has told me that before. If you want to understand than this is the way to go.
You can postpone the use of the Texture class utility if you want.
Anyway, I copied the wrong link, the test I wanted to propose you it was actually this one. The sample is pretty easy, you can't go simpler than that. The lines of code that matter are a dozzen.