texture slicing help

Homepage: www.mtm2.com/~traxx/index.shtml
User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

texture slicing help

Post by white2098 »

ok i've read the tutorials on texture slicing and so far all it tells me is that i have to manually add a border to every texture to get rid of seams. so is there a way to do this where it won't take me a frickin year to make textures for one track look perfectly clean? i can't use slice60 because my computer is too new and i don't know of anything else that automatically adds borders.
User avatar
Cale
Member
Posts: 642
Joined: Mon Oct 27, 2003 7:28 pm

Post by Cale »

User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

Post by white2098 »

ok, here's the problem with that. when i take a large picture that's perfectly lined up at 64x64 pixels it will get out of line when i resize it. so right now i have to manually convert each texture and resize it to 60x60 so everything comes out the right size in traxx.

so say i wanted to line up a turn with a set of cars. by the time i've resized the chalk turn and converted it with traxx, the lined no longer line up.
User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

Post by white2098 »

would it work if i did all the track textures in 60x60 pallets and then converted it in traxx? or would that still create the same problem?
User avatar
Cale
Member
Posts: 642
Joined: Mon Oct 27, 2003 7:28 pm

Post by Cale »

What you do is make the image as a grid of 60x60s and then resize it up to add the 4 extra pixels. I used this for F4ur and it worked flawlessly.
User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

Post by white2098 »

that's actually what i've been doing and it's extremely tedious when you're doing hundreds of textures and it leaves little seams when it's all done. it really annoying because it seams like some textures are 60x60 and others are 61x61. i always get seams on at least one or two of the textures.
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Post by Phineus »

Always make your textures 60x60 and do not resize. If you need to add the extra borders, then add the border, but don't resize.

Tip. This is for traxx only. Give the original graphic an extra 60x60 edge all the way around the outside. Use the same base texture. Then add the 2 pixel border around the very outside. It can be anything because you will discard the outer rim of textures. Example.

[pre]
---------------------------------------------------
| | | | | |
| x | x | x | x | x |
| | | | | |
---------------------------------------------------
| | | | | |
| x | 60x60 | 60x60 | 60x60 | x |
| | | | | |
---------------------------------------------------
| | | | | |
| x | 60x60 | 60x60 | 60x60 | x |
| | | | | |
---------------------------------------------------
| | | | | |
| x | 60x60 | 60x60 | 60x60 | x |
| | | | | |
---------------------------------------------------
| | | | | |
| x | x | x | x | x |
| | | | | |
---------------------------------------------------
[/pre]

This may seem wasteful but it's a sure-fire way to get perfect seams.



A new slicer will be made one day. You can count on it.
User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

Post by white2098 »

beautiful, that worked like a charm :) phin, cale... good men
User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

Post by white2098 »

i got a couple more questions if you could answer them.

1. is it possible to view a track at 100% zoom? by that i mean where i can see all of the textures in their actual 64x64 pixel size from an overhead view.

2. if i get close to 500 64x64 ground textures in a small area will the track have lag problems? if so, is there a good base amount of textures like there is for verts on a truck?
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Post by Phineus »

> is it possible to view a track at 100% zoom? by that i mean where i can see all of the textures in their actual 64x64 pixel size from an overhead view.

<a href="http://malibu350.com/files/TrackViewGL.zip">TrackViewGL.zip</a> is about as good as it gets. 99% of trackshots on the download page were made with it. Oliver Pieper spent over a year developing it and it's just about as perfect as you could want. It takes a few minutes to get your bearings moving around with the mouse but once you do there's nothing else like it.



> if i get close to 500 64x64 ground textures in a small area will the track have lag problems?

Yes, it "can" lag. But, you seldom need that many textures in a small area. If your base texture is done right, you can omit all repeated tiles. That said, my early circuit arenas used 18x18 unique textures, plus models, plus the arena, with minimal problems. If you plan to expand on that, then best not to use any 256x256ers on your models. The bottom line is: try it. If there's problems, pull a few models out.
User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

Post by white2098 »

--TrackViewGL.zip is about as good as it gets. 99% of trackshots on the download page were made with it. Oliver Pieper spent over a year developing it and it's just about as perfect as you could want. It takes a few minutes to get your bearings moving around with the mouse but once you do there's nothing else like it.

yeah, i've used trackview for a long time, but there isn't any grid lines so it would make it a little bit trick trying to line up textures.


--Yes, it "can" lag. But, you seldom need that many textures in a small area. If your base texture is done right, you can omit all repeated tiles. That said, my early circuit arenas used 18x18 unique textures, plus models, plus the arena, with minimal problems. If you plan to expand on that, then best not to use any 256x256ers on your models. The bottom line is: try it. If there's problems, pull a few models out.

well i planned on making an arena floor that looked completely unique from one end to the other, but i don't think that's going to happen because i plan on using a lot of high detail models as well.
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Post by Phineus »

white2098 wrote:yeah, i've used trackview for a long time, but there isn't any grid lines so it would make it a little bit trick trying to line up textures.
Can you clarify what you're trying to do? If you mean you want to see the entire arena floor in traxx, then that might be tough. I'd suggest laying out your textures away from the arena. That is, for each batch of textures you create, lay them in per batch. Then copy and paste the "area" to assemble the layout as a whole. Much easier than trying to keep track of 500 textures.

Eg. You create a 10x10 area. Well, lay those 10x10 textures in. You create another 10x10 area. Now lay those in, but not next to the first bunch. And so on for all the textures you create. Now that they are all the way you want, copy and paste each 10x10 batch into the arena area and assemble the whole thing that way, using fewer copy and pastes, rather than assembling 500 textures in one go.

I hope that's clear.
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Post by Phineus »

[ PS ]

Alternatively, create your floor layout and send me the full color graphic and I'll slice it for you. If you do this, do not use traxx dimensions. Use multiples of 60x60, with no extra edge. Just give me the whole thing, and do not reduce colors. Do it in bmp or tga format. I mean, you're doing cartwheels here for something that I can handle easily.
User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

Post by white2098 »

check your private messages [(-:]
User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

Post by white2098 »

man i can't believe i never knew about this before. looking back i don't know how i managed to do all those textures on gladiator coliseum one by one [uhoh]

hey phin, i think i came up with a much simpler way of resizing textures and converting them also. if you want a little picture diagram or something pm me and maybe we can get a new tutorial on track textures. it completely takes all the math out of the equation and still works perfectly.
User avatar
Phineus
Glow Ball
Posts: 24
Joined: Tue Feb 02, 1999 7:00 pm

Post by Phineus »

Glad to hear it's working out. And, sure, anything that helps clarify the concepts or makes the task easier is welcome. So, by all means, let's have a look at what you've got.
User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

Post by white2098 »

well it's all pretty much the same as the other method except instead of mathematically solving the size, i use grids.

here is the image i'll be using. it is just a simple dirt texture with a 64x64 grid. i'm not sure if paintshop pro does grids, but photoshop does and it comes in very handy. this should also work with any pictures you wish to resize.

Image

with photoshop, all you need to do is go the the grid option as shown below.

Image

now set the gird size to 64 as shown in the highlighted number.

Image

now that the texture is ready(as seen in the first image) you can go back to the grid option and set it to 60x60 pixels. i don't have the boarder set up in these pictures, but like before you need a 60x60 surrounding border.

Image

now the the grid is set to a 60x60 grid, you'll see the amount that needs to be resize in the yellow marking.

Image

just resize the image by hand(again i'm not sure if psp does this) and make sure the snap to grid option is set to on(this will bring the image to the exact size of the grid when resizing). and now you should get a perfectly sized picture ready to paste in traxx.

Image

that was just a quick tutorial to give you an idea of what i'm talking about. if you have anymore questions about it just ask.
runt9
Member
Posts: 110
Joined: Wed Apr 17, 2002 2:01 pm

Post by runt9 »

hey white, this could come in really handy for some of the upstart track makers. I may need to try it out myself and update my custom texture tutorial with this... i know how to do grids and manual resizing with PSP so i could make the tutorial pretty easily. Thanks again
User avatar
white2098
Member
Posts: 496
Joined: Sun Nov 03, 2002 2:01 pm
Location: carmel, california, usa

Post by white2098 »

yeah no problem, it actually works very well. it makes texturing a breeze.
runt9
Member
Posts: 110
Joined: Wed Apr 17, 2002 2:01 pm

Post by runt9 »

I tried it with a simple J-hook layout, and it cut the textures perfectly. The only problem i noticed is that if your top-left texture when you're slicing it in traxx ISN'T just plain dirt, then you have to delete everything except that texture or you'll get a repetition of a chalk-lined texture throughout the whole track.

It would be nice, though, if traxx would lay the textures for you after you slice them instead of having to do it manually. It still worked, however.
Post Reply