Digital Paint Discussion Board

Development => Mapping => Topic started by: Byz on April 08, 2007, 04:46:38 PM

Title: texture helping
Post by: Byz on April 08, 2007, 04:46:38 PM
hi how i get the walls like in blitz? u know theres a little hole in the middle of the wall and you can see trough ?
Title: Re: texture helping
Post by: Nitroboy on April 08, 2007, 08:03:59 PM
build blocks like this:
___________________
I       I_______I           I
I       I            I           I
I       I_______I           I
I____I_______I______I

I dont know if you could understand what I said, but if you dont I will get you a more detailed picture. Also idk if im doing this right, but this is what I do.
Title: Re: texture helping
Post by: Zorchenhimer on April 08, 2007, 08:05:41 PM
Yea, thats right. Just pretend you're using legos. :D
Title: Re: texture helping
Post by: Eiii on April 08, 2007, 08:14:56 PM
The walls aren't one brush, they're actually four brushes put together so that there's a hole in the middle.
Title: Re: texture helping
Post by: Garrett on April 08, 2007, 09:15:57 PM
Is there anyway that you can combine the 4 brushes into one.  Another example would be after your done substracting and you are left with 4 brushes.  Are you able to combine them into 1?
Title: Re: texture helping
Post by: Spook on April 08, 2007, 09:20:21 PM
no, just click each brush seperately and move them as one
Title: Re: texture helping
Post by: Garrett on April 08, 2007, 09:26:49 PM
Thanks for the help.
Title: Re: texture helping
Post by: Spook on April 08, 2007, 09:29:56 PM
i do what i can, when i can, which isn't very often
Title: Re: texture helping
Post by: basilo on April 09, 2007, 12:24:00 AM
Generally anything that isn't convex must be done with several brushes. I.e. if you can take two points in your object, draw a line between them and the line is partly outside of your object, you need more than one brush.

In this example, you take the diagonal and it would cross the hole.
Title: Re: texture helping
Post by: Nitroboy on April 09, 2007, 01:40:18 AM
I dont think I understood what you said??? If you made a diagram, maybe it would be easier to understand?
Title: Re: texture helping
Post by: basilo on April 09, 2007, 02:02:23 AM
I was just explaining how you can see that there have to be four brushes:

+---------------------------+
|                            |
|     +--------------+     |
|     |               |     |
|     +--------------+     |
|                            |
+---------------------------+

This is your wall. Try to find two points in there so that the line between them cuts the hole. Thankfully it isn't too hard:

1st point
+---------------------------+
|`-..                       |
|     \--------------+     |
|     |`----------...|     |
|     +--------------\     |
|                       `-..|
+--------------------------+
                  2nd point

(Let's pretend this is a straight line  :P). When you can find such points, you need multiple brushes because the wall is not convex. This method works with any structure.

EDIT: these ascii diagrams are kinda hard to make ::)
Title: Re: texture helping
Post by: nightryder on April 09, 2007, 02:07:36 AM
you are very commited to take your time to make diagrams like that...maybe just make a picture on paint...might be easier

what if the shape of the brush was in an arrow shape(second pic)

edit: i tryed it on bsp and it wouldnt let me make that shape with just one brush.
Title: Re: texture helping
Post by: Spook on April 09, 2007, 02:46:44 AM
night, why does pacman look funny, is he sick? lol but yeah that would need to be 2 brushes, and walls with a hole need to be 4. just drop the subject since it's over and done with
Title: Re: texture helping
Post by: y00tz on April 09, 2007, 08:00:52 AM
Pacman? It's clearly the spaceship from Asteroids...
Title: Re: texture helping
Post by: Nitroboy on April 09, 2007, 11:21:13 AM
Pacman? It's clearly the spaceship from Asteroids...

lol, that brings back memoreis from when I was really little. Thanks for the explination with the diagrams.
Title: Re: texture helping
Post by: Garrett on April 09, 2007, 11:36:04 AM
Cleared it up for me, thanks.  By the way, what does the merge brush button do?  Odviously merges brushes but under what circumstances?
Title: Re: texture helping
Post by: jitspoe on April 10, 2007, 03:05:12 PM
If two brushes are next to each other and combined can create another brush (another convex object with the same textures), then it might merge them.

Example of brushes that could be merged (black) and can't (red):
Title: Re: texture helping
Post by: Garrett on April 10, 2007, 03:24:06 PM
Makes total sence.  Thanks jitspoe