Ken Perlin noise ...

Started by aymenk2003, August 24, 2009, 09:45:47 AM

Previous topic - Next topic

aymenk2003

thanks M_L...

I've to try all these function may be I'll got something new...

NKAID...
Le peu que je sais, c'est à mon ignorance que je le dois.

Mr_Lamppost

Smoke me a kipper I'll be back for breakfast.

aymenk2003

I got it thank a lot....

NKAID...
Le peu que je sais, c'est à mon ignorance que je le dois.

mogn

Quote from: aymenk2003 on August 24, 2009, 07:49:05 PM
Q: what the 'complement scalar' does ?

NKAID...

'complement scalar'(x) = 1-x

'negate scalar'( 'complement scalar' ) = x - 1
'complement scalar'('negate scalar'(x)) = x+1
'abs scalar'(x) + x = if (x<0) then 0 else 2x (I have a phobia against conditional nodes)

'dot product'([x,y,z], 1) = x + y + z

and due to my phobia:

'subtract scalar'( 'add scalar(x, z) , 'difference_scalar'(x, z)' ) = 2*min(x,z)

Useful if you use the vector version of the above node functions.

Also remember that you can mix vector functions and colour functions witout any trouble.

aymenk2003

thank you you are a must ...
except that ['dot product'([x,y,z], 1) = x + y + z] ; that don't sounds well  ???

Le peu que je sais, c'est à mon ignorance que je le dois.

Volker Harun

Has anybody an idea how to convert the pure displacment information of a heightfield or a fractal terrain into scalars?

That would help me a lot ;)

Volker

FrankB

Only way I can think of at the moment is to go through "altitude in texture", Volker. have you tried that?

Frank

cyphyr

Convert > Y to Scalar ?
Maybe?
Richard
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

mogn

Quote from: aymenk2003 on August 25, 2009, 10:54:29 AM
thank you you are a must ...
except that ['dot product'([x,y,z], 1) = x + y + z] ; that don't sounds well  ???



[x,y,z] means a vector (or colour) input to the 'dot product' node. Because the 'dot product' node uses to vector inputs,
the scalar 1, is expanded to the vector [1, 1, 1].

The dot product of two vectors [a, b, c] and [A, B, C] is calculated as: [a, b, c].[A, B, C] = a*A + b*B + c*C

aymenk2003

Le peu que je sais, c'est à mon ignorance que je le dois.

Volker Harun

This is just a teaser, because I have not seen any new function-images yet  ;D ;D ;D

Volker

cyphyr

www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

Henry Blewer

The wood grain is great. I've been really enjoying your function experiments. I can see a huge group of these available as presets in a future software version. Perhaps under a tab of their own.
http://flickr.com/photos/njeneb/
Forget Tuesday; It's just Monday spelled with a T

aymenk2003

that's really  wonderful ... then we can do everything with functions...
back to our old math books and review the artistic function ...
you are great Volker ...

NKAID ...
Le peu que je sais, c'est à mon ignorance que je le dois.