Terrain and Roads-Texture Clipping Part 3

Hello there terrain builders of ROBLOX, WoodReviewer here, today I am going to be going over several ways to get rid of texture clipping when building terrain and roads, mainly with regards to C-Framed, non-brick terrain. So basically where the terrain is made of rotated bricks. So this is hard to explain, so here is a pond that I am using to demonstrate different techniques on.

Lake Bricks.png

As you can see, there is a bunch of texture clipping around the pond. Many people have this issue with building, although the use of wedge terrain and improvements to smooth terrain have made it less frequent, but still fairly common. How do you fix it? Well, let’s start out by offsetting the bricks by .01 studs.

Lake Offset distance.png

Well, it fixes up the terrain up close.

Lake Offset.png

PROS:

Same brick count

Gets rid of texture clipping up close

CONS:

Creates a ledge where one brick ends

Clipping still visible from a distance

If 3 or more bricks intersect at one spot you need to increase the high difference even more

Lake One union.png

“Why not just union it”

True. You can just union it, but realistically the terrain in most places is too large for a single union. And if you split it up into two unions, it can still have problems where the two unions intersect.

Lake 2 unions.png

A simple way to fix it is to do something like this, where one union has the white bricks, the other red, to help negate the clipping where the unions meet.

Lake 2 unions proper.png

PROS:

No ledges

No texture clipping

CONS:

Need to adjust where two or three unions meet

Unions can has collision issues, place size issues

Does not work with parts of different materials.

Lake wedge outline.png

One other possible option is to make the terrain with wedges and fill it up with bricks. For example, I recreated the outline of the lake with wedges here. After you get the general shape together, you simple fill in the gaps with bricks.

Lake Wedge 29 bricks.png

PROS:

No texture clipping

No ledges

Can adjust color/textures

CONS:

Increases brick count by roughly double

Can see where bricks meet with outlines enabled

More time consuming, and is very manual to convert from already made terrain

Those are some of the ways to prevent texture clipping in terrain. Of course, if you use smooth terrain, triangle terrain, or just have flat maps this shouldn’t be much of a problem. Next up is some more meaty advice with regards to building roads, paths, or sidewalks. Here is a basic 90 degree turn made of 7 bricks, each rotated at 15 degrees. As you can see, it has texture clipping.

Track bad.png

Starting with the basic offset trick, lets see the pros and cons of it.

.01 offset.png

PROS:

No texture clipping up close

Same brick count

CONS:

Texture clipping from the distance

Has a ledge

Has a ledge

Has a ledge.

Now, I put “Has a ledge” 3 times. Why? Because for cars and other vehicles they can be upset by the ledges. For example, if the body is too close to the ground and they hit even a .01 stud ledge, they can stop since they, well, hit a ledge.

The next technique, like the offset, is the same as before: unioning the track. Not much to say.

Track 1 union.png

PROS:

No texture clipping

CONS:

Unions may take longer to load

Physics geometry may be different.

Now, those are the regular techniques to fight texture clipping. Up next are two techniques that some people know, but most people ignore. The first one is basic: Rotate the road segments. What do I mean? Say this is a single track piece.

Track rotate.png

Rotate it so the inside of the curve dips down. In this example, I rotated it by .5 degrees. Also, please not if you use CmdUtl or one of its derivatives, you can select a bunch of the bricks at once and they should all rotate the same direction.

track rotate .5.png

Then try to get it so the end of the track that was lifted up is now at ground level. I was using 20 stud squares, and it just worked out that if I lowed the brick by .1 studs the outer edge touched the flat ground.

Track rotate .5 end.png

This is what the .5 rotation looks like: it got rid of most of the texture clipping.

track .5.png

But lets say we bank the road 2 degrees rather than .5. Again, more of the clipping is gone.

track 2.png

The only proglem is that on the side of the track that was lifted into the air there is now a .5 stud gap you need to fill in somehow, either with a wall or terrain.

track 2 rotate.png

PROS:

Gets rid of a vast majority of the texture clipping

Doesn’t increase brick count

More realistic since most actual roads are banked slightly for drainage.

CONS:

Does not get rid of all texture clipping

Leaves a gap under the road that needs to be filled in.

Adding banking to the road is a fairly old technique, dating back to 2009, and still works in some scenarios. However I have a better technique that can be used, and while is harder to learn can give you perfect roads without any texture clipping without using unions. How? First you need a brick surrounded on both sides, with the flat part of the wedge facing the middle bricks.

Track wedges part.png

Step 2 is to duplicate the selection and move it relative to the object the length of the center brick. So if the white brick is 14 studs, move the new model over by 14 studs. Once you have the new model moved, using CmdUtl or another building tool select the “Select Edge” option. This lets you select a specific edge. Select the edge where the green and red wedge meet in this picture and rotate the new model. This should mean the two models touch only at a very small point.

Track wedges rotate.png

Next you want to select both bricks and resize them. Again, this is best done with CmdUtl where you can select both bricks at once and resize them both at once. This is important because when you resize one wedge the other one should resize the same amount. Resize the bricks until they meet.

Treack wedges resize.png

…And you’re done. One note is that you may need to resize it by a custom amount, such as .01 or .001 studs, to get the wedges at close to each other as possible.

Track resize complete.png

As you can see, if done correctly there should be no gap between the wedges and if there is any texture clipping, only a very, very small amount of it.

Track wedges clipping.png

Then you repeat this a few times and it is done. Well, sort of repeat it. You see, if you are having are the segments rotated by the same time, you can do all the rotating steps first and you will end up with something like this.

Wedges rotated.png

Because all the segments are rotated the same amount, all the wedges should need to be resized the same amount so with CmdUtl you can select them all at once and resize them all at once, to save time. And here is the finished road segment.

Track Wedges Finish.png

PROS:

No texture clipping

No ledges

CONS:

Increases part count by 3

Can be challenging if you are doing it for the first time

Need to remake part segments for different turns. Not hard, but can be challenging if you are new.

Those are several ways you can get rid of texture clipping when working with terrain or when working with roads. There is no excuse to get rid have texture clipping in terrain or on roads. I know from experience many places have texture clipping with both items, and hopefully whey will get rid of them soon.

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s