Xavier VonLenard
Registered User
Join date: 21 Nov 2002
Posts: 273
|
03-14-2003 12:59
This is just an idea, but how about scripting each building to change textures to invisible when it doesn't detect anyone within 100 meters. The scripts could be set to check every minute so the server lag would be low. The server wouldn't have to render the buildings that anyone was near. If the view on the land was set to 64 meters I don't think anyone would ever notice.
I have gone into Lindenburg with only a few people in zone and the Lag was still pretty bad - so I'm guessing the object density has a major effect on the server.
Lindens would this work ?
Xavier
_____________________
llSqrt(69) = Eight Something
|
Ysg Leviathan
Registered User
Join date: 11 Dec 2002
Posts: 9
|
03-16-2003 09:16
You're in luck! The game engine already does this, if you go into your preferences before logging in and go to the display tab there's draw distance. The number in there represents how far away (in second life meters) the client will begin to render things, turning it down will lessen that distance.
|
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
|
03-16-2003 09:31
Unfortunately, I don't think that would make any difference. You have to remember that a texture set to full alpha is still a texture -- it's still being run through the renderer, it's just that we can't see it. Turn on Alpha Highlighting and you can see that it's still there.
Ironically, running the script on all those objects would probably slow performance down even more, though it probably wouldn't affect the client too much beyond having to send notice that the world had changed. The server, on the other hand, would still have to run all those scripts, and as speedy as LSL2 is these days, you'd still be taking a pretty big performance hit as they added up.
Catherine Omega
|
Nexus Nash
Undercover Linden
Join date: 18 Dec 2002
Posts: 1,084
|
03-16-2003 10:26
Xav, I don't think this would do anything. The builds still need to load, and it's only invisible to the eye of the user. Plus all the extra listens and timers would simply clog the server.
|
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
|
03-16-2003 10:37
The server only sends info to computers that are within range to see the building. Even if the object is invisible the data must be sent.
All rendering is actually done on your computer, not the servers. So setting your view distance to 64 or something will not render anything beyond those 64 meters. And it also won't get data from the server for objects beyone that.
Objects beyond anyones view distance are not rendered or sent over the network. The exception I would assume would be scripts that will still run when no one is around. Otherwise all data is just sitting on the hard drive or in ram or whatever, but not actually taking cpu cycles or bandwith if no one is around. If that is not the way it works, something weird is going on.
|
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
|
03-16-2003 11:09
this begs the question:
if an elevator is oscillating on a sim , and no one is around, does it make a sound?
_____________________
i've got nothing. 
|
bUTTONpUSHER Jones
professional puddlejumper
Join date: 10 Oct 2002
Posts: 172
|
03-16-2003 11:51
arg! you beat me to it Nada! good thing i reloaded before posting.
|
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
|
WooHooo!
03-16-2003 12:00
great minds think alike, at least that is what i am gonna tell myself. hehe
_____________________
i've got nothing. 
|