Author Topic: Fun with -clipdist  (Read 2082 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
If you want to reduce shimmering at a distance (ie make ships further away look better) set it to something like 3...most of the time, ships won't get close enough for it to be a problem. Ship lightning also looks very, very nice.

If you want techroom weapons to work better - at the cost of ships looking good - set it to something lower than 1.0 (My next build will do this automatically, this may fix the problem of disappearing weapons with -ship_choice_3d.)
-C

 

Offline Grug

  • 211
  • From the ashes...
Mmk.

This reminds me though, what exactly does the -rlm lighting flag do?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
IIRC it stands for Realistic Lighting Model (Mode?). I've got no idea beyond that though.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Grug

  • 211
  • From the ashes...
Aye that's what it says in the launcher, but I still have no clue what it does... :blah:

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Quote
Originally posted by Grug
Aye that's what it says in the launcher, but I still have no clue what it does... :blah:

It's for OpenGL only.  It switches from an infinite viewpoint (the default) to a local viewpoint for lighting calculations.  A local viewpoint requires lighting calculations to be done per vertex and so takes a performance hit but it gives much more realisitic lighting.  With the current hardware needed to play the game that performance hit is barely noticeable.  The -rlm option is going to eventually (pretty soon since no problems have been reported) be made default with a -norlm option available for those people needing/wanting to squeeze a bit more speed out of the game at the cost of visual quality.

 

Offline aldo_14

  • Gunnery Control
  • 213
Quote
Originally posted by WMCoolmon
If you want to reduce shimmering at a distance (ie make ships further away look better) set it to something like 3...most of the time, ships won't get close enough for it to be a problem. Ship lightning also looks very, very nice.

If you want techroom weapons to work better - at the cost of ships looking good - set it to something lower than 1.0 (My next build will do this automatically, this may fix the problem of disappearing weapons with -ship_choice_3d.)


Will this help with the cockpit problem (in the support) atall?

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
And will it also help against the flickering glow-maps ?
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
aldo: http://www.hard-light.net/forums/index.php/topic,31298.0.html

If you use clipdist with a value of 0.05 (the value used for ship cockpits) it should fix all cockpit clipping errors. But due to the nature of the zbuffer, ships any distance away will probably look crappy. The above build should fix that problem by clearing the zbuffer and rendering the cockpit last.

Starman01: Possibly, try it and find out. ;)
-C