Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Quad, 1 invisible), 721 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Shade-C 0.90 water for A8 #420480
03/27/13 09:51
03/27/13 09:51
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
hi

as I mentioned I made this little Shade-C water conversion for A8 last week, without touching other parts of Shade-C 0.90. everything is detailed in the attached readme.txt file. 3 sample terrains are included and some other entities, and a character can be controlled to walk the scene throughout and check water behaviour.
I suggest you to tweak all the parameters to get a water you like, in the files I mention in the readme.txt, or wait for the next MapBuilder update where it will be possible in real time on a simple panel.
it supports now 16:9 screens, PSSM shadows, single skin or multiskin terrains using terraintex.fx, fog, HDR, but when you include sc_Dof.h and .c, you should always apply mtl_hdr, what you can disable afterwards immediately, as described in main.c to not to get a black screen.
corrections, improvements, donations welcome laugh
and of course, thanks for BoH_Havoc for this great collection!

link: http://www.mediafire.com/?dak89ou5r04z2xe

features:

water with dynamic depth:


water without depth:


water with static depth map:


modified 3DGS mirrorwater:



Last edited by sivan; 03/27/13 12:41.

Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Shade-C 0.90 water for A8 [Re: sivan] #420484
03/27/13 10:42
03/27/13 10:42
Joined: Dec 2003
Posts: 1,225
germany
gri Offline
Serious User
gri  Offline
Serious User

Joined: Dec 2003
Posts: 1,225
germany
hot, thanx sivan


"Make a great game or kill it early" (Bruce Shelley, Ensemble Studios)
Re: Shade-C 0.90 water for A8 [Re: gri] #420485
03/27/13 11:39
03/27/13 11:39
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
thanks mate


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Shade-C 0.90 water for A8 [Re: 3run] #420510
03/28/13 09:56
03/28/13 09:56
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
wow, 52 downloads within a day laugh it means it is worthy to do similar things laugh (to be honest it was not a huge work, but was useful for learning view settings for me)

a little suggestion:
in sc_core.h at line 50 you can replace SC_OBJECT *myData = malloc(sizeof(SC_OBJECT)); with SC_OBJECT *myData = (SC_OBJECT*)sys_malloc(sizeof(SC_OBJECT)); for safety as it is freed by the engine on exit. or you can free it via water entity's skill99 before removing the water entity (maybe needed when loading a new level).


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Shade-C 0.90 water for A8 [Re: sivan] #420547
03/28/13 19:36
03/28/13 19:36
Joined: Dec 2003
Posts: 1,225
germany
gri Offline
Serious User
gri  Offline
Serious User

Joined: Dec 2003
Posts: 1,225
germany
sivan , great contribution = big fame laugh


"Make a great game or kill it early" (Bruce Shelley, Ensemble Studios)
Re: Shade-C 0.90 water for A8 [Re: gri] #423457
05/30/13 09:05
05/30/13 09:05
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
I just realized that to avoid water wave flickering, commenting the following line in sc_water.fx helps, without any effect on the shader quality or errors:

v = v + float3(10000.0f, 10000.0f, 10000.0f); // hack to avoid negative numbers


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Shade-C 0.90 water for A8 [Re: sivan] #423458
05/30/13 09:14
05/30/13 09:14
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
When I run the "main.c", it says

Code:
Can't open SHADE-C.C
Error compiling SHADE-C.C


crazy

Re: Shade-C 0.90 water for A8 [Re: HeelX] #423467
05/30/13 11:41
05/30/13 11:41
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
I downloaded to check any zipping issue but it work fine for me.

after 134 downloads, I got no any error report so far, only from you. thus no idea, maybe folder path is too long. but what is shade-c.c?


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Shade-C 0.90 water for A8 [Re: sivan] #423468
05/30/13 12:05
05/30/13 12:05
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Ah, sorry, it was an error due to the existence of spaces in the folder name. Had to set max_entities to a higher value, though, but it works now.

Re: Shade-C 0.90 water for A8 [Re: HeelX] #424957
06/24/13 18:32
06/24/13 18:32
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Beautiful laugh
Unrelated question, and I am sorry - How Did you get your terrain to be so big, and not fuss up the fps? Im still trying to learn these things laugh


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Page 1 of 2 1 2

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