Recent

Author Topic: Fantasy Worldbuilder; Problems with Rendering  (Read 377 times)

Boleeman

  • Hero Member
  • *****
  • Posts: 1103
Fantasy Worldbuilder; Problems with Rendering
« on: January 13, 2026, 01:28:33 am »
Fantasy Worldbuilder

I found an interesting program that uses FractalMap to make mountains/worlds but it seems not to be rendering any fractal features.

I found the source at https://github.com/tailkinker/worldbuilder

Problem:

Can't seem to type in a seed number (it appears when you make a World Name) and there is no planet rendering happening (Just faint blue grid).


I wonder if anyone can figure out the problem?

Dzandaa

  • Hero Member
  • *****
  • Posts: 520
  • From C# to Lazarus
Re: Fantasy Worldbuilder; Problems with Rendering
« Reply #1 on: January 13, 2026, 12:39:06 pm »
Hi, Eddie,

Quick search:

I found that
Code: Pascal  [Select][+][-]
  1. procedure TfrmWorldWizard.CreateFractalMap;
  2. begin
  3.  if (NewWorld <> nil) then FreeAndNil(NewWorld);
  4.  NewWorld := tWorld.Create(RandomSeed);
  5.  

works better,

but it crashes when accessing the array "political" in gworld unit.

Code: Pascal  [Select][+][-]
  1.  with FractalMap do
  2.  begin
  3.   Political[x, y] := Step;
  4.   Political[x + 1, y] := Step;
  5.   Political[x - 1, y] := Step;
  6.   Political[x, y + 1] := Step;
  7.   Political[x, y - 1] := Step;
  8.  end;  
  9.  

You have to set "World Name" and "World Path" before clicking "Next"

Good Luck.

B->


Regards,
Dzandaa

Boleeman

  • Hero Member
  • *****
  • Posts: 1103
Re: Fantasy Worldbuilder; Problems with Rendering
« Reply #2 on: January 13, 2026, 09:45:56 pm »
Thanks DZandaa for looking at it.

It looks like the World name has to be at least 6 characters long before a random seed is produced.

I also tried  if (NewWorld <> nil) then FreeAndNil(NewWorld);
 NewWorld := tWorld.Create(RandomSeed);

and I got at least a bit of a rendering happening and then that error in the array "political" in gworld unit.

The program was made by tailkinker, who is a member of this forum.

Not sure if tailkinker also has the problem of no scene render?

Thanks DZandaa for looking at worldbuilder for me.



 

TinyPortal © 2005-2018