Game Development Community

Precipitation performance problem

by abc · in Torque Game Engine · 02/13/2005 (2:34 am) · 6 replies

Hi there,

I was looking through Tim Aste's great content pack(s) and was thinking about trying the environment stuff.
So I created a mission for my game and added the precipitation blocks from the example mission files, just to see how it worked.
I got it to work, but it really killed the frame rate on my Power Mac G5 2x2GHz with 1,5GB ram and a ATI Radeon 9600XT card.
According to OpenGL profiler the FPS is at 0-2 with the precipitation active.

I ran Shark and the OpenGL profiler but I really couldn't see anything there so I'm not sure what to do, is this a known issue?

EDIT:
Forgot to mention that I'm on Mac OS 10.3.8 and using TGE 1.3 with synapse's lighting pack

Thanks for any help
// Alexander Bussman

#1
02/13/2005 (10:46 am)
How many particles, what resolution?
#2
02/13/2005 (12:36 pm)
Oh, now I feel kind of stupid... I looked through the mission file again and I saw that the variable numDrops was at 3000.
I changed that to a much lower number (300) and the frame rate is up again.
#3
02/13/2005 (5:55 pm)
Yeah... lots of particles are costly to render. Glad you got it resolved! :)
#4
02/13/2005 (8:41 pm)
Dont feel stupid , i use 3000 to 5000 raindrops all the time.
And i only have a 1g with gforce 5200 without any huge fps drops.
I dont have Astes enviroment pack so i cant give you any clues.
But i think sonething else must be wrong.
But this is on a PC :)
#5
02/13/2005 (8:44 pm)
Odd. I recently ported over the same precip data blocks from the enviro pack into our machine and framerate died down to 1-2 fps.

running it in the defualt mission is fine though.

might have to lower the particles and see what happens :)

this was on a p4 2.8 pc .
#6
02/13/2005 (8:50 pm)
Check it out because i have really heavy rain sometimes.
But check the splash this lower the fps more then the rain .