We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Texture wrapping / clamping
Page Index Toggle Pages: 1
Texture wrapping / clamping (Read 897 times)
Texture wrapping / clamping
Mar 3rd, 2007, 12:08am
 
Hi,

How can I cause a texture to wrap if I offset the uv coords on a poly?
If I have textureMode(NORMALIZED) and i offset out of the 0,1 range then the texture is clamped it seems.
Will i have to go down into a closer GL call or maybe mess about remapping the original texture into a new texture?

Any answers (preferabbly with example code) would be appreciated.

Thanks for any help

Re: Texture wrapping / clamping
Reply #1 - Mar 6th, 2007, 4:28pm
 
i havent been able to wrap textures using processing..
maybe if you try direct opengl programming

using beginGL()/endGL()
and call gl functions directly.. that might work.. i actually dont remember if it worked or not.. sorry
Page Index Toggle Pages: 1