Thanks for both your reply. The range of the input data vary but I could fix it if it makes things easier.

Note I do not want 2pi and 4pi to both map to the same physical location, I want 2pi and 4pi to be displayed with the same gray level or colour.

Brice

On 5 November 2011 18:28, Ian Mallett <geometrian@gmail.com> wrote:
So, the range of the input data is -15pi to 15pi, and you want to map it onto a disk, such that the input data maps to the 0-2pi (i.e., phase data for 2pi and 4pi both map to the same physical location?)

Ian

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
PyOpenGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyopengl-users