Notices

AreaPortals  Thread Tools Reply
Old 09-15-2008, 04:28 PM   #1
[FT] Andy
L1: Registered
 
[FT] Andy is offline
Posts: 38
Thanks: 5
Thanked: 0

Default AreaPortals


I've stared work on my first map and i'm currently working on optimization after reading many guides. 2 areas of the map are seperated by a wide doorway and so i have placed an area portal there. However, the other side of the doorway still renders when standing in certain positions:
working:

not working after taking a few steps back:

 
Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 09-15-2008, 08:35 PM   #2
Zephyr
L1: Registered
 
Zephyr is offline
Posts: 27
Thanks: 0
Thanked: 2

Default AreaPortals


Looks perfectly normal to me, it renders the full object if you can see any part of it, don't worry about it, it's working properly and will help it run smoothly even if you don't notice it.
 
Reply With Quote
Old 09-15-2008, 08:58 PM   #3
grazr
Mmm, hhhyes. indubitably.
 
grazr's Avatar
 
grazr is offline
Posts: 5,356
Thanks: 1,161
Thanked: 3,342

Default AreaPortals


Possibly, you are rendering the other side from above (through the skybox), a bug in your visleaf set up.

You also have a very perculiar triangle placement on your textures. It doesn't look like you're using any hint brushes; are you?
 
Reply With Quote
Old 09-16-2008, 06:54 AM   #4
[FT] Andy
L1: Registered
 
[FT] Andy is offline
Posts: 38
Thanks: 5
Thanked: 0

Default AreaPortals


i havent placed any hint brushes as of yet. What should the wireframe look like on the textures?
 
Reply With Quote
Old 09-16-2008, 07:50 AM   #5
grazr
Mmm, hhhyes. indubitably.
 
grazr's Avatar
 
grazr is offline
Posts: 5,356
Thanks: 1,161
Thanked: 3,342

Default AreaPortals


Well it's pretty hard to see how you've actually constructed your geometry but it's very messy. Plus a lot of your textures are misalligned.

Is your skybox just a flat brush over the top of your map or is it like a square bubble?
 
Reply With Quote
Old 09-16-2008, 10:03 AM   #6
[FT] Andy
L1: Registered
 
[FT] Andy is offline
Posts: 38
Thanks: 5
Thanked: 0

Default AreaPortals


here is how i've contrusted the walls

and the skybox
 
Reply With Quote
Old 09-16-2008, 10:26 AM   #7
grazr
Mmm, hhhyes. indubitably.
 
grazr's Avatar
 
grazr is offline
Posts: 5,356
Thanks: 1,161
Thanked: 3,342

Default AreaPortals


Ah, i see now. here, this is why your areaportal doesn't "seem" to work.



I suggest adding a hint brush across the plane i illustrated in green. It is a good idea to have several at different heights due to people being thrown in the air by explosions etc.

edit: I updated the image (with better wording). You might want to refresh the page.
 
Last edited by grazr; 09-16-2008 at 10:31 AM.
Reply With Quote
The Following 2 Users Say Thank You to grazr For This Useful Post:
Old 09-16-2008, 10:31 AM   #8
[FT] Andy
L1: Registered
 
[FT] Andy is offline
Posts: 38
Thanks: 5
Thanked: 0

Default AreaPortals


i see, thanks for the help
 
Reply With Quote
Old 09-16-2008, 11:20 AM   #9
[FT] Andy
L1: Registered
 
[FT] Andy is offline
Posts: 38
Thanks: 5
Thanked: 0

Default AreaPortals


damn, it hasn't worked, would the ramp cause any problems with the visleafs ?
 
Reply With Quote
Old 09-16-2008, 11:34 AM   #10
grazr
Mmm, hhhyes. indubitably.
 
grazr's Avatar
 
grazr is offline
Posts: 5,356
Thanks: 1,161
Thanked: 3,342

Default AreaPortals


it would cut up your leaf nodes more if it was standard brush work. You could tie it to func_detail but for the most part it would only reduce compile time, i believe; and not even by that much.

Check out the command mat_leafvis 1 and mat_leafvis 3 to view your leafnodes.

I'm not sure what else to add i'm afraid, other than maybe the area is being rendered through those side corridors, from your main area.

edit: could you upload the vmf? That way i could take a look for myself at what's happening.

edit2: Are those areaportal windows in those corridor exits/entrances? if they are, when you walk out into the main area, you will be opening those areaportals (if you are within the fade distance required to deactivate their effects). Effectively opening the other area up despite the closed door.
 
Last edited by grazr; 09-16-2008 at 11:44 AM.
Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply  

Previous Thread Next Thread
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 02:24 AM.