Page 1 of 3 123 LastLast
Results 1 to 15 of 45

Thread: Urgent request for simple modeler tool

  1. #1
    Nothing ado about much Exception's Avatar
    Join Date
    Mar 2003
    Location
    Netherlands
    Posts
    5,560

    Urgent request for simple modeler tool

    Hi all,

    There's a very common modeler operation that doesn't exist natively in Modeler. there is an LScript MentalFish wrote some time ago that fills this gap, but it's so slow it's unusable for the complex issues I'm faced with.

    The simple task is this:
    Scale groups of connected polygons from their respective centers.

    Typical usage examples:
    - Scaling all the leaves of a tree, making them 10% bigger.
    - Rotating all bolts on a wheel at once.

    Similar to:
    - 'Transform each' function in Adobe Illustrator
    - MentalFish LScript

    Just to paint a picture, on a tree with 1000 leaves, using the MF Polygon Islands plugin takes 4 hours. O_o. My trees typically have 25.000 leaves. Impossibru.

    If anyone can help out with making a .plugin that's fast and simple, I think there will be a real need in the community.

  2. #2
    yep, we need more tools like this.

    for leaves though, i'd just take 1 leaf, scale it 10% and clone it onto the same position as before
    (using old leaves as reference position, http://www.youtube.com/watch?v=LYrMRkyIzCs)

    that's said, glad we have Polygon Islands :]
    LW vidz   DPont donate   LightWiki   RHiggit   IKBooster   My vidz

  3. #3
    How about using DP Kit Part move node in layout to scale the leaves (provided each leaf is an individual part that are not connected to each other) and save transformed it back to modeler. I do this all the time.

  4. #4
    an interesting move :]
    LW vidz   DPont donate   LightWiki   RHiggit   IKBooster   My vidz

  5. #5
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    ??? Wouldn't "Polygon Islands" do this?

    Seems to be from Liberty3D.

    EDIT: it took a bit of digging to find it (sheesh!), here's a direct link.

    http://www.liberty3d.com/2010/07/polygon-islands-2-0/
    Last edited by jeric_synergy; 08-01-2012 at 01:25 PM.
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  6. #6
    Another option is to use LWCad Jitter Tool, it works almost instantaneous on 25,000 parts. But too bad it is only able to randomly rotate/scale the parts, if only it has min/max inputs that would have solved the problem.

    I have made the request to Viktor, hopefully he will add that in the next release.

    Update : Turns out that Viktor has already implemented the min/max and a uniform mode in the latest LWCad beta, perfectly suitable for mass scaling of parts.
    Last edited by tajino; 08-01-2012 at 02:12 PM.

  7. #7
    Quote Originally Posted by jeric_synergy View Post
    ??? Wouldn't "Polygon Islands" do this?
    Is that an lscript? It would be dead slow on 25k parts.

  8. #8
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    Quote Originally Posted by tajino View Post
    Is that an lscript? It would be dead slow on 25k parts.
    Don't know: it's been upgraded 2.0, so maybe it made the jump.

    Asking at Liberty3D would be the thing to do.

    EDIT: yeah, seems it is: http://mentalfish.com/2010/07/polygon-islands-2/

    Also, it looks like L3D is some sort of refer-er, so maybe asking there wouldn't work. But that last link would for sure. Last comment was just in April, so still active.
    Last edited by jeric_synergy; 08-01-2012 at 01:39 PM.
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  9. #9
    It is still an LScript, and would die on anything that is heavy. v2.0 was written by Alexandre Labedade, and is an improvement on the way I did it but would still die on massive amounts of polygroups. Time for NewTek to whip out some native tool for this: [email protected]
    Petter Sundnes
    Free LScripts

  10. #10
    Quote Originally Posted by MentalFish View Post
    It is still an LScript, and would die on anything that is heavy. v2.0 was written by Alexandre Labedade, and is an improvement on the way I did it but would still die on massive amounts of polygroups. Time for NewTek to whip out some native tool for this: [email protected]
    Would it be faster if ported to python?

  11. #11
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    My guess is probably not enough to make a substantial difference.

    What really needs to happen to supercharge it is for it to get re-written as a *.p plugin, probably in C++, iirc.

    Exception, you say 25K parts, how many polys?

    And, once again, good place for a Kickstarter campaign, or a "first person to code it gets the cash" auction (what's the name for those???).
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  12. #12
    Quote Originally Posted by jeric_synergy View Post

    And, once again, good place for a Kickstarter campaign, or a "first person to code it gets the cash" auction (what's the name for those???).
    The latest beta of LWCad Jitter Tool can already do this efficiently, 25k x 6 sided box, takes about 0.5 seconds to complete.

  13. #13
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726

    Question

    Quote Originally Posted by tajino View Post
    The latest beta of LWCad Jitter Tool can already do this efficiently, 25k x 6 sided box, takes about 0.5 seconds to complete.
    ??? A tool named "Jitter" can scale polygon islands???
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  14. #14
    Nothing ado about much Exception's Avatar
    Join Date
    Mar 2003
    Location
    Netherlands
    Posts
    5,560
    Quote Originally Posted by jeric_synergy View Post
    ??? Wouldn't "Polygon Islands" do this?
    Yes, which is why that's the LScript I quoted in the original post (earlier version though, I stand corrected) It's awesome, but last time I checked, it was still churning after 10 hours. It's 25k parts, 100k poly's.

    LWCAD route: interesting. I only own a previous version of LWCAD though

    DP Kit Move: interesting option, should give that a try.

    Third option, there may be a specific LW layout plugin I was told about that does this exclusively.

    Still, going through Layout seems a bit cumbersome. It may help my particular case, though, so I'll look into that.
    Last edited by Exception; 08-01-2012 at 04:58 PM.

  15. #15
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    Yeah, I was lagging there....

    I think an email to LWCad would be the most productive move at this point. How much do you want to spend?

    BTW, just to be clear: these are already distributed, essentially frozen (but not in the LW-sense), mesh pieces?
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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