Planetside Software Forums

General => Terragen Discussion => Topic started by: zionner on June 03, 2007, 04:01:27 PM

Title: Idea Everyone Here could do
Post by: zionner on June 03, 2007, 04:01:27 PM
Hey all

Sorry, i wasnt sure where to put this.

Ok, anyone who has done any planetary Pictures will know that Planet Shader is great to get Land, Mountians and Oceans. But this is quickly done and has all been generated randomly, Which is All fine and good. But what i was wondering, is if anyone here is willing to get together to try and hand make a full planet (Yes i know Power Fractical Generates Terrain For the whole planet) but i think it would be quite interesting to see what we can come up with, by hand making the whole planet ourselfs.

What do you guys think?
Title: Re: Idea Everyone Here could do
Post by: cyphyr on June 03, 2007, 05:52:26 PM
I think this has been discussed before, I dont know how far they got. http://forums.planetside.co.uk/index.php?topic=754.0 (http://forums.planetside.co.uk/index.php?topic=754.0)
Richard
Title: Re: Idea Everyone Here could do
Post by: zionner on June 03, 2007, 05:54:08 PM
No, thats a Detailed Planet Maker...This is just a group of people hand Making a single Planet (all Features hand made)
Title: Re: Idea Everyone Here could do
Post by: Will on June 03, 2007, 05:56:21 PM
interesting idea but currently we can't rotate heightfields and so doing it around a planet would be kind of rough, I tried it once and it didn't work out too well.

Regards,

will
Title: Re: Idea Everyone Here could do
Post by: zionner on June 03, 2007, 05:58:40 PM
Well...What if We..Started off with a Power Fractal To Generate the Planet, Then Scaled it down so it looked like flat land, then for mountians we could use Alphine Fractal?
Title: Re: Idea Everyone Here could do
Post by: Will on June 03, 2007, 06:02:57 PM
how do you plan on making them separate?

regards,

Will
Title: Re: Idea Everyone Here could do
Post by: zionner on June 03, 2007, 06:04:20 PM
umm...through Scale?
Title: Re: Idea Everyone Here could do
Post by: Will on June 03, 2007, 06:13:25 PM
hmm could work, that the only other problem I could for see was how water is handled currently, its doesn't wrap around the planet so it might take some work getting it right but otherwise looks like an interesting project.

Regards,

Will
Title: Re: Idea Everyone Here could do
Post by: Oshyan on June 03, 2007, 06:16:03 PM
Only the lake object doesn't "wrap". This is not the only way to get "water". For planetary scale simply use the Water or Reflective shader and flatten low-lying terrain. You can use various methods to achieve this.

- Oshyan
Title: Re: Idea Everyone Here could do
Post by: zionner on June 03, 2007, 06:18:54 PM
well.....If That shader would be a bit hard, maybe the twist and shear shader might do it?
Title: Re: Idea Everyone Here could do
Post by: Will on June 03, 2007, 06:23:40 PM
Hmm interesting, I'd been on board if we wanted to start a community project.
Title: Re: Idea Everyone Here could do
Post by: zionner on June 03, 2007, 06:25:40 PM
Yeh :) i think we shoutld..it would be interesting to see how it would come out
Title: Re: Idea Everyone Here could do
Post by: semaj on June 04, 2007, 03:31:47 PM
Sweet idea there. I was thinking of trying to do that my self, but it seemed too overwhelming. Another point with multiple people is how to make the separate terrains seamless.
Title: Re: Idea Everyone Here could do
Post by: zionner on June 04, 2007, 03:33:39 PM
well...We can gradualy Change colours through terrains, and say for mountians, slowly Slope Them, and water + Coaslines will be easy
Title: Re: Idea Everyone Here could do
Post by: nvseal on June 04, 2007, 03:50:27 PM
I attempted a similar project recently. The biggest problem I found is the water. I used the same method Rob did in his terracell project which was using a water shader on a sphere object. However, the problem was that mountains would always stick up through the ocean and destroy the realism of the coastlines (as can be seen in the attached image. the colors are the different altitudes). If there was a way to "flatten" the terrain to create an ocean this problem would go away -- although the water shader would shoot render times out the roof if you ever got close to the surface.  Interesting idea though, a community effort might be able to overcome some of these issues
Title: Re: Idea Everyone Here could do
Post by: zionner on June 04, 2007, 04:08:16 PM
Well,For Sea couldnt we use a diffrent Hightfield Shader..to generate that part of the ocean
Title: Re: Idea Everyone Here could do
Post by: nvseal on June 04, 2007, 04:14:05 PM
I don't think that's possible to do for the entire planet.
Title: Re: Idea Everyone Here could do
Post by: Will on June 04, 2007, 04:20:19 PM
what I need is individual output option pur the planet shader so i can get its water.

Regards,

Will
Title: Re: Idea Everyone Here could do
Post by: Oshyan on June 04, 2007, 04:32:01 PM
Using a heightfield shader on a globe is simply not feasible at this point due to projection issues. Heightfields are meant to be a planar representation, they don't work well with spheres. Use procedurals for best results, possibly (partially) directed by image maps in spherical projection. You can use blend shaders to vary your terrain features and blend between different areas. For water you could use a merge shader controlled by a large scale Power Fractal with one input being your entire terrain network and the other being a constant or water wave shape power fractal.

- Oshyan
Title: Re: Idea Everyone Here could do
Post by: Will on June 04, 2007, 04:34:26 PM
I've done the image map type thing, a While back and it worked pretty well.

regards,

Will
Title: Re: Idea Everyone Here could do
Post by: zionner on June 05, 2007, 11:11:55 AM
Quote from: Oshyan on June 04, 2007, 04:32:01 PM
Using a heightfield shader on a globe is simply not feasible at this point due to projection issues. Heightfields are meant to be a planar representation, they don't work well with spheres. Use procedurals for best results, possibly (partially) directed by image maps in spherical projection. You can use blend shaders to vary your terrain features and blend between different areas. For water you could use a merge shader controlled by a large scale Power Fractal with one input being your entire terrain network and the other being a constant or water wave shape power fractal.

- Oshyan

What i meant, was to try and use Sperate Heightsield Shaders for Sea Beds, Which could eliminate the Problem of mountian tops coming through the sea?

Or, Perhaps during this project (If it happens) A few of us who know how might be able to develop a plug-in to remove certain parts from the Fractal Shader
Title: Re: Idea Everyone Here could do
Post by: Oshyan on June 05, 2007, 01:17:15 PM
As I said using heightfields really wouldn't be ideal, unless by "heightfield" you are referring generically to any terrain shader, which is potentialy confusing.

There is also no need to develop a plugin to "remove certain parts from the fractal shader". Simply use a Blend Shader and you can already achieve this.

- Oshyan
Title: Re: Idea Everyone Here could do
Post by: zionner on June 05, 2007, 01:22:47 PM
Ah, Never thought of that, So what if we used the Blend Shader to Flatten out The Bumpy Parts we dont want, And Perhaps..Twist and Shear Shader to Help Make Large Scale Mountians ect?
Title: Re: Idea Everyone Here could do
Post by: Oshyan on June 05, 2007, 01:27:33 PM
Using the blend shader input in this way is exactly what I suggest, except it doesn't "flatten" something, it simply prevents *new* displacement from being in certain areas. Thus the terrain that previously existed would already have to be flat for this to work. The planet starts out flat so you would basically use a Blend Shader on the very first terrain shader using a Power Fractal at very large scale as your blender. A better way if you want to build up a whole terrain network first would be to create the basic terrain then use a Merge shader at the end of the chain between a constant and the terrain network you've build up and using a large scale Power Fractal as a mix controller.

Twist and Shear isn't really going to help you make good mountains. Have you worked with this shader before?

- Oshyan
Title: Re: Idea Everyone Here could do
Post by: zionner on June 05, 2007, 01:32:09 PM
Yeh, Well, Ive Made a Few Mountain Ranges From the shader before by pointing them Very High Up, and it starts to look Kind of like a mountian Range