Free Stuff

Community Forums/Showcase/Free Stuff

Rob Farley(Posted 2005) [#1]
I found these on my hard drive, they've been kicking around for a couple of years and I've done nothing with them...

So here you go.

Procedural texture generation:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1469

Another GUI
http://www.blitzbasic.com/codearcs/codearcs.php?code=1470


Braincell(Posted 2005) [#2]
Procedural texture generation sounds interesting.

I separated the files and saved them in same directory, but i get a MAV on the first line of function GetRGP which is
argb=ReadPixelFast(x,y,ImageBuffer(image_name))


What could i be doing wrong?


Binary_Moon(Posted 2005) [#3]
Hey Rob

I'm getting a mav with the procedural texture generator as well. Shame cos it's a good idea. Something I have thought about but never spent any time working on.


Bremer(Posted 2005) [#4]
Throw the following in the get/writeRGB functions as the first lines of code and it works for me.

x = Abs(x) Mod 256
y = Abs(y) Mod 256



Binary_Moon(Posted 2005) [#5]
ok - that works. Might be worth changing the 256 to texsize in case you change the texture size.

Rob - that's pretty cool. You came up with some nice effects there.