[help] PLSM2 performance under windows

jguerra

04-06-2008 02:06:13

Hi.

Does anyone know about any performance issues of PLSM2 running under Windows XP?

I've been developing an application in Gentoo and the frame rate is acceptable, but when i ran it in Windows i got a bluescreen using OpenGL.:S Using DirectX, it worked, but the frame rate went to about 1/5 (or lower) than what i got in Gentoo.

The PC running Windows has a "maybe not so reliable" Intel graphics card, but i already ran my application on another Windows machine and the problem was still there....

So, my next step was to run the PagingLandScape2 Demo on both Gentoo and Window. I didn't get the blue screen in OpenGL, but the performance issues where still there... :shock:

In Gentoo:
~600 fps. Seeing the whole terrain from far.
~380 fps. Sitting on the surface, looking around.

In Windows:
~120 fps. Seeing the whole terrain from far.
~50 fps. Sitting on terrain surface, looking down.

I'm using the same configuration on both cases.

cfg:

GroupName=PLSM2

Width=1
Height=1
TextureStretchFactor=4

LandScapeFileName=hf129_3
FileSystem=LandScapeFileName

NumTextureFormatSupported=1
TextureFormatSupported0=Base
TextureFormat=Base

PageSize=129
TileSize=65

ScaleX=15000
ScaleY=2000
ScaleZ=15000

LodMorphStart=0.2
MaxRenderLevel=7
MaxPixelError=6
Data2DFormat=HeightField

NumMatHeightSplat=4
SplatFilename0=splatting_sand.png
SplatFilename1=splatting_grass.png
SplatFilename2=splatting_rock.png
SplatFilename3=splatting_snow.png

# where to put camera on load.
BaseCameraViewpoint.x=0.0f
BaseCameraViewpoint.y=10000.0f
BaseCameraViewpoint.z=0.0f

Baselookat.x=0.0f
Baselookat.y=0.0f
Baselookat.z=0.0f


I've tried with other TextureFormats and the result is basically the same...

Any help is welcome,
jguerra

Wogz

04-06-2008 04:34:37

It runs fine for me using Windows XP with Geforce8 GTS, except about the bugs I have described here:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=7228 do you have any similar issues?

Which PLSM/Ogre version are you using?

jguerra

04-06-2008 19:51:18

Thanks for the reply. I'm running PLSM from CVS and Ogre 1.4.7.
I've downloaded the prebuilt windows demo (i know that it is probably outdated) from tuan kuranes site and i got a small improvement.

Using the same .cfg, i now have twice as many fps. It goes around these values:
~200 fps. Seeing the whole terrain from far.
~110 fps. Sitting on the surface, looking around.

So, I'm guessing it's probably some compile option, or something similar.


Sorry, but i don't have any clue about you're issue.... :S

Wogz

04-06-2008 21:39:32

Does ogre CVS still exist? I download my version from Subversion, don't know if it's most recent one or not.
That version from tuan's site seems pretty outdated.

jguerra

05-06-2008 00:59:30

I guess it doesn't exist anymore, but i downloaded the PLSM again recently from the 'new' SVN.
As for Ogre, I'm still using 1.4.7. But i don't think the problem is related to it.

That version from tuan's site seems pretty outdated.
Yes it does. But I decided to give it a shot, just to see if there where any frame rate changes. 8)