Thank you very much, Jon!
I now have a working gadget, and a link to the OpenGL tutorial which I'm
going to study in the background.
Next question, if you don't mind. My gadget now displays some colored
rectangles, and I need to add numbers to the output.
How do I do that?
To be very
On Mon, Apr 25, 2016 at 1:46 PM, Alexander Ilin wrote:
> 24.04.2016, 23:17, "Jon Harper" :
>> Also, the opengl matrix stacks were part of the "fixed function
>> pipeline". It was totally removed in openGL 4 and replaced by the
>> programmable shaders.
Hello, Jon!
>> Also, if you don't use openGL functions that modify the current matrix
>> (see
>> http://docs.factorcode.org/content/article-opengl-modeling-transformations.html),
>> the do-matrix word doesn't do anything for you.
OK, that's the main point for me, thank you!
24.04.2016,
Also, the opengl matrix stacks were part of the "fixed function
pipeline". It was totally removed in openGL 4 and replaced by the
programmable shaders. You can read about it on Joe's blog:
http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Table-of-Contents.html
Jon
On Sun, Apr 24, 2016
Hi,
do-matrix is a very thin wrapper around glPushMatrix and glPopMatrix
(https://www.opengl.org/sdk/docs/man2/xhtml/glPushMatrix.xml), so for
a theoretical explanation, I suggest you read about linear algebra
(how a matrix can represent a linear transformation such as a
translation, a rotation, a
Thanks fore the reply!
Could someone explain to me in a few words what is do-matrix used for?
I'm not sure I need it, I just copied the code from the tetris example.
24.04.2016, 19:51, "John Benediktsson" :
> You can log to the terminal/console standard output using:
>
>
You can log to the terminal/console standard output using:
[ "foo" . ] with-global
The problem with your listener output issue is probably pref-dim is called
before the new window opens and draw-gadget is called after and the
output-stream (initially set to the listener) is rebound to