headus 3D tools headus 3D tools / 3D scans
Support Forums
 
 FAQFAQ   SearchSearch    UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
headus 3D scans

Delete Box causes UV Lyout to crash
Goto page 1, 2  Next
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
oesponda



Posts: 52
Joined: 24 Mar 2011

PostPosted: Wed Jun 12, 2013 4:13 pm    Post subject: Delete Box causes UV Lyout to crash Reply with quote

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
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Jun 12, 2013 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Jun 12, 2013 10:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
oesponda



Posts: 52
Joined: 24 Mar 2011

PostPosted: Thu Jun 27, 2013 3:49 am    Post subject: Reply with quote

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
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Thu Jun 27, 2013 5:31 pm    Post subject: Reply with quote

Thanks :) Actually, the multi-tile thing is working now here, and I'm just finishing off all the documentation before releasing v2.08.01 "officially".

http://www.uvlayout.com/doc/User_Guide:_Render#Repainting_Multiple_Tiles

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
oesponda



Posts: 52
Joined: 24 Mar 2011

PostPosted: Thu Jun 27, 2013 9:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Thu Jun 27, 2013 9:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
oesponda



Posts: 52
Joined: 24 Mar 2011

PostPosted: Thu Jun 27, 2013 9:47 pm    Post subject: Reply with quote

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 Wink


Very cool Phil, will give it a go as soon as you release this version.


Orlando.
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Thu Jun 27, 2013 10:11 pm    Post subject: Reply with quote

"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
View user's profile Send private message Send e-mail Visit poster's website
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Fri Jun 28, 2013 1:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
oesponda



Posts: 52
Joined: 24 Mar 2011

PostPosted: Fri Jun 28, 2013 2:34 am    Post subject: Reply with quote

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
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Fri Jun 28, 2013 2:40 am    Post subject: Reply with quote

"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
View user's profile Send private message Send e-mail Visit poster's website
oesponda



Posts: 52
Joined: 24 Mar 2011

PostPosted: Fri Jun 28, 2013 3:05 am    Post subject: Reply with quote

ROLF!
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2894
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Fri Jun 28, 2013 3:10 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
oesponda



Posts: 52
Joined: 24 Mar 2011

PostPosted: Fri Jun 28, 2013 3:22 am    Post subject: Reply with quote

Cool. I will and let you know how it goes
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group