Court Goodman
"Some College"
Join date: 10 May 2006
Posts: 320
|
06-28-2008 18:57
hi, i have been taking a go at seamless textures, and when i upload to SL, im getting a fuzzy border on the edge. this sound familiar? wondering if there is a technique i need to know to prevent that.
I'm temporarily working around it by setting texture repeats to 0.99 but thats not something i prefer.
(I'd upload a photo but the database for the forum is apparently having problems.)
thank you.
|
Abu Nasu
Code Monkey
Join date: 17 Jun 2006
Posts: 476
|
06-28-2008 21:17
From: someone I'm temporarily working around it by setting texture repeats to 0.99 but thats not something i prefer. I use 0.98 for some of my bigger builds. But I also specially prepare the textures in Photoshop. I size the image down to 506x506, then size the canvas back up to 512x512, then grab the edges and stretch them out. Absolutely fantastic technique for stitching several smaller images across multiple prims. But this is one of my secrets for making big, seamless pano things, so don't tell anybody. Can't really do much else. Interpolation likes to sample pixels in a wrap-around fashion. The best you can do is try to control the pixels it wraps-around to by using the above hack. It can't be stopped, but it can be controlled.
|
Veldin Finesmith
Registered User
Join date: 27 Jun 2008
Posts: 16
|
06-28-2008 23:02
From: Abu Nasu I use 0.98 for some of my bigger builds. But I also specially prepare the textures in Photoshop. I size the image down to 506x506, then size the canvas back up to 512x512, then grab the edges and stretch them out. Absolutely fantastic technique for stitching several smaller images across multiple prims. But this is one of my secrets for making big, seamless pano things, so don't tell anybody.
Can't really do much else. Interpolation likes to sample pixels in a wrap-around fashion. The best you can do is try to control the pixels it wraps-around to by using the above hack. It can't be stopped, but it can be controlled. Sorry for being a little slow here but I don't understand what you're doing and how that fixes the OP's issue? 1. take image and shrink to 506x506 2. use the resize canvas tool, so only the canvas changes and resize canvas to 512x512 3. now you have a 506x506 image with a 6 pixle border of the 512 canvas.... here is what i don't understand. you say grab the edges and stretch them out.. I'm assuming your stretching the 506 image, how big are you stretching it to? 511? 515? 512? and how does that stop the OP's problem? (confused)
|
Abu Nasu
Code Monkey
Join date: 17 Jun 2006
Posts: 476
|
06-28-2008 23:57
Yes, left with 6px. That's a 3px border all the way around.
At the horizontal bottom, grab 1px horizontal line at 509. You know, the very bottom or last row of opaque pixels. There is a 1px Horizontal Marque tool hidden behind the Rectangular Marque tool and it comes in handy for this. Once it's selected, Free Transform to stretch veritcally to cover the bottom transparent 3px. Basically stretching 509 to cover 510 to 512.
Once you do that all the way around, you will still have to fix the transparency issue. Merging and Flaming Pear's Solidify or whatever you prefer.
If you want, you don't have to use Free Transform. You could very well toss the pixels underneath and use Motion Blur. Then fix the transparency.
Yes? No?
This is a hack to prevent anti-aliasing and wrap-around from causing the fuzzies at the edges. I've used it rather successfully to create some decent sized panos with no signs of seams across multiple prims. I have one that is 40x20 and everyone thinks that it's a megaprim when it's actually 8 10x10 prims. I've tried to do this without the above hack it comes out just pants.
|
Veldin Finesmith
Registered User
Join date: 27 Jun 2008
Posts: 16
|
06-29-2008 17:19
Hmmm odd that that works but cool tip for sure. Thanks for a more indepth explanation 
|
Court Goodman
"Some College"
Join date: 10 May 2006
Posts: 320
|
07-03-2008 14:21
i noticed its a mix of culprits, photoshop included, but probably based on the texhniques i use to create my textures in the first place. For transparent textures your technique of shrinking-then-stretching works great. thanks. For a particularly-stubborn texture ive been dealing with (a subtlely lit wooden floor), Photoshop was creating artifacts causing edges. Running a very narrow healing brush down the seam worked in this situation. I also have a bad habit of not flattening images, and flattening them reduces the border by about 1.5 pixels to almost nothing. As usual, its a warchest of workarounds thanks
|