
[?] Occlusion mesh
-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
Re: [?] Occlusion mesh
Ye sounds good although I may be inclined to include the roof on the right side too.
-
Gracler
- Posts: 947
- Joined: 2009-03-22 05:16
Re: [?] Occlusion mesh
Does it have to be quads or can it have more than 4 edges you think?
-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
-
Psyrus
- Retired PR Developer
- Posts: 3841
- Joined: 2006-06-19 17:10
-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
Re: [?] Occlusion mesh
I wouldn't do overlapping ones myself, will most likley make it much harder to render. In that one you posted Psyrus I would have just had the big plane and not bothered with the small one.
-
Gracler
- Posts: 947
- Joined: 2009-03-22 05:16
Re: [?] Occlusion mesh
What do you think about this?

It consists of 8 planes. I can't decide if I should remove the 2 roof gables or not.
Edit: I'm going to remove them they don't add much anyway.

It consists of 8 planes. I can't decide if I should remove the 2 roof gables or not.
Edit: I'm going to remove them they don't add much anyway.
Last edited by Gracler on 2014-03-14 13:01, edited 2 times in total.
-
Psyrus
- Retired PR Developer
- Posts: 3841
- Joined: 2006-06-19 17:10
Re: [?] Occlusion mesh
8 planes is quite a lot, especially for a static that isn't too complex. The smaller the object, the less it will block, so I would probably just have maybe the big /\ section and maaaaybe that box on the right, but it probably wouldn't be worth the overhead, considering not much will be occluded by something that's relatively computationally expensive. Try to aim for under 6 planes 
-
Gracler
- Posts: 947
- Joined: 2009-03-22 05:16
Re: [?] Occlusion mesh
I think the chances are that the box shape will block just as much as the roof triangle since players walking on the ground will not benefit from the roof triangle. It is going to be 6 planes then 
-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
Re: [?] Occlusion mesh
Ye that overlapping isn't good news. Would just go back to the 5 planes (doesn't need a bottom one unless there is a chance that the object will be on its side or upside down which this wont).
Although what you can do for the same amount of planes is this:

Although what you can do for the same amount of planes is this:

-
Gracler
- Posts: 947
- Joined: 2009-03-22 05:16
Re: [?] Occlusion mesh
hmm okay. I'm getting good results in-game though. I get 10-20 more fps when my buildings starts occluding that nasty overgrowth
. Goes from 60-80 fps.
I could still adjust the box so it isn't overlapping the roof though, but yes it seems best to go with the 5 sided box shape with an extended roof plane.
Edit: Wow inside the building I get 100 fps and outside 40-60. I never paid close attention to my fps but in these ww2 maps with so much green stuff it seems like it makes a significant difference.
I could still adjust the box so it isn't overlapping the roof though, but yes it seems best to go with the 5 sided box shape with an extended roof plane.
Edit: Wow inside the building I get 100 fps and outside 40-60. I never paid close attention to my fps but in these ww2 maps with so much green stuff it seems like it makes a significant difference.
Last edited by Gracler on 2014-03-14 14:47, edited 3 times in total.
-
Outlawz7
- Retired PR Developer
- Posts: 17261
- Joined: 2007-02-17 14:59



