Author : ysalex


Reply
Reply
 
Thread Tools Display Modes
jocose's Avatar
Old (#1)
This happens in any application that I have tested it in. I can't figure out of its normal or not.

Here is the scenario. I have a 512x2048 texture and a 10m x 30m polygon. I unwrap the polygon and then quantize it so that it fills then entire 0-1 UV space. This means the texture should be perfectly mapped to full texture with NO distortion, yet, when I look closely at the lines I draw on the texture. All the vertical pixels produce texels that are much wider than horizontal texels.

Also as far as I can tell this happens on 1:2 textures as well just to a less extent. Meaning the issue is proportional.



I thought that it was fine to use power of 2 textures and that you wouldn't have any problems!

Can someone explain what's going on here?

Last edited by jocose; 08-10-2010 at 06:11 PM..
Offline , polycounter, 1,052 Posts, Join Date Jun 2008, Location Kirkland, WA  
   Reply With Quote

PredatorGSR's Avatar
Old (#2)
10x30 is a 1:3 ratio. 512x2048 is a 1:4 ratio. As a result the texture will be stretched a bit since the ratios don't match. To get better lines, you'd have to waste some texture space by only using 3/4 of the uv space so the ratio is the same.
Konrad Beerbaum: Environment Artist
http://www.konradbeerbaum.com
Offline , polygon, 621 Posts, Join Date Jan 2010, Location Austin, TX  
   Reply With Quote

jocose's Avatar
Old (#3)
This not my day, that was very dumb of me Thanks for the hand holding predator, i'll try to think a little harder next time.
Offline , polycounter, 1,052 Posts, Join Date Jun 2008, Location Kirkland, WA  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch