MaxSky

Community Forums/Showcase/MaxSky

Krischan(Posted 2011) [#1]


I present you the working BlitzMax+miniB3D version of my old BlitzSky Engine.

Download [2MB ZIP]: http://www.christianhart.de/bb/maxsky/maxsky.zip

Like BlitzSky, MaxSky is completely free and published under a modified BSD-License, too. I included two demos, a simple start of the engine and a more complex environment with perlin noise islands. A big difference to the B3D version is that you can use your own camera now. And please notice that you'll need the modified miniB3D-Version from warner to compile / run like it should, which is available here:

Thread: http://www.blitzbasic.com/codearcs/codearcs.php?code=2498
Download: http://www.christianhart.de/bb/sidesign.zip
Mirror: http://www.hi-toro.com/blitz/sidesign.zip

I start loving BlitzMax+miniB3D - although I ran into many, many problems converting this project to BlitzMax (took me one whole day). But finally it works, even if the source is not quite exactly the same (I had to tweak some parts, ex. the moon).

So have fun with it!

Last edited 2011


Hotshot2005(Posted 2011) [#2]
Excellent :)


Krischan(Posted 2011) [#3]
I forgot to add the available Keyboard shortcuts, these demos are interactive, too:

Q/W = change sun Angle
1-0 = predefined sun angle (ex. 1=morning,5=noon,9=evening,0=midnight,)
S = clouds on/off
L = lights on/off
H = haze on/off
B = brightness on/off
O = ocean on/off
G = ground on/off
T = star twinkle on/off

Arrows = Move around
LMB or Right Shift = move 10x faster

Last edited 2011


MadJack(Posted 2011) [#4]
Quick! Someone convert it to Blitzmax + Xors3d!


Krischan(Posted 2011) [#5]
In the first release, there were still some bugs so I decided to clean this mess up and updated the ZIP file now - grab it again if you already got it. The water did not render as it should, the moon creation mode has been optimized and I added some variables and a different haze mode here, so the sun/moon vanishes now behind the haze which looks even more exciting IMHO, here are two screenshots to show the difference (you can switch the mode with the X key now):

Hazemode=0 is the original effect


Hazemode=1 is the new effect


If you find more bugs please post them here. And again: have fun with it!

Last edited 2011


Ian Thompson(Posted 2011) [#6]
Hi, are you going to covert Teratiles to mini3D too?


KronosUK(Posted 2011) [#7]
Would be even better with some lensflare.


Krischan(Posted 2011) [#8]
Ian, you mean BlitzTiles I guess? Terratiles has been the ancestor of it. Well, with MaxSky the work is already half done as BlitzSky is a significant part of it. We'll see if I find the time for it and if minib3d is sufficient enough.

And Kronos: I hate lensflares - that's why Blitz/MaxSky has a brightness effect for the sun which looks like you see it with your eyes and not with your digicam :-p


Ian Thompson(Posted 2011) [#9]
Yes BlitzTiles, that would be great Krischan, it's good to see your code using miniB3D and OpenGL, thank you.


KronosUK(Posted 2011) [#10]
re lensflare, heh fair enough..


Banshee(Posted 2011) [#11]
Hi Krischan

This is absolutely beautiful, especially the BlitzMax version which seemed to have nicer clouds.

GREAT WORK.

I dropped a high detail landscape mesh in to the demo file and it looked great, now if only it had a nice water system and stencil shadows...

Anyway i'm not in the lenseflare fanclub, never have been and never will be - so I think it's stunning as is.


Chroma(Posted 2011) [#12]
And NOW I can finish my flight sim!! ;)

Nice work Krischan.


MadJack(Posted 2011) [#13]
And NOW I can finish my flight sim!! ;)

Surely there's a bit more work to do on that afterburner flare first?


FBEpyon(Posted 2011) [#14]
Hello All,

Has anyone had problems with this in V0.54 on MiniB3d..?

Thanks,


NoOdle(Posted 2012) [#15]
Thank you so much for this!! I spent ages trying to convert the blitz3D version but the sun and moon screwed up, I eventually gave up on it and moved on. Very glad to see you got it all working :D


Banshee(Posted 2012) [#16]
Hi I just thought I would let you know - as per the license, I couldn't find a direct contact address. I have converted this to work with the Xors engine and it is available via the Xors board. http://area.xors3d.com/forums/viewtopic.php?f=20&t=964


MadJack(Posted 2012) [#17]
Squee!


Chroma(Posted 2012) [#18]
Is the Xors Engine still a viable 3D solution for BMax? Is it still being updated?


Captain Wicker (crazy hillbilly)(Posted 2012) [#19]
I just spotted this and have created an import module for it.
Download Here: https://dl.dropbox.com/u/74068453/Krischan.mod.zip
Now you can
import krischan.maxsky

instead of
include "maxsky.bmx"

:)


RustyKristi(Posted 2016) [#20]
Hey Krischan,

I tried recompiling the sources and some of the textures are not loading like sun and haze. I kept the code intact, using BMax 1.5 on Windows.