Planetside Software Forums

General => Image Sharing => Topic started by: aemkey on August 17, 2007, 06:26:03 PM

Title: problem collision clouds-terrain
Post by: aemkey on August 17, 2007, 06:26:03 PM
i've got a problem. i wanted to do a cloud layer like fog under the top of mountains, so you can just see the tops. but after rendering i've seen that the clouds are going inside the terrain (see also picture).

Has anyone a solution how can I avoid that?
Thx for help.
Title: Re: problem collision clouds-terrain
Post by: old_blaggard on August 17, 2007, 11:03:06 PM
It looks like you're using a two dimensional cloud layer here.  Try setting it to 3D and see if that helps.
Title: Re: problem collision clouds-terrain
Post by: Tangled-Universe on August 18, 2007, 05:05:34 AM
Maybe lowering density and increasing depth will help too.

Regards,
Martin
Title: Re: problem collision clouds-terrain
Post by: bigben on August 19, 2007, 11:32:30 PM
Unless you set up a specific mask, clouds will intersect with terrain. With steep slopes and dense clouds this might look odd. Increase the thickness of your cloud and reduce the density and or try and create a mask using an image of your terrain. I used this to control theod to control the outer edge of the clouds in this animation http://forums.planetside.co.uk/index.php?topic=1308.msg13176#msg13176 (http://forums.planetside.co.uk/index.php?topic=1308.msg13176#msg13176) but it could also be used to horizontal gap between the clouds and terrain where the terrain passes through the cloud.
Title: Re: problem collision clouds-terrain
Post by: aemkey on August 20, 2007, 04:24:35 AM
thx for help. i will try as soon as i find time.
@old_blaggard: the clouds are already 3d, but with very low depth.
Title: Re: problem collision clouds-terrain
Post by: efflux on August 21, 2007, 05:14:29 AM
Thin or completely 2D clouds are the problem because they have to be denser and then you end up with that intersecting line. If you really want the clouds to be very flat then using the terrain as a mask is the only way but that will probably be quite difficult to set up. I've done it before in another app.