Flight Simsih Clouds

Community Forums/Showcase/Flight Simsih Clouds

wmaass(Posted 2004) [#1]
...Simish, that is...

Just sprites inspired by Voderman's fog thingy, no big deal but I thought it looked pretty cool. This is part of a evolving weather system I'm trying to create for my golf project.




Kanati(Posted 2004) [#2]
nice. relatively realistic looking.


Steve C ™(Posted 2004) [#3]
Beautiful! :)


Big&(Posted 2004) [#4]
Looks really, really nice.

Reminds me of skytracer (was it?) for Lightwave. :)


Vorderman(Posted 2004) [#5]
do those clouds move? It looks fantastic.

How have you created the sea (with reflections) ?


mrtricks(Posted 2004) [#6]
Gorgeous!


Rimmsy(Posted 2004) [#7]
No big deal? Those things are fantastic.


wmaass(Posted 2004) [#8]
Vorderman, they do move. The water is just the bottom of the skybox. It's amazing what a few sprites can do.


AntonyWells(Posted 2004) [#9]
Do they remain coherent/solid looking even when turning?( I.e imagine the camera was 360'ing them.)

I thought it looked even cooler at first(Thought that was real time water too!) but still very nice looking.


Red Ocktober(Posted 2004) [#10]
too good for a golf game... you should be making a flight sim, or a ballooning sim...

... or some game that is set in the stratosphere :)

really looks nice...

--Mike


wmaass(Posted 2004) [#11]
Man I wish I could get water like that. I got lucky with the impression of relections. They look supringly good when moving -- very convincing. However when you view them from extreme angles or sharp camera movement they tend to roll a bit. Not a problem for my purposes. They look good as you fly through them as well. When the cloud formation is far from the camera it looks like a looming line of storms. Here are more shots, the skybox is a bit over the top in these shots so it does not look as "real".





wmaass(Posted 2004) [#12]
Red,

How about golf in the stratosphere...




EOF(Posted 2004) [#13]
How about golf in the stratosphere...

Now THAT is crazy golf!

I like 'fun' golf games. What sort of golf game are you working on?


Red Ocktober(Posted 2004) [#14]
heeeyyyyyyy... there ya go... think of the possibilities!!!

the first thing that popped into mind was the floating city in Star Wars... a golf tourney there would be cool...

kind of a new slant on an tried and true theme...


--Mike


SabataRH(Posted 2004) [#15]
Looking nice wmaass! keep us informed please..


wmaass(Posted 2004) [#16]
Thanks for the kind words. Jim, I'm not really settled on how I'm going to approach the golf project. I'm continually tinkering with ideas.

The floating golf course actually spawned from my first game idea I got when I purchased Blitz -- dubbed Infinite Sky. That project got to be over my head so I retreated to familiar ground for now.

Alienhead, what happened to your Sky Fab project?


Bouncer(Posted 2004) [#17]
The clouds look really nice... I would really like to see them moving...


wmaass(Posted 2004) [#18]
Just add this somewhere before the main loop in the xfighter demo. You'll need to create 3 cloudpuff images (I borrowed from x-plane but these are easily made). Again this is straight from Vorderman's fog code with just a few lines to provide scale and puff image variety. If you want to make them move just update the pivot "testpiv". Hide the existing cloud plne in the demo for best results.

;-------------- CONSTANTS ---------------------------
;Const gameFPS = 50 ;frame limiting
Const MAX_FOG = 2000
Const SPREAD# = 4000
Const GLOBAL_MUSH# = 1.0


;-------------- GLOBALS -----------------------------
Global CAM_yaw# = 0.0
Global CAM_zoom# = 20
Global NULLPIVOT = CreatePivot()


;-------------- TYPES -------------------------------
Type TYPE_FOG
Field x#,y#,z#
Field xs#,zs#
Field sprite
Field ax#,az#
Field mushiness#
End Type

Dim FOG.TYPE_FOG(MAX_FOG)
testpiv=CreatePivot()
For a=1 To MAX_FOG
FOG.TYPE_FOG(a) = New TYPE_FOG
fsprite=Rand(1,3)
If fsprite=1
FOG(a)\sprite = LoadSprite("cld_puff_1.png",2,testpiv) ;was 1
EndIf
If fsprite=2
FOG(a)\sprite = LoadSprite("cld_puff_2.png",2,testpiv) ;was 1
EndIf
If fsprite=3
FOG(a)\sprite = LoadSprite("cld_puff_3.png",3,testpiv) ;was 1
EndIf

SpriteViewMode FOG(a)\sprite,3
EntityAlpha FOG(a)\sprite,Rnd#(0.2,1.0)

rscale#=Rnd#(50.0,200.0)
ScaleSprite FOG(a)\sprite,rscale#,rscale#
FOG(a)\x# = Rnd#(-SPREAD#,SPREAD#)
FOG(a)\y# = Rnd#(-1,2)
FOG(a)\z# = Rnd#(-SPREAD#,SPREAD#)
FOG(a)\xs# = 0.0
FOG(a)\zs# = 0.0
FOG(a)\ax# = FOG(a)\x#
FOG(a)\az# = FOG(a)\z#
PositionEntity FOG(a)\sprite,FOG(a)\x#,FOG(a)\y#,FOG(a)\z#
FOG(a)\mushiness# = 0.25
Next



MoveEntity testpiv,0,350,-10