Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: New free 64bit plugin: Straighten UV's (gridding, tiling, etc.)

  1. #1
    Registered User
    Join Date
    Aug 2015
    Location
    New Brunswick, Canada
    Posts
    15

    New free 64bit plugin: Straighten UV's (gridding, tiling, etc.)

    I wrote a Lightwave plugin (9.6 minimum) that let's you grid a rectangular UV selection of quads (only works on quads). Works on points, edges and polygons (even though you can't select edges in the UV pane). The polygon one is likely the best one to use since it avoid ambiguity in your selection (ie. one polygon uv strips that are separated via discontinuous UV's). Oh, did I mention it works with discontinuous UV's? Even if the UV's wrap around onto itself.

    This plugin basically takes the four corners of your selection and grids the points inside to be either A) evenly distributed or B) use the average distance between rows/columns.

    There are 4 options:
    1. Rectangular (makes the selection rectangular)
    2. Axis aligned (aligns selection to X or Y axis)
    3. Evenly distribute long axis.
    4. Evenly distribute short axis.

    Long and short axis go by the number of quads in the selection, not the actual length.

    This plugin can really clean up your UV's rather quickly. One trick is to move the corners where you want, select #3 and #4 and click Ok. You'll get evenly gridded UV's inside those corner points.

    Note that it tries to check for a uniform rectangular selection, but it isn't 100% robust. If you have discontinuous UV's inside your selection and the UV's aren't EXACTLY at the same position, some UV's won't be moved correctly. This is the first version, so save your work before using it. Let me know if you encounter any issues and if you're using this. I'd like to get some feedback if this is a useful plugin.
    Attached Files Attached Files
    Last edited by Vorlath; 12-28-2016 at 06:55 AM.

  2. #2
    Member adhesiveX's Avatar
    Join Date
    Jul 2003
    Location
    Tennessee
    Posts
    182
    Thank you.

  3. #3
    skeptic lertola2's Avatar
    Join Date
    Dec 2008
    Location
    New York City
    Posts
    1,114
    Hi Vorlath,

    Is this a PC only plugin? I just tried to load it into modeler but it won't load.

  4. #4
    Registered User
    Join Date
    Aug 2015
    Location
    New Brunswick, Canada
    Posts
    15
    It's win64 only, yeah.

  5. #5
    Super Member omichon's Avatar
    Join Date
    Jul 2003
    Location
    Bordeaux, FR
    Posts
    720
    Thank you very much. Very straightforward and a real time saver

    Edit : I must be missing something though, since it seems to work with polygons selection only.
    In Point/Edge modes I get a "No Polygons" Error message.
    Last edited by omichon; 12-29-2016 at 01:57 AM.
    www.oliviermichon.fr | 3D Animation, Motion Graphics and Broadcast Design.

  6. #6
    Registered User
    Join Date
    Aug 2015
    Location
    New Brunswick, Canada
    Posts
    15
    The algorithm builds up a list of points, edges and polygons regardless of the selection mode. The only way to get "No polygons" that I can see is if your point selection isn't made up of quads. Then again, it's possible my edge and polygon detection algorithm is faulty.

  7. #7
    Super Member omichon's Avatar
    Join Date
    Jul 2003
    Location
    Bordeaux, FR
    Posts
    720
    That was it, selection wasn't made up of quads. Works like a charm
    Thanks again !
    www.oliviermichon.fr | 3D Animation, Motion Graphics and Broadcast Design.

  8. #8
    Registered User
    Join Date
    Aug 2015
    Location
    New Brunswick, Canada
    Posts
    15
    Glad it works!

    However, I encountered a situation where my selection caused the plugin to go into an infinite loop and eat up RAM. I think my selection was not rectangular. If I can reproduce this, I'll fix it and post an update. So again, save your work before using this. Having said that, I haven't encountered any issues on proper selections that are rectangular and has correct UV's.

  9. #9
    Registered User
    Join Date
    Aug 2015
    Location
    New Brunswick, Canada
    Posts
    15
    This is the fixed version (v1.1). If a mod sees this, could you delete the attachment in the initial post? Thanks!
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    Mar 2016
    Location
    Canada
    Posts
    23
    is the plugin still available?

  11. #11
    Super Member omichon's Avatar
    Join Date
    Jul 2003
    Location
    Bordeaux, FR
    Posts
    720
    Quote Originally Posted by britepencil View Post
    is the plugin still available?
    Yep, just click the attached file from post #9
    www.oliviermichon.fr | 3D Animation, Motion Graphics and Broadcast Design.

  12. #12
    Registered User
    Join Date
    Mar 2016
    Location
    Canada
    Posts
    23
    question, does the process take alot of time I've created a quad sphere added UV (spherical) and applied StraightenUV 1.1 (point mode) and nadda seems like LW hangs

    LW2016.3(64)
    Design Starts with a Blank Sheet

  13. #13
    anyone here to compile it for mac os?
    3dworks visual computing
    demo reel on vimeo
    instagram

    OSX 10.12.x, macpro 5.1, nvidia gtx 980 ti, LW2015.x / 2018.x, octane 3.x

  14. #14

    Quote Originally Posted by britepencil View Post
    question, does the process take alot of time I've created a quad sphere added UV (spherical) and applied StraightenUV 1.1 (point mode) and nadda seems like LW hangs

    LW2016.3(64)
    runs fairly fast here, poly mode.
    LW11.6
    LW vidz   DPont donate   LightWiki   RHiggit   IKBooster   My vidz

  15. #15
    Electron wrangler jwiede's Avatar
    Join Date
    Aug 2007
    Location
    San Jose, CA
    Posts
    6,495
    Quote Originally Posted by 3dworks View Post
    anyone here to compile it for mac os?
    If I had access to source code, I'd be able to compile for macOS.
    John W.
    LW2015.3UB/2018.0.7 on MacPro(12C/24T/10.13.6),32GB RAM, NV 980ti

Page 1 of 2 12 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
  •