Quote:
Originally Posted by Hellkong
The latest version?
|
The latest version is attached in the main post.
@Natsheh, I do not have time to check your file, but I find it contradictory that you claim it is optimized and at the same time claim it takes a long time to compute the random origins.
My version of ROG, the one from the main post, doesn't require caching, as the computation is very fast. Disabling the "no hidden zones" check (if you do not need it) will also make it much faster than it already is.
I should prepare an update and add a parameter to enable/disable the hidden zones check. In the meantime, if someone wants to do it quick and dirty, you can replace this code block:
PHP Code:
if(CheckPointsForVisibility(RandomOrigin, ClosestOrigin))
{
IsVisible = true
}
with this:
PHP Code:
IsVisible = true
(basically, remove the call to
CheckPointsForVisibility)
__________________