Displacements - please, please help....

Nosher

L4: Comfortable Member
Feb 3, 2008
184
20
Done some displacements whilst trying to make a underground room look like it was hewn roughly from the rock....

Ran the compile.....

got this message:-

**** leaked ****
Entity light (-1124.75 -480.00 -240.00) leaked!


However, there is no leak.

The pointfile red line goes str8 thru solid rock where it ends in space......

If I run the compile again after changing the cavern into simple flat brushes and removing the displacements, the leak goes away!!

I also get this message a few times.....

FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (1024.0 3120.0 -584.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:

This is very frustrating as I have made sure I followed the tutorial and also overlapped the walls and floor so any displacements I make do NOT create a leak...

Can anyone help?

Many thanks in advance
Nosh
 

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
displacements need a solid behind them So if you make a rock displacement you need to have no_draw behind your displacement

youme said:
A few last tweaks before sealing the areawith nodraw brushes behind the displacements and skybox brushes elsewhere. You might want to note that displacements don't block vvis so that means you will have to put nodraw brushes behind it to prevent leaks.
http://img151.imageshack.us/my.php?image=016li8.jpg
 

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
ya, just when your done, your displacement needs a "back" to it to seal it in.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,158
6,079
before...after...inbetween... It doesn't matter, as long as there are brushes (preferrably nodraw) sealing the area of displacement then it won't leak. You just need to make the cavern/cliff/ground/whaterver you are displaceing twice, once with displacements and once with normal nodraw brushes.
 

Nosher

L4: Comfortable Member
Feb 3, 2008
184
20
like this??? - this is the underside of the cavern.....

nowall.jpg
 

Nosher

L4: Comfortable Member
Feb 3, 2008
184
20
Youme - I have read your gr8 tutorial - very lately the bit you mention above again and again - maybe it is me being a little thick <g> .....

....so, what you are saying is I copy the displacement brush (the rocky floor in the pic) and then change the texture to NO DRAW.....and just drag it a bit lower that the displacement brush?

Sorry if my question seems stupid, but I cannot get my head around it!!

Thanks again for your help and patience!!!

Nosh.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,158
6,079
No. you need to make normal brushes, no displacements on them, just bog standard cubiod brushes.
Displacements don't block Vis. which means things can leak though them as though they weren't there.
To the right hand side of the screen you should see a box called 'visgroups' in that, under auto, you should see a check box for "displacements" if you uncheck that you should be able to see part of the void, but a wall behind the displacement.(don't forget to check it again otherwise your displacements won't compile)
Imagine a displacement is like a curtain. it needs a wall behind it so that you cant walk through it to the outside world. So once you make your displacement out of the brushes (walls) you have laid down they cease to be walls, but become curtains. you now need to replace the walls with new brushes.
 

Nosher

L4: Comfortable Member
Feb 3, 2008
184
20
Youme

Your patience staggers me!!

Thanks!!

So - with your advice ringing, I have just created a floor in the cavern - ran the compile and no leaks - applied the NO DRAW to all faces of the brush of the floor - clicked on the face edit icon - selected the top surface only (which is currently NO DRAW (like the other sides)) and selected my rock texture...applied that to the floor face only (the other sides of the brush that DID say NO DRAW have now just vanished (is that normal??) - created a one click displacement downwards - compiled the map and have the leak again......

I just don't know understand what part of the process I am doing wrong......

I do not want to sacrifice this element for a basic square room and so desperately want to get it right.........

Nosh.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,158
6,079
maybe this will help : http://tf2maps.net/downloads.php?do=file&id=134
Uploaded it just for you. Its the .vmf file and .bsp for my displacement tutorial.

from what you just said, you are not making new brushes after you make the displacements.
I guess I have to spell this out very simply, there are two steps:
-MAKE DISPLACEMENT (method above)
-MAKE NEW BRUSH (where the original brush that you turned into a displacement was)
 

Nosher

L4: Comfortable Member
Feb 3, 2008
184
20
Seeing your .vmf file explains EVERYTHING!

A picture speaks etc etc...

I shall be buying you a drink should we ever meet....

Many thanks
Nosher.