My limited knowledge is preventing me from understanding 'SplitTPA'. Even though I have done some reading, I still cannot wrap my mind around the description of the function.
Would someone please explain to me what it does and why ?
Thanks!
My limited knowledge is preventing me from understanding 'SplitTPA'. Even though I have done some reading, I still cannot wrap my mind around the description of the function.
Would someone please explain to me what it does and why ?
Thanks!
Ciao
NM
SplitTPA will grab the found points within the W and H parameters of each point and merge them together to form a 'Box'.

That would be TPAtoATPA(Ex), no? SplitTPA however will make ATPA based on the colors distance from each other. So as long as a color is near another color(given by the parameter) they will be in the same TPA in the ATPA.
EDIT: I'm kinda suffering explaining this as using/understanding this is much simpler because you don't have to translate from your language.
This: http://villavu.com/forum/showthread.php?t=49067
Last edited by Sabzi; 01-13-2012 at 03:24 PM.
Current projects:
[ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]
"I won't fall in your gravity. Open your eyes,
you're the Earth and I'm the sky..."
It's huge - by any comparison. Should keep me off the streets for a bit. :-)
@Naum: Thank you for your tut - A Low-Down on Wizzy Plugin and TPA's. It's going to keep me busy for some time to come.
EDIT: OK, let me see if I have it right!
TPAToATPAEx / TPAToATPA are functions that will group TPA's (these are just groups of points) by placing a box (as defined by the Width x Height parameters of the TPAToATPAEx function) or circle (as defined by the Distance / Radius parameter of the TPAToATPA function) that must include the first point and then trying to fit as many other points in as possible. The first point of the next grouping is the one that falls outside the box or circle. This continues until all points have been grouped (even if by themselves)
SplitTPAEx / SplitTPA are functions that will group TPA's (these are just points) by placing a box (as defined by the Width x Height parameters of the SplitTPAEx function) or circle (as defined by the Distance / Radius parameter of the SplitTPA function) around each and every point. Overlapping boxes or circles then define a new zone or area.
Please tell me if this makes sense when you read it. Thanks!
Last edited by NickMystre; 01-14-2012 at 07:13 AM.
Ciao
NM
I have done some homework into SplitTPA and TPAToATPA (Ex and normal function versions) and I feel that I have got the hang of it now (at least from an academic point of view)
Your description of SplitTPA is correct in that all the points are involved. I do like to think that because SplitTPA has a radius parameter, that the resulting merged points will be a circle, and that for SplitTPAEx it will be a box - as it's parameters are a Width x Height. But this is purely personal. I hope that you do not feel offended. I know that I can be a real pain in the a$$ sometimes. Thanks again for helping.![]()
Ciao
NM
There are currently 1 users browsing this thread. (0 members and 1 guests)