Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   texture mapping formula (https://simplymaya.com/forum/showthread.php?t=31944)

banksta 21-02-2009 07:31 PM

texture mapping formula
 
Hi Everyone,

I am not new to Maya as some know and I hope this is not a silly question but, I was wondering if there is a formula to figure out how small to make a texture map in respect of the output size of the UV's. Example: I used a planar map on a wall I am texturing and I made the output 2048 because I wanted the resolution to be nice. I scaled my texture down from 2048 to 1024 because I thought the scale would be more realistic. I found out I needed it smaller when I did a test. The problem is the smaller you make some textures you lose resolution in many cases. Is it the texture map itself or should I be outputting the UV's at a much higher resolution? Any help would be appreciated because I am tired of using layered textures for everything LOL!

honestdom 21-02-2009 07:40 PM

i didn't understand this sentence

I scaled my texture down from 2048 to 1024 because I thought the scale would be more realistic.

You use the UVs to make the texture... so if you output the UVs at 2k the texture should be 2k when you use the outuv file.

perhaps i'm not getting it, could you post some pics for those of us that understand visually.
;)

banksta 22-02-2009 01:04 AM

Quote:

Originally posted by hammer.horror
i didn't understand this sentence

I scaled my texture down from 2048 to 1024 because I thought the scale would be more realistic.

You use the UVs to make the texture... so if you output the UVs at 2k the texture should be 2k when you use the outuv file.

perhaps i'm not getting it, could you post some pics for those of us that understand visually.
;)

What I meant is that I made made the UV output of my wall 2048 x 2048. Then the texture I used to paint on to the UV's was 2048 x 2048 but I scale it down to 1024 and did a test to see how big the tiling looked. It was still to big so I scaled it down more and lost the resolution. My question is to keep the resolution and scaling of my texture high where It doesn't get pixelated, is there a formula to figure out the smallest I can scale my textures down compared to the UV output where it doesn't become washed out. I hate painting a whole texture map exactly how I want it and the scale is still to big when I render it out. I started using layered textures with alpha's but that is a lot of work when I could make all my maps from one texture if I knew exactly what size it would be when I render.

honestdom 24-02-2009 02:10 AM

you should be using your UVs as a guide for where your texture goes. Scale should not be an issue if you have correctly used your UV layout... at least i don't think so.

for a wall i would planar map the wall, then i would unfold the UVs and lay them out. then export that at 2k as a targa or tif. open it up in photoshop and then do all the normal business of creating layers and sorting out the textures according to where my uv guidelines are.
thus scale should not be a problem.

banksta 24-02-2009 04:55 AM

Quote:

Originally posted by hammer.horror
you should be using your UVs as a guide for where your texture goes. Scale should not be an issue if you have correctly used your UV layout... at least i don't think so.

for a wall i would planar map the wall, then i would unfold the UVs and lay them out. then export that at 2k as a targa or tif. open it up in photoshop and then do all the normal business of creating layers and sorting out the textures according to where my uv guidelines are.
thus scale should not be a problem.

I do use the UV's as a guideline, but even then the scale of your texture has to be tested in maya on things like brick and tile to make sure they don't look to big compared to the rest of the scene and as you know you will lose resolution if you keep scaling the texture down.

gster123 24-02-2009 07:50 AM

As a rule of thumb I generally make a texture 2X the size its going to be on the screen, eg if in the final render its going to be approximately 500 X 500 Pixels I would go for a 1K map on that object.

You could get a way with less such as 1.5X or 1 X but going lower that can cause you problems with texture distortion.

banksta 24-02-2009 12:17 PM

Quote:

Originally posted by gster123
As a rule of thumb I generally make a texture 2X the size its going to be on the screen, eg if in the final render its going to be approximately 500 X 500 Pixels I would go for a 1K map on that object.

You could get a way with less such as 1.5X or 1 X but going lower that can cause you problems with texture distortion.

Thanks that is some good info. I think that is the problem I have been having. I have been using 1k maps on everything to save ram. That explains why my textures look better on smaller objects.

publicFunction 24-02-2009 01:20 PM

Both suggestions are correct.

Texturing is an art in itself and requires a little bit of black magic to be able to use correctly down scaled texture images to tile correctly and maintain resolution.

TBH, I have done the same by working in photoshop at as high a resolution as possible then once complete to speed up texture loading and render times I have resized the image file to a more manageable size. This should keep the details, but never overwrite the high res one as you will always be able to manipulate changes at the high res and overwrite the one used for rendering...

Also I would use the PSD file plugin in the hypershade as you can get more control over the different layers you can create.

mtmckinley 24-02-2009 05:09 PM

All of the textures in your scene need to be similar pixel densities. For instance, if you designate that a 10'x10' wall will use a 2048, then a 5'x5' crate or something would look good with a 1024 next to it and so on, down to the smallest item.

However, there's also the matter of screen focus. If you are going to focus in on your character's watch to show what time it is in full-screen glory, you'll want to increase the texture size to hold up under the close, detailed scrutiny.

banksta 24-02-2009 11:11 PM

Thanks everyone this is some real great advice. I realize thanks to GeoT that I have stopped putting enough emphasize on my modeling ie... bevels on everything and so forth. I think I take on a big project and get tired and start taking shortcuts. I remember I modeled a microphone and I added every little detail and when I posted it everyone agreed the modeling was great but i rushed the texturing. I realize I have to take baby steps. I want to get a bunch of renders so I can finish my website, but whats the use if I put up subpar work. I really appreciate the crits I receive even though I made a thread saying I would not post until my work is outstanding out of frustration.

mtmckinley 25-02-2009 05:20 PM

your current work will ALWAYS be crap compared to your next work. The work on my own website doesn't go past 2003 in history for a reason. :)

In other words, don't resist posting your work for crits just because you don't think your work is superb. The whole purpose of crits is to help you get to that superb mark.


All times are GMT. The time now is 12:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018