Results 1 to 7 of 7

Thread: SplitTPA function - Explanation please ?

  1. #1
    Join Date
    Nov 2011
    Location
    Jozi, South Africa
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Smile SplitTPA function - Explanation please ?

    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

  2. #2
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    SplitTPA will grab the found points within the W and H parameters of each point and merge them together to form a 'Box'.

  3. #3
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by RISK View Post
    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.

  4. #4
    Join Date
    Nov 2011
    Location
    Jozi, South Africa
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Thumbs up [Resolved - for now]: SplitTPA function - Explanation please ?

    Quote Originally Posted by Sabzi View Post
    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
    Thank you everyone, particularly Sabzi. (I also appreciate you battle a second language)

    Your reference to Naums tutorial I think will be the key to unlock my confusion. Time to hit the tut ...
    Ciao
    NM

  5. #5
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by NickMystre View Post
    Thank you everyone, particularly Sabzi. (I also appreciate you battle a second language)

    Your reference to Naums tutorial I think will be the key to unlock my confusion. Time to hit the tut ...
    It's a wonderful tutorial, isn't it? I've learned quite a bit from it and still learning as much as possible.

    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..."


  6. #6
    Join Date
    Nov 2011
    Location
    Jozi, South Africa
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Talking [Resolved - for now]: SplitTPA function - Explanation please ?

    Quote Originally Posted by Flight View Post
    It's a wonderful tutorial, isn't it? I've learned quite a bit from it and still learning as much as possible.
    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

  7. #7
    Join Date
    Nov 2011
    Location
    Jozi, South Africa
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Thumbs up Apologies & Thank you!!!

    Quote Originally Posted by RISK View Post
    SplitTPA will grab the found points within the W and H parameters of each point and merge them together to form a 'Box'.
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •