N00b question about tiling texture maps.

Announcements, requests and support regarding the Blender Indigo export script
User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

N00b question about tiling texture maps.

Post by pauljohns » Wed Dec 05, 2007 3:52 pm

I have a big plane that i want to tile with a high res texture map of stone tiles/bricks. When I UV map it to the plane, there doesn't seem to be an option for shrinking and tiling it withing Blender. If I go into Photoshop with the Blender generated UV map and try to make it tile there, it lowers the resolution of the texture. How do I do it correctly? Thanks in advance.
Attachments
UV-Map.jpg
I'm 'mapping it this way, but I want to be able to scale it down in Blender so that it preserves the high amount of detail. If I tile it in Photoshop, I get a good amount of 'stones' on the screen, but it lowers the original resolution of the image.
UV-Map.jpg (242.99 KiB) Viewed 15394 times
UV-Map-result.jpg
this isn't what I want.
UV-Map-result.jpg (503.18 KiB) Viewed 15394 times
UV-Map-result-i-want.jpg
In Blender, I can get the result I'm looking for by telling it how often to tile. I just need to know how to do that in Indigo.
UV-Map-result-i-want.jpg (263.99 KiB) Viewed 15394 times

Woodie
Posts: 188
Joined: Thu Oct 11, 2007 2:25 am

Post by Woodie » Thu Dec 06, 2007 6:16 am

In blender you can do it in two ways (both have pros and cons)
1. in texture settings you have Xrepeat and Yrepeat options. It is fast way to do it, you don't have to change uv mappings and it affects all objects that use that texture. Unfortunately it affects only rendering no game engine (real time preview).
2. In UV/Image editor window scale your projection. (careful with "Layout Clipped to Image Size" option. It will make whole object projection to fit image size (no tiling possible). You have to uncheck it to scale more. Cons of that method? You have to do it per every object.

User avatar
alexmeyer
Posts: 150
Joined: Tue Jan 16, 2007 7:55 am
Contact:

Post by alexmeyer » Thu Dec 06, 2007 6:22 am

You just need to scale the object in the UV window, so it's a lot bigger than the texture, causing it to tile. You'll see the change in the 3d window. :D

EDIT: dangit, too slow... :x :wink:
From uncyclopedia.org, on "Elephant's Dream":

"The choice of the title is highly significant, because while the movie does not feature any elephants nor dreams, no one understands what happens anyway."

User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

Post by pauljohns » Thu Dec 06, 2007 7:23 am

ok, so the mesh (plane in this case) actually stays the same size, I just have to increase the size of the face or faces that I am mapping in the UV window. So I guess I'll have to zoom out alot, since the image I'm using is far larger than my screen.

If I texture it first, can I then zoom out and have the image tile in real time in the UV window, or do I need to scale first, then add the texture?

Thanks for your help, everyone!

User avatar
alexmeyer
Posts: 150
Joined: Tue Jan 16, 2007 7:55 am
Contact:

Post by alexmeyer » Thu Dec 06, 2007 7:27 am

In your last screentshot, where it shows the object in the UV window, just hit "A" to select all, and hit "S" to scale it up. It won't show that it's tiling in that window, but it will show in your 3d window while you're in UV select mode.
From uncyclopedia.org, on "Elephant's Dream":

"The choice of the title is highly significant, because while the movie does not feature any elephants nor dreams, no one understands what happens anyway."

User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

Post by pauljohns » Thu Dec 06, 2007 7:31 am

not only was that response exceptionally fast, it's to the point and gives me exact instructions on how to do it. Thank you very much, Alex.

User avatar
alexmeyer
Posts: 150
Joined: Tue Jan 16, 2007 7:55 am
Contact:

Post by alexmeyer » Thu Dec 06, 2007 7:32 am

Heh, I get email notifications for topics I post in, so I saw it immediately... :P

Any time, glad to be of service.
From uncyclopedia.org, on "Elephant's Dream":

"The choice of the title is highly significant, because while the movie does not feature any elephants nor dreams, no one understands what happens anyway."

User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

Arrggh

Post by pauljohns » Fri Dec 07, 2007 1:56 pm

The good news is, I am able to tile high res texture maps, but now my bump mapping is acting up, and I don't know why. I have the Map Input set to 'UV' and where it says 'Map To' I only have 'Nor' clicked.
Attachments
im1196991528.png
My texture map, no bump. Thanks Alex!
im1196991528.png (1.02 MiB) Viewed 15288 times
im1196990152.png
This is just the bump map, no textures. When I rendered it with the texture it darkened the area where the bump appeared.
im1196990152.png (1.17 MiB) Viewed 15288 times

User avatar
alexmeyer
Posts: 150
Joined: Tue Jan 16, 2007 7:55 am
Contact:

Post by alexmeyer » Fri Dec 07, 2007 3:45 pm

That's.... odd.

After seeing that, I did a little testing, but I couldn't reproduce your problem...
You're trying to do *just* a bumpmap, no colored texture on the surface, right?

Maybe a screenshot of the blendigo material section?
From uncyclopedia.org, on "Elephant's Dream":

"The choice of the title is highly significant, because while the movie does not feature any elephants nor dreams, no one understands what happens anyway."

User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

Post by pauljohns » Fri Dec 07, 2007 4:10 pm

crap, I'm baking a fluid sim right now, but I can tell you exactly what it is. Material is phong (default) a:0, b:1.0, c:0.
There is no albedo, no exponent, just a bump map, mapped to the UV.
The bump map gamma is whatever is default. I think it's 1.0
Attachments
im1196991113.png
When I tried it again after posting the last time, it did this.
im1196991113.png (1.13 MiB) Viewed 15277 times

User avatar
alexmeyer
Posts: 150
Joined: Tue Jan 16, 2007 7:55 am
Contact:

Post by alexmeyer » Fri Dec 07, 2007 4:14 pm

That's very odd. You think you could post your .blend file? (texture too)
From uncyclopedia.org, on "Elephant's Dream":

"The choice of the title is highly significant, because while the movie does not feature any elephants nor dreams, no one understands what happens anyway."

User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

Post by pauljohns » Fri Dec 07, 2007 4:33 pm

great idea! Thanks.
Attachments
blend.zip
im using a png as the bump, but i made it a jpg because the png is over 4 mb.
(2.71 MiB) Downloaded 232 times

User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

Post by pauljohns » Fri Dec 07, 2007 4:37 pm

Alex, I just wanted to say thanks. You're really a huge help, and it means a lot to a guy like me just starting out with this.

User avatar
alexmeyer
Posts: 150
Joined: Tue Jan 16, 2007 7:55 am
Contact:

Post by alexmeyer » Fri Dec 07, 2007 4:54 pm

Hey, no problem. Glad I can be of help. :D

Well, this has got me completely confused now. It's working fine for me... :?
I'd re-upload the .blend file if I thought that had anything to do with it... but I didn't change anything.
I'll post a screenshot of the blendigo mat settings just to be sure, but I dunno what's going on.
Attachments
im1197002447.png
im1197002447.png (1009.62 KiB) Viewed 15262 times
blendigo1.PNG
blendigo1.PNG (214.13 KiB) Viewed 15263 times
From uncyclopedia.org, on "Elephant's Dream":

"The choice of the title is highly significant, because while the movie does not feature any elephants nor dreams, no one understands what happens anyway."

User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

Post by pauljohns » Fri Dec 07, 2007 5:00 pm

hmmm, the first time I rendered the bump, it looked a little bit like yours. Notice those gradient-ish bands that loop every so often? Try, if you don't mind, turning the 'B' to 1.00 and re-render. That's what I did, and that's when the fun (being sarcastic) started.

On one hand, it's nice to know I'm doing things right. On the other, it's odd that this is turning out weird just for me.

I'm using windows Media Center Edition, and my PC was rendering all day, and I didn't restart, so my ram is probably all tapped out now. Could any of these things be factors?

Post Reply
21 posts

Who is online

Users browsing this forum: Bing [Bot] and 12 guests