Gamestudio Links
Zorro Links
Newest Posts
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, VoroneTZ, 1 invisible), 1,578 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
fog? #201592
04/09/08 23:25
04/09/08 23:25
Joined: Mar 2008
Posts: 67
crumply Offline OP
Junior Member
crumply  Offline OP
Junior Member

Joined: Mar 2008
Posts: 67
IS this possible in lite-c?

Re: fog? [Re: crumply] #201598
04/09/08 23:48
04/09/08 23:48
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Have a look in the manual under fog_start and fog_end.


Always learn from history, to be sure you make the same mistakes again...
Re: fog? [Re: Uhrwerk] #201604
04/10/08 00:16
04/10/08 00:16
Joined: Mar 2008
Posts: 67
crumply Offline OP
Junior Member
crumply  Offline OP
Junior Member

Joined: Mar 2008
Posts: 67
I tried that and it didn't seem to work. I am using a laptop with intel graphics though so that may be the problem. It is < 2 months old though.

Re: fog? [Re: crumply] #201605
04/10/08 00:27
04/10/08 00:27
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Did you set the fog_color?


Always learn from history, to be sure you make the same mistakes again...
Re: fog? [Re: Uhrwerk] #201609
04/10/08 01:32
04/10/08 01:32
Joined: Mar 2008
Posts: 67
crumply Offline OP
Junior Member
crumply  Offline OP
Junior Member

Joined: Mar 2008
Posts: 67
In main, after the level is loaded (a .hmp)

fog_color = 3;
camera.fog_start = 0; // fog starts at 80% of clip range
camera.fog_end = 0.5 * camera.clip_far; // total foggy at 90% of clip

Still nothing \:\(

Re: fog? [Re: crumply] #201615
04/10/08 05:45
04/10/08 05:45

M
Malice
Unregistered
Malice
Unregistered
M



d3d_fogcolor3?
camera.fog_start = camera.clip_near;

Last edited by Malice; 04/10/08 05:46.
Re: fog? [Re: ] #201636
04/10/08 11:25
04/10/08 11:25
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Setting fog_color should be sufficient. fog_start and fog_end are only used to tweak the intensity of the effect. d3d_fogcolors is used to tweak the color of the fog in realtime. Well, mobile graphic adapters tend to be less powerfull than the ones developed for workstations, especially the intel ones. However, I can't imagine a graphics adapter younger than a year not supporting such a basic feature like fogging. You could try usnig the command line option "-w3d". Does that help?


Always learn from history, to be sure you make the same mistakes again...
Re: fog? [Re: Uhrwerk] #201661
04/10/08 14:01
04/10/08 14:01
Joined: Mar 2008
Posts: 67
crumply Offline OP
Junior Member
crumply  Offline OP
Junior Member

Joined: Mar 2008
Posts: 67
No luck with that however it turned off shadow stencil and gave me a frame rate i've never had before on this laptop! (fast!)

Re: fog? [Re: crumply] #201669
04/10/08 14:26
04/10/08 14:26
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Well, of none of these work I can't help you. Except for the usual hints, like update your drivers. Maybe posting in "Ask Conitec" will help you. If other users with the same graphics adapter had problems in the past there might be a solution. In general it's a rather bad idea to buy an intel graphics chip. ATI and NVidia graphics adapter are a better choice. Can you test your code on another machine? Then you can be sure the problems derive from your laptop.


Always learn from history, to be sure you make the same mistakes again...
Re: fog? [Re: Uhrwerk] #201677
04/10/08 14:58
04/10/08 14:58
Joined: Mar 2008
Posts: 67
crumply Offline OP
Junior Member
crumply  Offline OP
Junior Member

Joined: Mar 2008
Posts: 67
In about a week I go back to uni where I have a gaming rig with 8800 crammed in there. That will be the definitive test.

\:D

Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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