Procedural block world project

User projects written in or related to FreeBASIC.
Post Reply
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: Procedural block world project

Post by Gonzo »

im checking out the cubemap specification now
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: Procedural block world project

Post by Gonzo »

Here is a debug version with much more logging, and the chances of catching that error in the right place is high:
http://fbcraft.fwsnet.net/testclient.exe

note that i think theres something i require that you dont support, but we'll see
worst-case is that it complains about texture2d arrays, but you have said it worked before, so let's give it a fair shot
Lachie Dazdarian
Posts: 2338
Joined: May 31, 2005 9:59
Location: Croatia
Contact:

Re: Procedural block world project

Post by Lachie Dazdarian »

Image

And tested the old version (13.11.2011) which works fine, just to check that something didn't screw up with my PC in the meantime.

Testclient log from the old version:
11-13-2011 16:52:57:: *** Starting up
11-13-2011 16:52:57:: Reading configuration file
11-13-2011 16:52:57:: Read 63 variables
11-13-2011 16:52:57:: Initializing GLFW...
11-13-2011 16:52:58:: Generating GL textures...
11-13-2011 16:52:58:: Loading shaders...
11-13-2011 16:52:58:: Precomputing vertex data
11-13-2011 16:52:58:: *** Loading world data for world: worlds\w3
11-13-2011 16:52:58:: Initializing world generator, using seed: 330
11-13-2011 16:52:58:: Internal generator precalculations
11-13-2011 16:52:58:: Initializing & generating sectors
11-13-2011 16:53:02:: Creating job threads
11-13-2011 16:53:02:: Game started
11-13-2011 16:53:02:: Connecting to server
11-13-2011 16:55:08:: Game ending, user terminated
11-13-2011 16:55:47:: *** Starting up
11-13-2011 16:55:47:: Reading configuration file
11-13-2011 16:55:47:: Read 63 variables
11-13-2011 16:55:47:: Initializing GLFW...
11-13-2011 16:55:47:: Generating GL textures...
11-13-2011 16:55:47:: Loading shaders...
11-13-2011 16:55:47:: Precomputing vertex data
11-13-2011 16:55:47:: *** Loading world data for world: worlds\w3
11-13-2011 16:55:47:: Initializing world generator, using seed: 330
11-13-2011 16:55:47:: Internal generator precalculations
11-13-2011 16:55:47:: Initializing & generating sectors
11-13-2011 16:55:51:: Creating job threads
11-13-2011 16:55:51:: Game started
11-13-2011 16:55:51:: Connecting to server
11-13-2011 16:56:07:: Game ending, user terminated
11-13-2011 16:56:22:: *** Starting up
11-13-2011 16:56:22:: Reading configuration file
11-13-2011 16:56:22:: Read 63 variables
11-13-2011 16:56:22:: Initializing GLFW...
11-13-2011 16:56:22:: Generating GL textures...
11-13-2011 16:56:22:: Loading shaders...
11-13-2011 16:56:22:: Precomputing vertex data
11-13-2011 16:56:22:: *** Loading world data for world: worlds\w3
11-13-2011 16:56:22:: Initializing world generator, using seed: 330
11-13-2011 16:56:22:: Internal generator precalculations
11-13-2011 16:56:22:: Initializing & generating sectors
11-13-2011 16:56:25:: Creating job threads
11-13-2011 16:56:25:: Game started
11-13-2011 16:56:25:: Connecting to server
11-13-2011 16:56:34:: Game ending, user terminated
11-13-2011 17:06:05:: *** Starting up
11-13-2011 17:06:05:: Reading configuration file
11-13-2011 17:06:05:: Read 63 variables
11-13-2011 17:06:05:: Initializing GLFW...
11-13-2011 17:06:05:: Generating GL textures...
11-13-2011 17:06:05:: Loading shaders...
11-13-2011 17:06:06:: Precomputing vertex data
11-13-2011 17:06:06:: *** Loading world data for world: worlds\w3
11-13-2011 17:06:06:: Initializing world generator, using seed: 330
11-13-2011 17:06:06:: Internal generator precalculations
11-13-2011 17:06:06:: Initializing & generating sectors
11-13-2011 17:06:09:: Creating job threads
11-13-2011 17:06:09:: Game started
11-13-2011 17:06:09:: Connecting to server
11-13-2011 17:06:23:: Game ending, user terminated
09-16-2012 21:00:45:: *** Starting up
09-16-2012 21:00:45:: Reading configuration file
09-16-2012 21:00:45:: Read 63 variables
09-16-2012 21:00:45:: Initializing GLFW...
09-16-2012 21:00:48:: Generating GL textures...
09-16-2012 21:00:49:: Loading shaders...
09-16-2012 21:00:51:: Precomputing vertex data
09-16-2012 21:00:52:: *** Loading world data for world: worlds\w3
09-16-2012 21:00:52:: Initializing world generator, using seed: 330
09-16-2012 21:00:52:: Internal generator precalculations
09-16-2012 21:00:53:: Initializing & generating sectors
09-16-2012 21:00:57:: Creating job threads
09-16-2012 21:00:57:: Game started
09-16-2012 21:00:57:: Connecting to server
09-16-2012 21:00:57:: Chunk file missing! Yet, sector was flagged as saved!
09-16-2012 21:00:57:: --> Failed loading from disk, generating instead
09-16-2012 21:01:11:: Game ending, user terminated
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: Procedural block world project

Post by Gonzo »

if your last version was from one year ago, then it's no wonder it doesn't work now
i checked the specs for geforce 8600, and it says explicitly that it does support texture2d arrays, so your drivers MUST be out of date :)
probably very old even

http://uk.download.nvidia.com/Windows/3 ... l-whql.exe
your gfx card is even supported in the latest drivers

as for the "lockup", yes, i found that problem.. it was a print & sleep for the renderbuffer which failed for unknown reasons
im thinking its because your drivers dont like mipmapped non-po2 textures
but we'll see :)

as long as you still get the texture2d array issues, starting the client is a no-go, and it's what the driver reports.. nothing i can do about it in the code :)
Clyde_GVY
Posts: 14
Joined: Sep 15, 2012 21:10

Re: Procedural block world project

Post by Clyde_GVY »

That looks amazing Dudes!!!

I wondered if you'd read about this article Brave Article it about a demo scener called IQ, and how he took an oldskool approach to creating some of the visuals.

Cubes Rock!!
Lachie Dazdarian
Posts: 2338
Joined: May 31, 2005 9:59
Location: Croatia
Contact:

Re: Procedural block world project

Post by Lachie Dazdarian »

Now it just closes:

Code: Select all

09-16-2012 22:35:20:: Generating GL textures...
09-16-2012 22:35:21:: Materials texture2d array error: 1281
09-16-2012 22:35:21:: Items texture2d array error: 1281
09-16-2012 22:35:21:: Players texture2d array error: 1281
09-16-2012 22:35:21:: Actors texture2d array error: 1281
09-16-2012 22:35:22:: ERROR: renderbuffer 1281
Maybe something is screwed up with my PC, although this time I downloaded the right drivers directly from NVIDIA webpage (306.23).

Guess this will have to wait for me until I get a new PC.
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: Procedural block world project

Post by Gonzo »

i suspect that maybe your card only supports 511 array layers, but who knows
i have updated the update site with new texture maps that are 384 tiles... back in the day it used to be 256
so we'll see if that fixes it
another thing you can try is disable anisotropic filtering

and finally, you will need to use this to catch the errors:
http://fbcraft.fwsnet.net/testclient.exe

alot more errors are caught this time.. i am surprised that renderbuffer would give an error
Lachie Dazdarian
Posts: 2338
Joined: May 31, 2005 9:59
Location: Croatia
Contact:

Re: Procedural block world project

Post by Lachie Dazdarian »

Downloaded the new testclient. Didn't run the launcher. Worked now! Weee! This games looks much better since the last time. :)
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: Procedural block world project

Post by Gonzo »

but i didnt change anything, except GL_RGBA to GL_RGBA8... :S
strange
but, glad it works.. :)

and this is from the specification of opengl:
GL_RGBA = any RGBA format that the drivers likes...
GL_RGBA8 = i specifically ask for a 8-bits per channel format

don't ask me..

also you can connect to server with /server (enter = open chat)
Jonge
Posts: 130
Joined: Jul 17, 2012 17:51
Location: Norway
Contact:

Re: Procedural block world project

Post by Jonge »

Heh this is how far my computer got when trying to run testclient.exe

Code: Select all

09-19-2012 21:55:38:: *** Starting up
09-19-2012 21:55:38:: Reading configuration file
09-19-2012 21:55:38:: Read 62 variables
09-19-2012 21:55:38:: Initializing GLFW...
09-19-2012 21:55:38:: WARNING: Could not open HDR window of size: 1138, 640
09-19-2012 21:55:38:: ERROR: Could not open normal window of size: 1138, 640
Don't you support 8 year old laptops with onboard gfx cards! =)

The screenshots looks great btw =) At least my computer can manage to display them properly ;)
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: Procedural block world project

Post by Gonzo »

hehe, no that will not be possible
i am trying to use modern opengl (at least 3.x and above) so that i won't be held back if i want to make something
if it was anything 2D, i would go for 2.1 support and then most intel integrated chips would be supported

then again, if you suddenly find yourself with a new computer, you can live here:
http://fbcraft.fwsnet.net/smooothe.png
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: Procedural block world project

Post by Gonzo »

will take a while now until any new build even for internal testing is working, since new networking is finally in progress
until then, a few screens:
http://fbcraft.fwsnet.net/2909-1.png
http://fbcraft.fwsnet.net/2909-2.png

and a little shout-out to my testers who put up with constant updates and fresh worlds:
http://fbcraft.fwsnet.net/desert-town.png
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: Procedural block world project

Post by Gonzo »

http://fbcraft.fwsnet.net/ultrarealdeal.png
the much awaited leap in quality: biomes =)

http://fbcraft.fwsnet.net/gradient.png
my little pony world *cough*
darkhog
Posts: 132
Joined: Oct 05, 2011 21:19

Re: Procedural block world project

Post by darkhog »

Gonzo, remember that I was tester? Well, I can get to log in anymore. Can you help me? Please contact me at ra-ve00-2 [at] o-2.pl (remove dashes and change [at], to you know what. It's anti-spambot precaution).
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: Procedural block world project

Post by Gonzo »

Post Reply