FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Programs
(Moderators: fry, REAS)
   Texture error, any fixes?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Texture error, any fixes?  (Read 682 times)
seltar


Texture error, any fixes?
« on: Mar 17th, 2005, 6:05pm »

BUG
This just doesn't look good, nor right..  
might have something to do with fov... any ideas
 
the basic code:
Code:

rotateX(PI/4);
int w = width;
int h = height;
beginShape(QUADS);
texture(wtex);
vertex(-1*w,-1*h,0,0,0);
vertex(1*w,-1*h,0,wtex.width,0);
vertex(1*w,1*h,0,wtex.width,wtex.height);
vertex(-1*w,1*h,0,0,wtex.height);
endShape();

 
-seltar
 
Pages: 1 

« Previous topic | Next topic »