Compile error and other questions
Quote from FelixGriffin on July 17, 2012, 7:03 pmNo no no do NOT put a nodraw box around your map.
Extend your walls downwards a bit, then add a new floor under the displacement floor, and nodraw it.
What Skotty means is that you should put it on stuff the player can never see. If you have a low wall in front of an (inaccessible) plant-filled area, ? la Sendificate, you could make the back of that brush nodraw, since the player can't see it.
No no no do NOT put a nodraw box around your map.
Extend your walls downwards a bit, then add a new floor under the displacement floor, and nodraw it.
What Skotty means is that you should put it on stuff the player can never see. If you have a low wall in front of an (inaccessible) plant-filled area, ? la Sendificate, you could make the back of that brush nodraw, since the player can't see it.
Quote from FelixGriffin on July 17, 2012, 11:02 pmI don't know of a guide for this, but I'll take some screenshots and try to write it up better tomorrow.
I don't know of a guide for this, but I'll take some screenshots and try to write it up better tomorrow.
Quote from Robdon on July 18, 2012, 4:07 amHi,
Attached is a simple example map of where to put nodraw textures.
Basically as others have said, put it on faces that the player will never see, like the top face of the platform up the wall, and the other side of the partition in the middle.
The player will never be able to view these faces, but if you dont use nodraw textures, then the actual engine will still need to render/draw these faces and that can decrease performance.
There is also a nodraw 'block' below the displacement in the middle of the room. This is there to 'seal' the map as displacements wont seal maps.
The platform and the partition walls are also changed to 'func_detail' brushes, to further help performance.
You can see more about optimization and nodraw over here:
http://rvanhoorn.ruhosting.nl/optimization.php?chapter=nodraw
HTHs,
Rob.
Hi,
Attached is a simple example map of where to put nodraw textures.
Basically as others have said, put it on faces that the player will never see, like the top face of the platform up the wall, and the other side of the partition in the middle.
The player will never be able to view these faces, but if you dont use nodraw textures, then the actual engine will still need to render/draw these faces and that can decrease performance.
There is also a nodraw 'block' below the displacement in the middle of the room. This is there to 'seal' the map as displacements wont seal maps.
The platform and the partition walls are also changed to 'func_detail' brushes, to further help performance.
You can see more about optimization and nodraw over here:
http://rvanhoorn.ruhosting.nl/optimization.php?chapter=nodraw
HTHs,
Rob.
Quote from Eternalz on July 18, 2012, 1:51 pmThanks a lot guys. I pretty much know what it does and how it works now. So should I use nodraw on all outside walls (roofs, floors) in my map?
Thanks a lot guys. I pretty much know what it does and how it works now. So should I use nodraw on all outside walls (roofs, floors) in my map?
Quote from FelixGriffin on July 18, 2012, 2:54 pmNo, Hammer does that for you.
No, Hammer does that for you.

Quote from ChickenMobile on July 18, 2012, 4:40 pmEternalz wrote:I mean should I use nodraw on all the walls, roof and floors?What is it about on every surface you can't see not make sense to you?
What is it about on every surface you can't see not make sense to you?
Quote from Eternalz on July 18, 2012, 5:09 pmChickenMobile wrote:Eternalz wrote:I mean should I use nodraw on all the walls, roof and floors?What is it about on every surface you can't see not make sense to you?
Thats what i meant earlier when saying like should i put nodraw around my whole map.I understand that i shouldent just box in my whole map.
What is it about on every surface you can't see not make sense to you?
Thats what i meant earlier when saying like should i put nodraw around my whole map.I understand that i shouldent just box in my whole map.
Quote from FelixGriffin on July 18, 2012, 5:13 pmThe outer surfaces of the map get nodrawed automatically when you compile. Don't worry about them.
The outer surfaces of the map get nodrawed automatically when you compile. Don't worry about them.