I think I've got some perlin noise working (not sure). Its 22:42 now, I'm kinda tired. Here's what i get:
-0.614514 -0.226321 0.053733 0.228152 0.314069 0.300499 0.121103 -0.136784 -0.469094 -0.937431 0.621641 0.471056 0.219821 -0.142469 -0.618700 -1.189526 -1.834159 -2.638149 -3.485322 -4.382685 1.530250 0.831761 0.054852 -0.785659 -1.689693 -2.700335 -3.731424 -4.789687 -5.914028 -7.060840 1.285504 0.234337 -0.880578 -1.986551 -3.090959 -4.194898 -5.325507 -6.402001 -7.446577 -8.455884 -0.364385 -1.473501 -2.534411 -3.569206 -4.542142 -5.436679 -6.262686 -7.007408 -7.648925 -8.214657 -2.871655 -3.697566 -4.386805 -4.976111 -5.466606 -5.835929 -6.081578 -6.231981 -6.259090 -6.110443 -5.211807 -5.390396 -5.445025 -5.360833 -5.170956 -4.866053 -4.372600 -3.790525 -3.131097 -2.366189 -6.057539 -5.501166 -4.852149 -4.085396 -3.174011 -2.189578 -1.151687 0.002891 1.274685 2.575476 -4.608814 -3.398098 -2.167816 -0.914472 0.383345 1.827292 3.225406 4.605771 5.993749 7.490348 -0.785658 0.612526 2.046198 3.493935 4.876094 6.194302 7.558663 8.791742 9.942856 11.024901
I need to convert these values into a number between 0 and 255, how do I do this? I'm just too tired to think of something...
All help is appreciated.
Greetings
Robin

New Topic/Question
Reply



MultiQuote



|