Planetside Software Forums

General => File Sharing => Archive (Broken Links) => Topic started by: Harvey Birdman on October 23, 2007, 02:32:22 PM

Title: Flatten a bit of Terrain
Post by: Harvey Birdman on October 23, 2007, 02:32:22 PM
-
Title: Re: Flatten a bit of Terrain
Post by: dhavalmistry on October 23, 2007, 02:35:36 PM
thanx again Harvey :)
Title: Re: Flatten a bit of Terrain
Post by: Harvey Birdman on October 23, 2007, 02:37:59 PM
No prob.

Actually, this is bad. Very bad. I'm supposed to be working on a proposal at the moment. If I don't finish it on time the culprit will CLEARLY be my TG2 addiction.

:-\   :)
Title: Re: Flatten a bit of Terrain
Post by: dhavalmistry on October 23, 2007, 02:41:01 PM
how about adding multiple flat spots??....what do I do for that??...
Title: Re: Flatten a bit of Terrain
Post by: Harvey Birdman on October 23, 2007, 02:47:04 PM
Geez, some people are never satisfied...

;D

I don't know; try experimenting with it. You'll have to create a second set of image masks set to the desired location/size of the second spot, and then a second merge shader and displacement shader to control the height of the second flat spot and merge it into the terrain. You'll have to experiment to find the easiest way to actually carve the second chunk from the ter before mergng the flat spot(s).
Title: Re: Flatten a bit of Terrain
Post by: dhavalmistry on October 23, 2007, 03:22:04 PM
well...u know what they say...

NO PAIN NO GAIN!!!

:D:D
Title: Re: Flatten a bit of Terrain
Post by: bigben on October 23, 2007, 07:30:06 PM
Quote from: dhavalmistry on October 23, 2007, 02:41:01 PM
how about adding multiple flat spots??....what do I do for that??...

Passing by quickly... haven't looked at the file but I'm assuming this should work....

* Generate the nodes for all of you spots.
* Add all of the terrain spots together using add scalar nodes and feed into the blending shader of the terrain.
* Copy the merge terrain nodes for each displacement required
* Connect all the gaussian spots to the merge nodes... if two spots use the same displacement, add them using an add scalar node
Title: Re: Flatten a bit of Terrain
Post by: rcallicotte on October 24, 2007, 09:54:09 AM
Thanks Harvey.
Title: Re: Flatten a bit of Terrain
Post by: I3D on August 04, 2008, 12:46:17 PM
Hi Guys

any way i can have the file for this? Thanks in advance

Regards