Szabolcs, you just made my day! I keep having to do this manually and it
should(!) just be a push on a button. Thanks!!

Morten



Den 4. september 2013 kl. 09:15 skrev Szabolcs Matefy
<[email protected]>:

> 
> I made long time ago few tools to help this. I have a collection of script
> I made or I implemented made by others (sorry for not mentioning them, I
> left the original authors name in the scripts header aprt).
> 
> 
> 
> So if you install this addon, your texture editor’s Tools menu will have
> few addiotion, like Fit UV, and Fill UV. Fit UV will fit the selected
> polygons UV into the normalized (i.e. 0-1) UV space maintaining the aspect
> ratio. The Fill UV will do the same, but NOT maintaining the ratio (so the
> selected polygon will touch the UV borders). Due to the inability to
> connect UV samples to polygons efficiently and my incompetence, most
> operation will work only if you are in subcomponent selection mode. This
> way your selection in the UV editor will be reflected in the viewport, and
> the script will work like charm. I’ll update these tools sooner or
> later…meanwhile it can help I hope
> 
> 
> 
> 
> 
> The link is:
> 
> 
> 
> https://docs.google.com/file/d/0B7OTY9PC-qtBSnpqNnFoNFVPczg/edit?usp=sharing
> <https://docs.google.com/file/d/0B7OTY9PC-qtBSnpqNnFoNFVPczg/edit?usp=sharing>
> 
> 
> 
> cheers
> 
> 
> 
> 
> 
> Szabolcs
> 
> 
> 
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Manuel
> Huertas Marchena
> Sent: Tuesday, September 03, 2013 11:07 PM
> To: softimage list
> Subject: RE: scale UVs to fit image
> 
> 
> 
> I recently had to deal with LOTS! of speed tree assets... and had the same
> issue,  I had to scale every uv island to fit the uv square because I was
> getting
> random black spots when using the standin version...
> 
> I've been using the "transform uvs" in the tools section of the texture
> editor... not sure if this is what you look for...  I was then assigning
> scale values to fit the 0,1 square
> and repeating in the clip... I also used the translate options in the the
> transform uvs menu...   its really time consuming I agree...   not sure if
> there's a better way through a script though...
> 
> 
> 
> 
> IMDB <http://www.imdb.com/name/nm4755969/> | Portfolio <http://envmanu.com>
> | Vimeo <http://vimeo.com/manuelhuertasmarchena> | Linkedin
> <http://www.linkedin.com/in/manuelhuertas>
> 
> 
> ------------------------------------------------------------------------
> 
> From: [email protected]
> <mailto:[email protected]>
> To: [email protected]
> <mailto:[email protected]>
> Subject: scale UVs to fit image
> Date: Tue, 3 Sep 2013 17:17:27 +0100
> 
> trying to fix some non-tiling UV nonsense from speedtree....
> 
> 
> 
> i have several square polygon islands in the texture editor and basically
> want to scale them to fit the image..... so i can handle repeats in the
> texture nodes, not the UV set....
> 
> 
> 
> there's a script on  rray, but doesn't seem to work... and the instructions
> page is long gone....
> 
> 
> 
> any tips?
> 
> 
> 
> Adrian Wyer
> Fluid Pictures
> 75-77 Margaret St.
> London
> W1W 8SY
> ++44(0) 207 580 0829
> 
> 
> [email protected] <mailto:[email protected]>
> 
> www.fluid-pictures.com <http://www.fluid-pictures.com>
> 
> 
> 
> Fluid Pictures Limited is registered in England and Wales.
> Company number:5657815
> VAT number: 872 6893 71
> 
> 
> 

Reply via email to