[sldev] Sim Size Limits?

Argent Stonecutter secret.argent at gmail.com
Thu Oct 30 05:29:40 PDT 2008


On 2008-10-29, at 18:01, SignpostMarv Martin wrote:
> The current system relies on integers for grid co-ordinates and though
> the function llGetRegionCorner() returns a vector, the values are
> practically integers also.

I'm not sure I understand this. Region coordinates are floating point  
numbers, and whether they are or not... 512 and 1024 are perfectly  
good integer and floating point values. What does the fact that  
they're integer or floating point have to do with anything? Grid  
coordinates can be multiples of 256, 512, 1024, etcetera.

> As for object movement code that relies on a 256x256 dimension, I'm  
> not
> sure how many there are (with the exception of inter-sim warpPos
> teleporters) that make such calculations, since CHANGED_REGION would
> still fire correctly.

There's teleporters that check to make sure you're specifying a  
region in sim, scanners that check for impossible coordinates  
sometimes returned by sensors, physical and non-physical objects that  
need to check to see if they're likely to go off-world, etcetera,  
etcetera, etcetera.

We need to add a region size call NOW, if this is ever going to be  
changed.


More information about the SLDev mailing list