[sldev] Re: Why does the simulator do object culling for clients?

Argent Stonecutter secret.argent at gmail.com
Wed Jul 18 10:37:20 PDT 2007


On 18-Jul-2007, at 12:10, Douglas Soo wrote:
> The ObjectKill message is a message that is sent when your agent on  
> the simulator has decided to unsubscribe to an object on the  
> simulator.  The primary reason why it needs to be send is that once  
> your agent on the simulator isn't paying attention to objects, it  
> won't send further updates to the viewer, which will cause lots of  
> interesting artifacts in the case of objects that change when you  
> aren't subscribed.  In particular, moving objects can cause quite a  
> headache (ghosting, etc.) - so the correct behavior is to cull the  
> object from the viewer completely.

Interesting. This explains the problem where objects vanish while  
you're cammed in near them, because the subscription list is based on  
your physical position rather than your camera position. I was  
thinking that letting the client handle the *un*subscription would  
alleviate this problem, but obviously it's more complex than that.



More information about the SLDev mailing list