Login  Register

Re: Mapping a texture

Posted by Demoscene Passivist on Apr 12, 2011; 10:00pm
URL: https://forum.jogamp.org/Mapping-a-texture-tp2812032p2813457.html

Yes, u could definetly do that with OpenGL.

I would suggest using "OpenGL Shading Language" (GLSL) for the tranformation u wanna do. OpenGL shaders really fast and could easily handle ur problem in realtime.

To get an idea of how to do the "cartesian to polar" and "polar to cartesian" transformation as fragment shader u may take a look here:

http://machinesdontcare.wordpress.com/2007/12/29/polarpixellate-glsl/