Planetside Software Forums

General => Terragen Discussion => Topic started by: dhavalmistry on January 18, 2008, 04:09:04 PM

Title: 3D to 2D
Post by: dhavalmistry on January 18, 2008, 04:09:04 PM
I was just wondering, how would you go converting a 3D function into a 2D function....

for example.....if I want to convert Perlin 3D to 2D....how would I do that??....
Title: Re: 3D to 2D
Post by: old_blaggard on January 18, 2008, 04:38:36 PM
Do you mean that instead of having 3D perlin blobs you have 2D ones that then extend forever up and down when put in the 3D context?  If that's the case, using a Transform shader with y-scale set to a billion trillion would be close enough to what you're looking for.
Title: Re: 3D to 2D
Post by: Virex on January 18, 2008, 05:46:27 PM
Depends on what you're trying to achieve. You could take a slice of a perlin by feeding it into a flat terain and then extracting the colours.