You can see this links.  This can help you if you want to learn something 
about the openGL matrix, the transformations, etc. However, the link is a 
book, so, you should read this with calm. If you need some feedback "right 
now", you may want to read directly the Chapter 3 and the Appendix F. 

http://www.glprogramming.com/red/

Bye!

El domingo, 22 de julio de 2012 16:12:11 UTC-3, Derek S. escribió:
>
> I have made a basic straightedge-and-compass geometry program.
> Point objects are represented by GL_POINTS
> Lines by GL_LINES
> Circles by GL_LINE_LOOP
>
> I've searched about how zooming and panning can be accomplished,
> and have found talk about glMatrixMode, glScale, glTranslate, glOrtho, 
> etc...
>
> All of the examples / tutorials I've found deal with C++ and 3D,
> and none of them seem to actually setup a matrix,
> yet they all talk about how zooming/panning is accomplished by
> transforming a matrix..
>
> I have never studied matrices so I'm hoping to speed up the learning curve
> by seeing an example of:
>
> initial matrix
> [0][0][0][0]
> [0][0][0][0]
> [0][0][0][0]
> [0][0][0][0]
>
> zoom
>
> changed matrix
> [0][0][0][0]
> [0][0][0][0]
> [0][0][0][0]
> [0][0][0][0]
>
> I'm also wondering if numpy will be of benefit in this situation.
> I'm already using it for vectors.
>
> If you can provide an example that will help me figure this out
> I would be most grateful! At the very least I would appreciate
> a list of the functions you would recommend using for this.
>
> Thanks!
> (I'm using pyglet 1.1.4)
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/rqCEcr51nAkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to