Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Slow Performance

Author
Message
Neil Young
21
Years of Service
User Offline
Joined: 6th Jan 2004
Location:
Posted: 25th Jan 2004 11:27
I have a planet (sphere radius 1500) and I have another sphere which is 1550 in radius. The larger one has a cloud map on it which is ghosted to provide a cool looking atmosphere. The only problem is that when i get real close to the planet, its slow as feck, but when i remove the cloud sphere, its not as laggy. Are there any steps or methods I could use to improve some peformance?
ReD_eYe
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 25th Jan 2004 11:50
use "set object" to turn culling on, although db might put it on automatically... if possible a smaller texture might help. Also check your other code, if you have things like for next loops that don't need to be run every loop, using an if function so they only run every few loops:
if count=5
for x=1 to blah
stuff()
next x
count=0
endif
inc count


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!

Login to post a reply

Server time is: 2025-05-22 11:32:46
Your offset time is: 2025-05-22 11:32:46