Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Akow, AndrewAMD, Quad), 733 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 1 of 3 1 2 3
new day/night-change test-level #67706
03/22/06 15:43
03/22/06 15:43
Joined: Mar 2005
Posts: 969
ch
Loopix Offline OP
User
Loopix  Offline OP
User

Joined: Mar 2005
Posts: 969
ch
I recently made a test-level that shows the use of background-and fogcolor fadings to achieve a decent day-to-night change. It also includes dynamic sun/moon and a lensflare effect and...a nice multitexture-terrain-shader.
The here shown method is suited for large outdoor levels that need a close clipping for higher fps count.

Of course there are many things to improove and I would be happy to hear from you how! As you know, I'm only able to do some kind of pseudo-scripting...ready for you to rework and post here

Credits go to Thorsten Kunze (terrainshader), Alexander Esslinger (lighting in terrainshader), Psionic (dwarf-model) and David Lancaster (modified template6 lensflare-script and flare pictures).

Note: Needs at least version 6.4... because of chunked terrain.

DOWNLOAD HERE (8 mb!)





Re: new day/night-change test-level [Re: Loopix] #67707
03/22/06 16:18
03/22/06 16:18
Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
sPlKe Offline
Expert
sPlKe  Offline
Expert

Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
thats simply amazing...
fine thing is that this code can easily be changed...
and fitted...

Re: new day/night-change test-level [Re: sPlKe] #67708
03/22/06 16:46
03/22/06 16:46
Joined: Sep 2005
Posts: 357
Florida
Hellcrypt Offline
Senior Member
Hellcrypt  Offline
Senior Member

Joined: Sep 2005
Posts: 357
Florida
I get an error loading the hmp

Edit: oops din't read it was for 6.4. heh now it work. Very good job

Last edited by Hellcrypt; 03/22/06 16:50.

I do not solve problems.... I prevent them.
Re: new day/night-change test-level [Re: Hellcrypt] #67709
03/22/06 16:53
03/22/06 16:53
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Wow!

Re: new day/night-change test-level [Re: Pappenheimer] #67710
03/22/06 19:09
03/22/06 19:09
Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
sPlKe Offline
Expert
sPlKe  Offline
Expert

Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
ive tested the code, and it works with 6.3 aswell if you remove the terrain line and code a little around it. ill use that in my game, i dont use terrain but it works anyway...

Re: new day/night-change test-level [Re: sPlKe] #67711
03/22/06 19:51
03/22/06 19:51
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Nice work Loopix, that's really
a great job you did there.
I'll surely use this in my project

Thxn

Frazzle

Last edited by frazzle; 03/22/06 19:52.

Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: new day/night-change test-level [Re: sPlKe] #67712
03/22/06 19:59
03/22/06 19:59
Joined: Mar 2005
Posts: 969
ch
Loopix Offline OP
User
Loopix  Offline OP
User

Joined: Mar 2005
Posts: 969
ch
I'm glad you like it Yes...my coding should be very easy to understand and adapt to your own needs...actualy anything that escapes my brain can't be hard to understand

Re: new day/night-change test-level [Re: Loopix] #67713
03/22/06 22:27
03/22/06 22:27
Joined: Sep 2005
Posts: 31
S
StarViper Offline
Newbie
StarViper  Offline
Newbie
S

Joined: Sep 2005
Posts: 31
Looks great from the screenshots, but can a 6.4 user publish this for us non-6.4 users so we can see the full glory?

Re: new day/night-change test-level [Re: StarViper] #67714
03/23/06 21:29
03/23/06 21:29
Joined: Feb 2006
Posts: 202
Southern California, USA
G
GhostwriterDoF Offline
Member
GhostwriterDoF  Offline
Member
G

Joined: Feb 2006
Posts: 202
Southern California, USA
WoW Loopix, this is a great contribution, many thanks.

It can be used in a lot of ways.


The rivers of time erode away the mountains of existence...
Re: new day/night-change test-level [Re: GhostwriterDoF] #67715
03/23/06 22:19
03/23/06 22:19
Joined: Sep 2005
Posts: 357
Florida
Hellcrypt Offline
Senior Member
Hellcrypt  Offline
Senior Member

Joined: Sep 2005
Posts: 357
Florida
A bug i noticed is when you look at the sun directly it kind of flickers.


I do not solve problems.... I prevent them.
Page 1 of 3 1 2 3

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1