Author Topic: Performance Tips  (Read 887 times)

jorrit

  • Developers
  • Hydlaa Citizen
  • *
  • Posts: 497
    • View Profile
Performance Tips
« on: June 02, 2005, 10:53:34 am »
I have here two performance tips that may be useful for people who have problems with performance in PlaneShift.

1. Add \'-nolightmapping\' on the commandline. You either have to run PlaneShift from the commandline (cmd.exe) or else add this option to the icon of psclient (properties). The effect of this option is that all lightmapped objects (most geometry) will be fully bright (no shadows). This saves some memory as the lightmaps are no longer loaded on disk and it improves performance a lot (around 50% depending on hardware). Of course you will no longer be able to see day/night cycles and some of the nice parts of PS may no longer look as nice.

2. Edit data/config/r3dopengl.cfg and go to the line that contains \'Video.OpenGL.TextureDownsample\'. That option is by default set to 0. If you set it to 1 or 2 then all textures will be scaled down. i.e. with value 1 the textures will be scaled down to one quarter of the size (from 256x256 to 128x128 for example). With value set to 2 textures will be scaled down again. This setting makes all textures a lot more blurry and less detailed but it does save some memory space and also speeds up rendering a bit.

Greetings,
Project Manager of Crystal Space, CEL, CrystalBlend and Crystal Core. Please support Crystal Space with a donation.

jorrit

  • Developers
  • Hydlaa Citizen
  • *
  • Posts: 497
    • View Profile
(No subject)
« Reply #1 on: November 17, 2005, 01:13:11 pm »
Update: -nolightmapping should now be -fullbright with the latest version of PS.

Greetings,
Project Manager of Crystal Space, CEL, CrystalBlend and Crystal Core. Please support Crystal Space with a donation.