Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
No FOG showing in my 6.40.5,,anyone have same?? #89958
09/14/06 22:37
09/14/06 22:37
Joined: Aug 2003
Posts: 73
Newport, N.C.
D
David Offline OP
Junior Member
David  Offline OP
Junior Member
D

Joined: Aug 2003
Posts: 73
Newport, N.C.
I have ver 6.31 on Laptop and my level has fog and all is well.
I have updated to 6.40.5 on this machine, and level builds great,
"no runs, no hits, or errors".
But NO FOG either.!!!

Am using Display00 Ver 2 of 040505 on my laptop

On this machine using

// ---------------------------------------------------------------------
// STARTHEADER
// ver: 4.6
// date: 060518
//
// title: Display
// class: MISC
// type: USER
// image: display.pcx
// help: The display represents the screen that all windows are rendered to.
//
// needs: gid01.wdl
//
// prefix: display00_
// idcode: 00A
//
// ENDHEADER
// -------------------



Here is the section of the Display00 script that addresses FOG settings.

//----------------------------------------------------------------------
// section: Fog Settings

// entry: Fog color Index
// entry_help: Select the fog color from the Map Prop panel in WED.
// cntl: spin 0 5 1
// id: 52
fog_color = 1;

// entry: Fog Start
// help: Percent of clip_range until fog start
// help: There won't be any fog closer than fog_start
// id: 50
camera.fog_start = 75;
camera.fog_start /= 100;
if(camera.fog_start < 0) { camera.fog_start = 0; }


// entry: Fog End
// help: Percent of clip_range until fog end
// help: The world will be all foggy beyond fog_end
// id: 51
camera.fog_end = 90;
camera.fog_end /= 100;
if(camera.fog_end < 0) { camera.fog_end = 0; }

camera.fog_start = camera.fog_start * camera.clip_far; // fog at 80% of clip_range
camera.fog_end = camera.fog_end * camera.clip_far; // fog till 90% of clip_range
}


endif;



----------------------------------------------------------------------

I have my FOG settings under Map Properties as follows:
Fog1 192 192 192
Fog2 128 128 128
Fog3 56 56 56
Fog4 0 0 0


-------------------------------------------
Sun is 0 0 0
Ambient 20 20 20

-----------------------------------------

level looks like a dark outdoor scene with no fog.




My scene in 6.31 looks like this:::



The fog gives the effect of snow, but it is ok with me.

My Project Manager on Ver 6.4 looks like this:::


I just want the 6.40 to look the same as 6.31.
Suggestions...

Last edited by David; 09/15/06 11:56.
Re: No FOG showing in my 6.40.5,,anyone have same?? [Re: David] #89959
09/21/06 02:49
09/21/06 02:49
Joined: Aug 2003
Posts: 73
Newport, N.C.
D
David Offline OP
Junior Member
David  Offline OP
Junior Member
D

Joined: Aug 2003
Posts: 73
Newport, N.C.
Hard to believe NOONE uses FOG in 6.40.5.....!!!!

Any takers on this problem ???

No fog in Ver 6.40.5,, have fog in 6.3


6.3 using ATI Radeon Mobile video card.
6.40.5 using NVidia MX 440 with 128M Ram


DAve

Re: No FOG showing in my 6.40.5,,anyone have same? [Re: David] #89960
09/21/06 06:41
09/21/06 06:41
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
i an not using templates, just define fog_start and fog_end in your main after the level_load instruction, set the clip_far as well. look up the fog colour values in the map properties. this way it works without problems.


Gamestudio download | 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