Dark Bit Factory & Gravity

PROGRAMMING => Freebasic => Topic started by: SAB on July 29, 2006

Title: Fun with Fractals!
Post by: SAB on July 29, 2006
Ok, Here is another program that will produce a fractal landscape.
You might have to adjust the paths and put things in the right folders.
But again I am sorry as I do not know the best way to upload these programs.
It creates heightmap data and also lites it.
Sorry the palette is not much right now as I am haveing 'lil trouble comeing up with the right colours at the present time.

Just Imagine if someone used this code and added textures procedule textures and made a fly-around.
I have done sort of that kind of work with it back in the future basic days but things are different now.

Anyways, Feel free to discect and rip from any if you wish.
again let me know what you do with this stuff if you do and I hope someone will or some people with do something with these programs.

bye
and have a nice day!
Title: Re: Fun with Fractals!
Post by: Shockwave on July 30, 2006
You might have to adjust the paths and put things in the right folders.
But again I am sorry as I do not know the best way to upload these programs.

Hi Sab, I did PM you a while ago about the non-working files but you did not respond to the PM.
Seeing as you don't know the best way to go about uploading your stuff, this is what is causing you the problem;

You have things like this in your listings;

Code: [Select]
OPEN "C:\FBFiles\Files\Regions1.pal" FOR INPUT AS #1

This specifies a path on YOUR computer for your program to find a file. It's never going to work on anybody elses computer because that path simply will not exist on their computer.

Instead you should do this;

Code: [Select]
OPEN "Regions1.pal" FOR INPUT AS #1

And make sure that the media files needed are in the same directory as the source code, this will ensure that your great programs will work on everyone's computers, so that is the solution to your problem, if you have any difficulty getting it to work or understanding it by all means ask.

I've even ammended the posting guidelines recently about non - working files because it's not really fair to post them when help is at hand. I mentioned in my PM to you that I wanted to give you the opportunity to fix your files before they were removed, please fix them as

A: I don't want to have to put the heavy boots on and go around deleting stuff that you worked hard on
B: You seem like a really promising coder and a good member of the board with lots to share and you're not going to get the comments you deserve if people have to mess around to try and run your stuff.

Like I said, please PM me if you need any help / time to fix the files you've posted.

Cheers.
Title: Re: Fun with Fractals!
Post by: Shockwave on July 30, 2006
And by the way, the landscapes that this program makes are really brilliant!
Title: Re: Fun with Fractals!
Post by: Shockwave on July 30, 2006
PPs. Here's a screen for people who cant get it working..