get position

Started by mhaze, November 12, 2007, 10:04:49 AM

Previous topic - Next topic

mhaze

Is it possible to feed XZ co-ordinates into the input of a get position in texture node, with the aim of limiting/masking the area affected by susequent nodes?   if that makes any sense to anybody :-\

mhaze

or to put it another way - is there a way of masking using only function nodes - perhaps using conditionals. So that only a specified area of the landscape is affected by say modoesque spikes?

Volker Harun

Well, I doubt that the input of the get position will do any significant. But want to be proofed wrong ,-)

With functions: The output of the 'get position' can be converted to the scalars X,Y,Z.
You can use two conditionals for setting a range for each scalar:
If X is larger than i.e. 1000 (m) then ... if X is smaller than i.e. 2000 (m)

Of course instead of the values (1000 and 2000) a function can be used.

Else, I would do it more random ... multiplying the 'get position' output with a large scaled, high contrasting powerfractal.

mhaze

thanks Volker - lots to think about. will feed back any success I have

Mick