View previous topic :: View next topic |
Author |
Message |
oesponda
Posts: 52
Joined: 24 Mar 2011
|
Posted: Wed Jun 12, 2013 4:13 pm Post subject: Delete Box causes UV Lyout to crash |
|
|
Hello Phil,
I think I found a bug when trying to delete a box. Boxes work fine and you can do all the usual things (move, rezise, rotate, etc) but as soon as you try to delete one of them, UV Layout crashes.
Little video with a very simple geo just to show you the problem:
http://www.screencast.com/t/sAxut4Yb
A workaround (sometimes works, sometimes doesn't) is to take out all (but one) of the shells contained in the box, then take out the last shell and the box dissapears... well, most of the time, but sometimes the box gets dragged with this shell and it's impossible to get rid of the box ha.
This was tested using the pro version 2.08.01i (2013/06/10)
Orlando.[/url] |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Jun 12, 2013 6:49 pm Post subject: |
|
|
OK, thanks, it possible this is an unwanted side-effect of those "fit to sqr" fixes I made. I'll have a closer look later today.
Phil |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Wed Jun 12, 2013 10:51 pm Post subject: |
|
|
I was right ... the "fit to sqr" changes for boxes did break the box delete. If you go back to the uvlayout.com Support Extras page you'll a new installer with that fixed.
This new one also includes support for EXR images. So far I've only tested it with the Display Trace button (quickest way to see that the EXRs are being read OK), but the next step is to finish off the multi-tile to multi-tile repainting, and I'll be checking the EXR input/output fully when I'm doing that.
Phil |
|
Back to top |
|
 |
oesponda
Posts: 52
Joined: 24 Mar 2011
|
Posted: Thu Jun 27, 2013 3:49 am Post subject: |
|
|
Wow! sorry for the delay but I didn't get any notification about your reply. Will install it right away, thanks a lot.
And about exr support and the multi-tile stuff, I have no words to express my feelings hehehe that's awesome news. Will really help a lot on this side.
Both, you and UV Layout really rock Phil! |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
|
Back to top |
|
 |
oesponda
Posts: 52
Joined: 24 Mar 2011
|
Posted: Thu Jun 27, 2013 9:03 pm Post subject: |
|
|
Awesome news Phil,
But I'n not sure I completely understand how it works. For instance, two of the most widely used formats for multi tiles are mari's and mudbox's.
Mudbox's naming convention includes u and v letters, for instance 'fish-color_u1_v1.exr' Mari's on the other hand use a weird numbering starting at 1001, for instance 'fish-color-1001.exr' where U is the last digit (starting at 1) and V is the two digits in the middle (starting at 0). The first digit (always 1) means nothing.
Thus:
Code: | fish-color_u1_v1.exr = fish-color-1001.exr
fish-color_u2_v1.exr = fish-color-1002.exr
fish-color_u3_v3.exr = fish-color-1023.exr |
See this chart for a better reference http://1.bp.blogspot.com/-1z2yy-Q6G88/T5UPNsXjVuI/AAAAAAAAAUM/cVKAJ4gACEE/s1600/UDIM_chart.jpg
So, if I got it right, something like this would do the trick?
Code: |
Mudbox:
fish-color_u1_v1.exr --> fish-color_uU_vV.exr |
Now, for Mari is not that easy as V index starts at 0:
Code: | Mari:
fish-color-1001.exr = fish-color-1VVU.exr |
but this would return U index 1 V index 0, instead of U index 1 and V index 1.
Perhaps I'm asking too much, but two offset values might fix this (see attached image) or did I totally missunderstood how it works?
Sorry for asking too much but I'm very excited about this hehe,
Orlando |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Thu Jun 27, 2013 9:17 pm Post subject: |
|
|
Code: | Mudbox:
fish-color_u1_v1.exr --> fish-color_uU_vV.exr
|
Correct! Well, UVLayout numbering is from 0, so the first tile would be fish-color_u0_v0.exr. Is that a problem?
Code: | Mari:
fish-color-1001.exr = fish-color-1VVU.exr
|
That's where the "####" code comes in, so like this ...
Code: | Mari:
fish-color-1001.exr = fish-color-####.exr
|
I agree, it is a slightly illogical method (why not start at 0000 for example?) but I guess someone somewhere started using it and it got established and then lots of other people followed it. Mari was originally developed by Weta, and that's where I first saw the "1001" thing being used way back in 2004.
Phil |
|
Back to top |
|
 |
oesponda
Posts: 52
Joined: 24 Mar 2011
|
Posted: Thu Jun 27, 2013 9:47 pm Post subject: |
|
|
Quote: | UVLayout numbering is from 0, so the first tile would be fish-color_u0_v0.exr. Is that a problem? |
I guess so, because the maps would need to be renamed before using repaint. In Mudbox the first tile is always u1_v1. That's where I think it would be very useful to have the option to offset those values
Very cool Phil, will give it a go as soon as you release this version.
Orlando. |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Thu Jun 27, 2013 10:11 pm Post subject: |
|
|
"In Mudbox the first tile is always u1_v1."
Ahhh, OK, it looks like I do need to do an offset then! Also I hard-coded the "####" naming with 1001 as the first tile, but its conceivable that someone might want to start at 0000 someday. I'll make both changeable in the GUI somewhere. I also wanted to add some sort of visual check, where you could load the mesh and view the UVs and the tile numbers/names are drawn in based on the current map file codes.
Phil |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Fri Jun 28, 2013 1:32 am Post subject: |
|
|
So here's a preview of the adjustable offsets, plus the feedback now shown in the UV view so you can double-check the values before repainting.
Phil |
|
Back to top |
|
 |
oesponda
Posts: 52
Joined: 24 Mar 2011
|
Posted: Fri Jun 28, 2013 2:34 am Post subject: |
|
|
Wow, that was fast... much faster than I would imagine ha This feature alone makes UV Layout an invaluable tool. This release will have lots of very important improvements: boxes + fit to sqr, multi tile repaint, exr support... and who knows what else you have in mind hahaha
Simply great. Thanks a lot for the efforts. |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Fri Jun 28, 2013 2:40 am Post subject: |
|
|
"Wow, that was fast"
It was a good afternoon ... no phone calls!
"This release will have lots of very important improvements: boxes + fit to sqr, multi tile repaint, exr support"
It should really be called the "v2.08.oesponda" release ;)
Phil |
|
Back to top |
|
 |
oesponda
Posts: 52
Joined: 24 Mar 2011
|
Posted: Fri Jun 28, 2013 3:05 am Post subject: |
|
|
ROLF! |
|
Back to top |
|
 |
headus Site Admin

Posts: 2902
Joined: 24 Mar 2005
Location: Perth, Australia
|
Posted: Fri Jun 28, 2013 3:10 am Post subject: |
|
|
If you want to try the multi-tile repaint out over the weekend, go to your uvlayout.com Support Extras page for a new beta installer. I haven't done a lot of testing myself of this afternoon's changes, so it could be broken, but you might get lucky!
Phil |
|
Back to top |
|
 |
oesponda
Posts: 52
Joined: 24 Mar 2011
|
Posted: Fri Jun 28, 2013 3:22 am Post subject: |
|
|
Cool. I will and let you know how it goes |
|
Back to top |
|
 |
|