|
|
Re: fog?
[Re: crumply]
#201598
04/09/08 23:48
04/09/08 23:48
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
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]
#201609
04/10/08 01:32
04/10/08 01:32
|
Joined: Mar 2008
Posts: 67
crumply
OP
Junior Member
|
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
|
Malice
Unregistered
|
Malice
Unregistered
|
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
Expert
|
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: crumply]
#201669
04/10/08 14:26
04/10/08 14:26
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
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...
|
|
|
|
|
|