Cutting


(Victorianetza) #1

IS it possible to cut a part which is inside in a quadrilateral?

the picture is not very clear, but is it possible cut the middle of a square?

 --------------                         
 |               |                           
 |               |                           
 |               |                   =>     
 |               |                          
 |               |                           
 --------------                          

-----------------
|   ------       |
|  |       |     | 
|  |       |     |
|  |       |     |
|  -------       |
|-----------------|

(MuffinMan) #2

not exactly like that, if I understand you right you want to cut out some window or something slimilar. to do that cut your brush in at least 4 pieces, like:


_______________________
|                                            |
|______________________|
|            |               |              |
|            |               |              |
|______|_______ |_______|
|                                            |
|______________________|


this would be a possibility although no good one as it produces t-junctions (->sparklies) to prevent that I’d suggest you have a look at the brushwork in goldrush


(MuffinMan) #3

hmm don’t know how to align that stuff correctly in here, I hope you get the idea


(Victorianetza) #4

ok; see here: i drew the situation:

http://fakir22.freewebspace.com/water-dry.JPG


(Victorianetza) #5

if i make it with many brushes, there would be like “walls” in the water showing where the one brush ends and where the other starts. If i make the water hollow i am not sure, but when you jump in it, its like you are walking on the ground…?>>?


(MadJack) #6

First, you can’t cut the middle of something without ending with less than 4 brushes.

Second, if you want to make an island, just make the brush go over the water. Leave the water a whole square without cutting anything. Cutting a water brush can and most likely will lead to problems where the water won’t show properly.

Third, if you want to make a “tunnel” that goes through water, you should make a square, cut it so there 's a hole in the middle. Once that’s done, you will have to put nodraw on the sides of the brushes where other water brushes touch each others. As #1, if you don’t do that, it will probably give you lots of problems.

HTH


(Shallow) #7

Use several brushes as MuffinMan suggests, with a non-drawing water shader for all the brush faces except the top one, e.g. liquids_sd/siwa_waternodraw. Don’t worry about the ‘image missing’ thing, that shader does work fine! Don’t use regular nodraw because you’ll be creating brushes with mixed face contents and this could cause you trouble later.


(MadJack) #8

I’ve always used that and no problems but hey… :slight_smile:


(Victorianetza) #9

tnx for the advices :smiley:

so i dont make the water howoll, only in the end of the brush place waternodraw ?


(MuffinMan) #10

just make a big brush, texture it with water nowdraw, then cut out the middle like suggested above and then texture the upper faces with water


(chavo_one) #11

If you are simply making an island, the land should be higher than the water level. In that case, just make one large water brush that completely encompasses the area.

You only need to cut up water brushes when you need a dry tunnel through the water, or there are dry areas that are lower than the water level. In those cases texture the touching brush faces with a waternodraw texture. If you use plain old nodraw, then the water may lose its water properties. It’s a gamble since radiant doesn’t preserve brush order in the .map file.

I know I am repeating information already provided, but the answer was starting to get convoluted.