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)
   distorted texture mapping?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: distorted texture mapping?  (Read 2498 times)
arielm

WWW
distorted texture mapping?
« on: Jun 23rd, 2003, 1:20pm »

(still) working on a cube with 6 images mapped on each different face:
 
however, when i start to move around the cube, i can see that there is a kind of distortion on the mapped-textures!
 
i guess it is a side-effect of the internal polygon rendering algorithm...
 
now, i'm using a 4x4 quad patch for each face of the cube: the distortion is almost unoticeable and is not a problem anymore.
 
 
i just wanted to know if someone know another workaround for this problem.
 
thanks!
 

Ariel Malka | www.chronotext.org
fry


WWW
Re: distorted texture mapping?
« Reply #1 on: Jun 24th, 2003, 9:52pm »

what sort of distortion are you getting? perspective problems or something at specific amounts of rotation?
 
arielm

WWW
Re: distorted texture mapping?
« Reply #2 on: Jun 24th, 2003, 11:45pm »

test-case please:
http://www.chronotext.org/processing/doom_era
 

Ariel Malka | www.chronotext.org
arielm

WWW
Re: distorted texture mapping?
« Reply #3 on: Jun 25th, 2003, 1:32am »

here is a better test-case (it's more obvious to see the dancing texture):
http://www.chronotext.org/processing/quad_patch
 
note: if you press the mouse button, you'll notice that the deformation disapears (using a 4x4 quad-patch, as a workaround)
« Last Edit: Jun 25th, 2003, 1:51am by arielm »  

Ariel Malka | www.chronotext.org
skloopy

WWW
Re: distorted texture mapping?
« Reply #4 on: Jun 25th, 2003, 2:01am »

You can also see the problem on the on this applet on my site
 
http://elfman.vendetta.com/ryan
 
Take a look at the robot's head, if you rotate it it'll distort on one side or the other as it approaches perpendictular to the cameras line of sight. I didn't say anything till now because i thought you guys knew about it..
 
ryan :^)
 
Update: I changed my cover page so here's where the robot is now
 
http://elfman.vendetta.com/ryan/cover/nowar.html
« Last Edit: Aug 21st, 2003, 7:48pm by skloopy »  
arielm

WWW
Re: distorted texture mapping?
« Reply #5 on: Jun 25th, 2003, 11:41am »

well on this particular case, i guess the robot won't be so cute without this small defect
« Last Edit: Jun 25th, 2003, 12:24pm by arielm »  

Ariel Malka | www.chronotext.org
fry


WWW
Re: distorted texture mapping?
« Reply #6 on: Jun 25th, 2003, 6:35pm »

thanks for the info guys, these are useful for tracking down the problem and testing the fix.
 
Pages: 1 

« Previous topic | Next topic »