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 & HelpSyntax Questions › UVW and texture tiling
Page Index Toggle Pages: 1
UVW and texture tiling (Read 448 times)
UVW and texture tiling
Feb 11th, 2006, 4:49pm
 
Hi there.

I'd like to map an image as a pattern to a geometry of unfrequent polygons. Following the examples in the reference I discovered, that processing doesn't permit values in the uv part, that would make the image be smaller than the face. I imagined, that this would create a pattern...
Is there a way at all to do this in a "processed", automated way?

thanks for any help or idea!

Gunnar
Re: UVW and texture tiling
Reply #1 - Feb 11th, 2006, 10:39pm
 
I just had a glimpse at the sourcecode and it looks like you can't set the uv-coordinates to values higher then the texture. Processing will limit this to the texture size (e.g. 1.0 in texturemode NORMALIZED and the pixel width/height of the image in texturemode IMAGE), at least in P3D. Don't know about OPENGL.

Would be nice to see this pattern feature in a future release of processing. Could be done in one go with a fix for bug 103 Wink
Re: UVW and texture tiling
Reply #2 - Feb 11th, 2006, 10:48pm
 
Thnx for the reply.

I share your wish. Would be awesome! =(I)
Page Index Toggle Pages: 1