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

resolution effects difference in time to pack shells

 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mokosan



Posts: 150
Joined: 03 Apr 2006
Location: NZ

PostPosted: Wed Nov 12, 2014 5:55 am    Post subject: resolution effects difference in time to pack shells Reply with quote

I have noticed that packing some basic shells dramtically increases when I changed the Pack / Map Rez from 1k, to 4k.

I had 1 bleed, I cant imagine why it would take that much longer.

Any ideas?

Cheers,
Michael
Back to top
View user's profile Send private message Send e-mail MSN Messenger
headus
Site Admin


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

PostPosted: Sun Nov 16, 2014 5:43 pm    Post subject: Reply with quote

Basically what the packing is doing is placing the first shell in one corner, then searches for a empty spot to drop the next shell into and so on. Changing the rez from 1k to 4k is a 16times increase in pixel area, so when searching for the empty spots, its testing for overlaps 16 times more often before finding the empty locations. That's why its taking longer.

So that's the bad news, but the better news is that if you're testing for rotations as well, then the next release will speed this stage up if you have multiple CPU cores. I've "threaded" that part of the code, so all your CPU cores can be used to search for the best packing. It also supports finer rotations (not just 90 degrees) and the option for UV wrapping. There's an example of that wrapping feature here ...

http://www.uvlayout.com/doc/Example:_Pack_Wrap

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 8 Hours
Page 1 of 1

 
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