Author Topic: _  (Read 1523 times)

IronFist

  • Autococker
  • Posts: 1304
_
« on: August 18, 2003, 05:03:37 AM »
Post removed
« Last Edit: July 25, 2010, 10:11:44 PM by IronFist »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Some questions!
« Reply #1 on: August 18, 2003, 06:53:16 AM »
Distance fog is set up to clip anything past the specified distance.  Density fog, however, will not (because there is no specified distance, the fog just gets denser exponentially).

"classname" "func_model"
"model" "models/plants/bigleaf2.md2"

IronFist

  • Autococker
  • Posts: 1304
_
« Reply #2 on: August 18, 2003, 01:37:02 PM »
Post removed
« Last Edit: July 25, 2010, 10:11:42 PM by IronFist »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Some questions!
« Reply #3 on: August 18, 2003, 06:05:10 PM »
gl_showtris only works in single player (deathmatch 0)

Your current method is using distance fog.  To use density fog, you need to use "fogd" (not implemented in build 5).  r_speeds don't take fog into account, so you can't see if there is a decreased polygon count.

IronFist

  • Autococker
  • Posts: 1304
_
« Reply #4 on: August 19, 2003, 05:11:52 AM »
Post removed
« Last Edit: July 25, 2010, 10:11:39 PM by IronFist »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Some questions!
« Reply #5 on: August 19, 2003, 06:53:17 AM »
The distance fog uses a clipping plane, meaning anything past a certain distance is simply not drawn by the video card.  r_speeds are counted by the engine.  Every time it draws a polygon, it adds to the count.

You can play around with this and see if fog improves your framerate by doing the folllowing:
Make the map without fog, turn on cl_drawfps, go to a spot where the framerate is low, then go to the console and type: sky "fog 0 0 0 500" and see if the framerate goes up or down.

IronFist

  • Autococker
  • Posts: 1304
_
« Reply #6 on: August 19, 2003, 02:12:30 PM »
Post removed
« Last Edit: July 25, 2010, 10:11:37 PM by IronFist »