Page 1 of 1

Treelines

Posted: Mon Jul 07, 2003 2:02 pm
by Ramah Palmer
Hi. I'm having a bit of trouble with treelines around certain edges of my map and I wonder if anyone can help.
I'm making a series of treelines getting bigger as they go back using brushes made up entirely of nodraw except for the front face which has the treeline texture on it. I also have a hedgerow made up of a patch mesh with the hedgerow texture on it at the front.
My problem is this: depending how elevated I am in the level, certain parts of my treeline disappear. At the start I can look up from ground level and the tops of my trees have disappeared. If I climb up onto a cliff I have running along the side of the level then my trees have reappeared but my patch mesh hedge disappears below me (I curved the top of the mesh over to try and stop this from happening).
Anyone know how to solve this?
Also, can anyone tell me what the difference is when a texture has a version that says CULLED on it?
Thanks in advance.

Posted: Mon Jul 07, 2003 2:04 pm
by Ramah Palmer
Damn, I forgot I had another question. :?
One last thing - does anyone know the name of the texture or where it is located of the branches that stick out of the hedgerow at the start of The Hunt? I can only find one branch texture in FOLIAGE set of textures and that isn't the one.

Posted: Mon Jul 07, 2003 3:06 pm
by matt_moh
Well, I can answer your seccond question. The branches that stick out of the hedgerow aren't textures, they are a model. They are regularbushes located in static->natural->bush at first, they seem pretty small but that can be fixed by increasing thier scale. I don't know why the tops of the the treeline are dissapearing. Maybe you should post a screenshot or something to show us what you are talking about. If your are looking strait down on a patch mesh such as your hedgerow, it won't be visibe because patch meshes don't have a face on top. If your cliff is on top of or is very close to the hedgerow than you could get this effect. Try moving the hedgerow back away from the cliff or make the cliff not as high.

Posted: Mon Jul 07, 2003 4:04 pm
by Ramah Palmer
Ok, thanks for the info on the model m8.
As regards the mesh - I've wrapped the top of it over so it SHOULD be visible from above I would have thought. Like this...

__
| \
|

That is what it looks like viewed end on. Dammit! Sorry, can't seem to get me little pic to line up!

Posted: Mon Jul 07, 2003 6:02 pm
by Bilko
I'm not sure about your mesh but I can't help think that if a texture had CULLED all over it is faulty in some way, try using a similar texture without anything on it.
Hope it helps.

Bilko.

Posted: Sat Jul 12, 2003 11:00 am
by Ramah Palmer
Ok, I'm back to this again.
I sorted out my hedgerow problem by doing it a different way but I'm still getting grief from treelines.
Maybe my problem is that my map is too high what with the size of the cliff and the bunker?! Anyway...
Is there a maximum height for fence type textures possibly? My brush is 1409 wu's high and my treeline texture is at 3x (I think). From the ground looking up the top of the trees disappear but if I jump whilst looking at them it's like someone slides a cover off the top and then back down again.
If I'm slightly elevated or even right at the top height of my map the trees look fine.
I'm sorry but don't know how to take a screenie in-game and I haven't got any means of posting it to the net anyhow.

Posted: Sun Jul 13, 2003 12:09 am
by crunch
Without actually seeing the problem, I can only offer suggestions that may or may not work for your situation.

Based on what you have said, there is quite an elevatioon change in your map. What strikes me as strange is that you can jump and see a texture completely that is not rendered completely while you are simply standing in a spot.

My suggestion is this: instead of one brush with the texture sized to 3x normal, make 3 staggered brushes with the texture only slightly adjusted to align to the brush. Make it out of several brushes only a few hundred units in length each. I think what may be happening is that the culling is affecting your view. Since the treeline texture is partially transparent, the farther you get from it, the less of the actual texture you will see, and more of the invisible portion is drawn. This is one of the effects of culling. Since it is one long brush, the farther culled elements are working their way into the closer portions. (I don't know another way to describe the effect.)

I don't know what the default farplane is, but your farplane value could also have a hand in this.

Other than that, without actually seeing your map, I can't help anymore.

Kill ya Later!