You can subscribe to this list here.
2005 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}
(3) 
_{Nov}
(50) 
_{Dec}
(118) 

2006 
_{Jan}
(93) 
_{Feb}
(17) 
_{Mar}
(6) 
_{Apr}

_{May}
(4) 
_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}
(45) 
_{Dec}
(17) 
2007 
_{Jan}
(23) 
_{Feb}
(33) 
_{Mar}
(4) 
_{Apr}
(1) 
_{May}

_{Jun}

_{Jul}
(2) 
_{Aug}
(6) 
_{Sep}
(1) 
_{Oct}

_{Nov}
(13) 
_{Dec}
(20) 
2008 
_{Jan}
(26) 
_{Feb}
(69) 
_{Mar}
(72) 
_{Apr}
(32) 
_{May}
(35) 
_{Jun}
(12) 
_{Jul}
(99) 
_{Aug}
(52) 
_{Sep}
(15) 
_{Oct}
(49) 
_{Nov}
(12) 
_{Dec}
(26) 
2009 
_{Jan}
(7) 
_{Feb}

_{Mar}
(5) 
_{Apr}
(24) 
_{May}
(34) 
_{Jun}
(1) 
_{Jul}
(2) 
_{Aug}
(1) 
_{Sep}
(2) 
_{Oct}
(2) 
_{Nov}
(22) 
_{Dec}
(4) 
2010 
_{Jan}
(4) 
_{Feb}
(3) 
_{Mar}
(16) 
_{Apr}

_{May}
(2) 
_{Jun}
(6) 
_{Jul}
(11) 
_{Aug}
(13) 
_{Sep}
(9) 
_{Oct}

_{Nov}

_{Dec}
(2) 
2011 
_{Jan}
(2) 
_{Feb}
(2) 
_{Mar}
(2) 
_{Apr}
(1) 
_{May}

_{Jun}
(3) 
_{Jul}
(1) 
_{Aug}

_{Sep}
(6) 
_{Oct}

_{Nov}
(9) 
_{Dec}

2012 
_{Jan}
(1) 
_{Feb}

_{Mar}
(1) 
_{Apr}

_{May}
(1) 
_{Jun}

_{Jul}
(1) 
_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

2013 
_{Jan}
(1) 
_{Feb}
(1) 
_{Mar}
(2) 
_{Apr}
(1) 
_{May}
(1) 
_{Jun}
(2) 
_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}
(2) 
_{Dec}
(1) 
2014 
_{Jan}
(6) 
_{Feb}

_{Mar}
(1) 
_{Apr}

_{May}

_{Jun}

_{Jul}
(2) 
_{Aug}
(1) 
_{Sep}
(1) 
_{Oct}
(1) 
_{Nov}
(1) 
_{Dec}

2015 
_{Jan}

_{Feb}
(1) 
_{Mar}

_{Apr}
(2) 
_{May}
(2) 
_{Jun}
(2) 
_{Jul}

_{Aug}
(3) 
_{Sep}

_{Oct}
(2) 
_{Nov}

_{Dec}
(2) 
2016 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}
(2) 
_{Jun}

_{Jul}

_{Aug}
(2) 
_{Sep}

_{Oct}

_{Nov}
(1) 
_{Dec}
(1) 
2017 
_{Jan}
(1) 
_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 



1

2
(2) 
3
(1) 
4
(4) 
5

6
(1) 
7
(2) 
8
(1) 
9
(1) 
10
(2) 
11
(1) 
12
(4) 
13
(1) 
14

15
(4) 
16
(10) 
17
(10) 
18

19

20
(4) 
21
(4) 
22
(13) 
23
(7) 
24
(2) 
25
(1) 
26
(1) 
27
(4) 
28
(6) 
29
(6) 
30
(4) 
31
(3) 


From: Paolo Cignoni <paolo.cignoni@is...>  20080723 21:58:06

**** To the students of the FGT course **** There are still some ongoing plugins that should have been more or less recently restarted, but for most of them i have not seen a lot of activity here. Could you give me an update of the current status? (for the ones that have started in these days, this is not necessary) Taking into account the incoming summer, Could you send me a more or less weekly very short report (5 lines is enough) of what are you doing? (this holds for all the students...) The recently started/restarted projects are: Daniele Bonetta  retopology tool Davide Spano  geometric filters (tvertex, non manif etc..) Davide Sechi  customizable export filter Carlo Casta  Render Monkey shader support Edoardo Pocci  Improved slicing tool Michele Vannoni  Interactive Hole Filler Luca Bartoletti  Dirty Maker Cheers P.  Paolo Cignoni  Senior Researcher Visual Computing Laboratory  ISTI  CNR http://vcg.isti.cnr.it/~cignoni ISTI  CNR Via Moruzzi 1, 56124 Pisa ITALY 
From: Paolo Cignoni <paolo.cignoni@is...>  20080723 21:05:46

Perfect, Remember to update the wiki too.. the division by zero occours only when someone try to make a white balance passing as supposed white a color with a zero channel. Such a choice seems me meaningless. silently clamp each channel to the [1..255] range and add a comment. cheers P. PS PLEASE avoid commits without comments. And that holds for everyone here around.... Francesco Tonarelli wrote: > Hi Paolo, > > I'm going to commit the feature that you request me today, about white > balance. Get a look, it seems to work fine. > Doing that work I saw that, in some cases, the code could encounter a > division by zero, for example when the color used to correct the white > has a component to 0... > I try some of this cases and the app does't crashes (strange, it > should...) but I thing the result is anyway incorrect. > How do you want that I fix this bug? replacing zeros with 1? is it > wise? I think so, because a component less then 1 leads to a > correction factor greater then 255, and it will be clamped anyway... > > let me know your strategy and I'll modify soon. > > comments to the code will be provided asap. > > cheers. >  > >  > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblincontest.org/redirect.php?banner_id=100&url=/ > >  > > _______________________________________________ > Meshlabdevel mailing list > Meshlabdevel@... > https://lists.sourceforge.net/lists/listinfo/meshlabdevel >  Paolo Cignoni  Senior Researcher Visual Computing Laboratory  ISTI  CNR http://vcg.isti.cnr.it/~cignoni ISTI  CNR Via Moruzzi 1, 56124 Pisa ITALY 
From: skunkwerk <skunkwerk@gm...>  20080723 17:07:22

fixed the problem with uvs outside the 01 range. paolo, could you confirm that the rect_packer returns the position of the topleft corner of each texture? thanks, imran On Tue, Jul 22, 2008 at 9:06 PM, skunkwerk <skunkwerk@...> wrote: > my test box has negative uv coords, and even though i try to correct for > them i end up with uv coords outside the 01 range. could someone confirm > the following negative to positive u/v coordinate equivalencies? > > thanks > > correcting negative: 1.89619 to > 1.10381 > > correcting negative: 0.211469 to > 0.788531 > > correcting negative: 0.211469 to > 0.788531 > > correcting negative: 0.211469 to > 0.788531 > > correcting negative: 1.89619 to > 1.10381 > > correcting negative: 1.89619 to > 1.10381 > > correcting negative: 1.89619 to > 1.10381 > > correcting negative: 0.211469 to > 0.788531 > > correcting negative: 1.89619 to > 1.10381 > > correcting negative: 0.211469 to > 0.788531 > > correcting negative: 1.89619 to > 1.10381 > > correcting negative: 0.211469 to > 0.788531 > > correcting negative: 0.379878 to > 0.620122 > > correcting negative: 2.48578 to > 2.51422 > > correcting negative: 2.48578 to > 2.51422 > > correcting negative: 2.48578 to > 2.51422 > > correcting negative: 0.379878 to > 0.620122 > > correcting negative: 0.379878 to > 0.620122 > > On Tue, Jul 22, 2008 at 8:11 PM, skunkwerk <skunkwerk@...> wrote: > >> i made two more fixes to make the filter work, one of which was the order >> in which the textures were drawn into the atlas: i was starting at 0,0 at >> the topleft, whereas i believe meshlab wants 0,0 at the bottomleft. >> >> it works fine with this modified file: http://www.akbars.net/TextureDoublex2.ply >> >> but still not on my box... >> >> imran >> >> >> On Tue, Jul 22, 2008 at 6:06 PM, skunkwerk <skunkwerk@...> wrote: >> >>> i've committed a fix that should now make the texturedouble.ply generate >>> correct UV coords... >>> however models with more complex texturing still don't work properly... >>> >>> any suggestions on how to debug this? i think i'll take the same >>> texturedouble.ply and try doubling the original uv coords to see how it >>> handles that... >>> >>> imran >>> >>> >>> On Tue, Jul 22, 2008 at 4:49 PM, skunkwerk <skunkwerk@...> wrote: >>> >>>> paolo, >>>> you're correct, the assert was happening on a null image, even though >>>> i've put in a check to not do anything on null images... but i don't think >>>> any changes are necessary. >>>> >>>> i'll test out the texturedouble.ply and report back my findings >>>> >>>> i have been testing out this model (a simple cube with a different >>>> texture on every face):www.akbars.net/boxAtlasbig.zip >>>> >>>> the texture atlas is generated fine, but the resulting model does not >>>> look right. i looked through the debug output, and as far as i can see, >>>> each material's uvs are offset to the correct part of the texture atlas (i >>>> did this by comparing the material number of that face and its uvs to the >>>> position of that material in the atlas. the second division is the final uv >>>> that's saved): >>>>  >>>> >>>> material 0 position: 805 , 1073 >>>> >>>> U: 1.10381 V: 1.98863 >>>> >>>> new (first division) U: 0.839221 new V: 0.740719 >>>> >>>> new (second division) U: 0.955932 new V: 0.769647 >>>> >>>>  >>>> >>>> material 0 position: 805 , 1073 >>>> >>>> U: 0.788531 V: 0.303902 >>>> >>>> new (first division) U: 0.599517 new V: 0.113197 >>>> >>>> new (second division) U: 0.897179 new V: 0.593546 >>>> >>>>  >>>> >>>> material 0 position: 805 , 1073 >>>> >>>> U: 0.788531 V: 1.98863 >>>> >>>> new (first division) U: 0.599517 new V: 0.740719 >>>> >>>> new (second division) U: 0.897179 new V: 0.769647 >>>> >>>>  >>>> >>>> material 0 position: 805 , 1073 >>>> >>>> U: 0.788531 V: 0.303902 >>>> >>>> new (first division) U: 0.599517 new V: 0.113197 >>>> >>>> new (second division) U: 0.897179 new V: 0.593546 >>>> >>>>  >>>> >>>> material 0 position: 805 , 1073 >>>> >>>> U: 1.10381 V: 1.98863 >>>> >>>> new (first division) U: 0.839221 new V: 0.740719 >>>> >>>> new (second division) U: 0.955932 new V: 0.769647 >>>> >>>>  >>>> >>>> material 0 position: 805 , 1073 >>>> >>>> U: 1.10381 V: 0.303902 >>>> >>>> new (first division) U: 0.839221 new V: 0.113197 >>>> >>>> new (second division) U: 0.955932 new V: 0.593546 >>>> >>>>  >>>> >>>> material 3 position: 0 , 1073 >>>> >>>> U: 1.98863 V: 0 >>>> >>>> new (first division) U: 0.740719 new V: 0 >>>> >>>> new (second division) U: 0.555712 new V: 0.56178 >>>> >>>>  >>>> >>>> material 3 position: 0 , 1073 >>>> >>>> U: 0.303902 V: 1.00833 >>>> >>>> new (first division) U: 0.113197 new V: 0.502075 >>>> >>>> new (second division) U: 0.084924 new V: 0.720026 >>>> >>>>  >>>> >>>> material 3 position: 0 , 1073 >>>> >>>> U: 0.303902 V: 0 >>>> >>>> new (first division) U: 0.113197 new V: 0 >>>> >>>> new (second division) U: 0.084924 new V: 0.56178 >>>> >>>>  >>>> >>>> material 3 position: 0 , 1073 >>>> >>>> U: 0.303902 V: 1.00833 >>>> >>>> new (first division) U: 0.113197 new V: 0.502075 >>>> >>>> new (second division) U: 0.084924 new V: 0.720026 >>>> >>>>  >>>> >>>> material 3 position: 0 , 1073 >>>> >>>> U: 1.98863 V: 0 >>>> >>>> new (first division) U: 0.740719 new V: 0 >>>> >>>> new (second division) U: 0.555712 new V: 0.56178 >>>> >>>>  >>>> >>>> material 3 position: 0 , 1073 >>>> >>>> U: 1.98863 V: 1.00833 >>>> >>>> new (first division) U: 0.740719 new V: 0.502075 >>>> >>>> new (second division) U: 0.555712 new V: 0.720026 >>>> >>>>  >>>> >>>> material 2 position: 805 , 1609 >>>> >>>> U: 1.10381 V: 0 >>>> >>>> new (first division) U: 0.839221 new V: 0 >>>> >>>> new (second division) U: 0.905876 new V: 0.842408 >>>> >>>>  >>>> >>>> material 2 position: 805 , 1609 >>>> >>>> U: 0.788531 V: 1.00833 >>>> >>>> new (first division) U: 0.599517 new V: 0.502075 >>>> >>>> new (second division) U: 0.86142 new V: 0.921531 >>>> >>>>  >>>> >>>> material 2 position: 805 , 1609 >>>> >>>> U: 1.10381 V: 1.00833 >>>> >>>> new (first division) U: 0.839221 new V: 0.502075 >>>> >>>> new (second division) U: 0.905876 new V: 0.921531 >>>> >>>>  >>>> >>>> material 2 position: 805 , 1609 >>>> >>>> U: 0.788531 V: 1.00833 >>>> >>>> new (first division) U: 0.599517 new V: 0.502075 >>>> >>>> new (second division) U: 0.86142 new V: 0.921531 >>>> >>>>  >>>> >>>> material 2 position: 805 , 1609 >>>> >>>> U: 1.10381 V: 0 >>>> >>>> new (first division) U: 0.839221 new V: 0 >>>> >>>> new (second division) U: 0.905876 new V: 0.842408 >>>> >>>>  >>>> >>>> material 2 position: 805 , 1609 >>>> >>>> U: 0.788531 V: 0 >>>> >>>> new (first division) U: 0.599517 new V: 0 >>>> >>>> new (second division) U: 0.86142 new V: 0.842408 >>>> >>>>  >>>> >>>> material 5 position: 310 , 1675 >>>> >>>> U: 0.620122 V: 0 >>>> >>>> new (first division) U: 0.214271 new V: 0 >>>> >>>> new (second division) U: 0.346621 new V: 0.876963 >>>> >>>>  >>>> >>>> material 5 position: 310 , 1675 >>>> >>>> U: 2.51422 V: 1.26042 >>>> >>>> new (first division) U: 0.86874 new V: 0.557604 >>>> >>>> new (second division) U: 0.522895 new V: 0.942942 >>>> >>>>  >>>> >>>> material 5 position: 310 , 1675 >>>> >>>> U: 2.51422 V: 0 >>>> >>>> new (first division) U: 0.86874 new V: 0 >>>> >>>> new (second division) U: 0.522895 new V: 0.876963 >>>> >>>>  >>>> >>>> material 5 position: 310 , 1675 >>>> >>>> U: 2.51422 V: 1.26042 >>>> >>>> new (first division) U: 0.86874 new V: 0.557604 >>>> >>>> new (second division) U: 0.522895 new V: 0.942942 >>>> >>>>  >>>> >>>> material 5 position: 310 , 1675 >>>> >>>> U: 0.620122 V: 0 >>>> >>>> new (first division) U: 0.214271 new V: 0 >>>> >>>> new (second division) U: 0.346621 new V: 0.876963 >>>> >>>>  >>>> >>>> material 5 position: 310 , 1675 >>>> >>>> U: 0.620122 V: 1.26042 >>>> >>>> new (first division) U: 0.214271 new V: 0.557604 >>>> >>>> new (second division) U: 0.346621 new V: 0.942942 >>>> >>>>  >>>> >>>> material 4 position: 0 , 1675 >>>> >>>> U: 0.264336 V: 0 >>>> >>>> new (first division) U: 0.0851076 new V: 0 >>>> >>>> new (second division) U: 0.0245884 new V: 0.876963 >>>> >>>>  >>>> >>>> material 4 position: 0 , 1675 >>>> >>>> U: 2.37024 V: 1.26042 >>>> >>>> new (first division) U: 0.76314 new V: 0.557604 >>>> >>>> new (second division) U: 0.220478 new V: 0.942942 >>>> >>>>  >>>> >>>> material 4 position: 0 , 1675 >>>> >>>> U: 0.264336 V: 1.26042 >>>> >>>> new (first division) U: 0.0851076 new V: 0.557604 >>>> >>>> new (second division) U: 0.0245884 new V: 0.942942 >>>> >>>>  >>>> >>>> material 4 position: 0 , 1675 >>>> >>>> U: 2.37024 V: 1.26042 >>>> >>>> new (first division) U: 0.76314 new V: 0.557604 >>>> >>>> new (second division) U: 0.220478 new V: 0.942942 >>>> >>>>  >>>> >>>> material 4 position: 0 , 1675 >>>> >>>> U: 0.264336 V: 0 >>>> >>>> new (first division) U: 0.0851076 new V: 0 >>>> >>>> new (second division) U: 0.0245884 new V: 0.876963 >>>> >>>>  >>>> >>>> material 4 position: 0 , 1675 >>>> >>>> U: 2.37024 V: 0 >>>> >>>> new (first division) U: 0.76314 new V: 0 >>>> >>>> new (second division) U: 0.220478 new V: 0.876963 >>>> >>>>  >>>> >>>> material 1 position: 0 , 0 >>>> >>>> U: 1.89619 V: 0.303902 >>>> >>>> new (first division) U: 0.70629 new V: 0.113197 >>>> >>>> new (second division) U: 0.70629 new V: 0.0635917 >>>> >>>>  >>>> >>>> material 1 position: 0 , 0 >>>> >>>> U: 0.211469 V: 1.98863 >>>> >>>> new (first division) U: 0.0787676 new V: 0.740719 >>>> >>>> new (second division) U: 0.0787676 new V: 0.416121 >>>> >>>>  >>>> >>>> material 1 position: 0 , 0 >>>> >>>> U: 0.211469 V: 0.303902 >>>> >>>> new (first division) U: 0.0787676 new V: 0.113197 >>>> >>>> new (second division) U: 0.0787676 new V: 0.0635917 >>>> >>>>  >>>> >>>> material 1 position: 0 , 0 >>>> >>>> U: 0.211469 V: 1.98863 >>>> >>>> new (first division) U: 0.0787676 new V: 0.740719 >>>> >>>> new (second division) U: 0.0787676 new V: 0.416121 >>>> >>>>  >>>> >>>> material 1 position: 0 , 0 >>>> >>>> U: 1.89619 V: 0.303902 >>>> >>>> new (first division) U: 0.70629 new V: 0.113197 >>>> >>>> new (second division) U: 0.70629 new V: 0.0635917 >>>> >>>>  >>>> >>>> material 1 position: 0 , 0 >>>> >>>> U: 1.89619 V: 1.98863 >>>> >>>> new (first division) U: 0.70629 new V: 0.740719 >>>> >>>> new (second division) U: 0.70629 new V: 0.416121 >>>> >>>> global: 1073 , 1910 >>>> >>>> inserted texture 0 into atlas at position: 805 1073 >>>> >>>> inserted texture 1 into atlas at position: 0 0 >>>> >>>> inserted texture 2 into atlas at position: 805 1609 >>>> >>>> inserted texture 3 into atlas at position: 0 1073 >>>> >>>> inserted texture 4 into atlas at position: 0 1675 >>>> >>>> inserted texture 5 into atlas at position: 310 1675 >>>> >>>> >>>> On Tue, Jul 22, 2008 at 4:30 PM, Paolo Cignoni < >>>> paolo.cignoni@...> wrote: >>>> >>>>> skunkwerk wrote: >>>>> > Hey Sebastian, >>>>> > this one worked for me: http://www.akbars.net/10.zip >>>>> > i've been testing with collada models from >>>>> > sketchup.google.com/3dwarehousebut that's because my version of the >>>>> > collada importer works ok with the >>>>> > textures  i don't think the one in subversion has been fixed yet... >>>>> > >>>>> > try increasing the size of the texture atlas until i can get the >>>>> resampled >>>>> > tiles working. i'm going to test out the results on a simple box >>>>> today >>>>> > >>>>> > paolo, the rect_packer.cpp has a bunch of asserts in it... i'd like >>>>> to >>>>> > change them to return false, so that the atlas will fail, but not >>>>> crash >>>>> > whenever some of the images are null, etc. the other way would be to >>>>> try to >>>>> > do those checks in the filter itself. which would you recommend? >>>>> > >>>>> > imran >>>>> > >>>>> > On Tue, Jul 22, 2008 at 3:25 AM, Sebastian Herholz < >>>>> > sebastian.herholz@...> wrote: >>>>> > >>>>> > >>>>> >>>>> I have tried too the atlas builder but it failed to build a correct >>>>> mesh >>>>> (but without crashing :) ) on the very very simple model >>>>> texturedouble.ply that you can find among the meshlab sample models. >>>>> >>>>> This model is composed by just two squares, each one of them textured >>>>> with a different texture. >>>>> your filter builds a correct atlas texture but it assigns wrong tex >>>>> coords to the mesh. >>>>> >>>>> >>>>> About the rect packer what are exactly the asserts that worry you? >>>>> From what i could see you they trigger on very trashy situations that >>>>> should be cleaned before (zero sized textures and so on). I could have >>>>> missed some, so what assert()'s did you refer to? >>>>> >>>>> cheers >>>>> >>>>>  >>>>> Paolo Cignoni  Senior Researcher >>>>> Visual Computing Laboratory  ISTI  CNR >>>>> http://vcg.isti.cnr.it/~cignoni <http://vcg.isti.cnr.it/%7Ecignoni>; >>>>> >>>>> ISTI  CNR >>>>> Via Moruzzi 1, >>>>> 56124 Pisa >>>>> ITALY >>>>> >>>>> >>>>> >>>>>  >>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>>> challenge >>>>> Build the coolest Linux based applications with Moblin SDK & win great >>>>> prizes >>>>> Grand prize is a trip for two to an Open Source event anywhere in the >>>>> world >>>>> http://moblincontest.org/redirect.php?banner_id=100&url=/ >>>>> _______________________________________________ >>>>> Meshlabdevel mailing list >>>>> Meshlabdevel@... >>>>> https://lists.sourceforge.net/lists/listinfo/meshlabdevel >>>>> >>>> >>>> >>> >> > 
From: Francesco Tonarelli <little.tona@gm...>  20080723 15:49:55

Hi Paolo, I'm going to commit the feature that you request me today, about white balance. Get a look, it seems to work fine. Doing that work I saw that, in some cases, the code could encounter a division by zero, for example when the color used to correct the white has a component to 0... I try some of this cases and the app does't crashes (strange, it should...) but I thing the result is anyway incorrect. How do you want that I fix this bug? replacing zeros with 1? is it wise? I think so, because a component less then 1 leads to a correction factor greater then 255, and it will be clamped anyway... let me know your strategy and I'll modify soon. comments to the code will be provided asap. cheers. 
From: skunkwerk <skunkwerk@gm...>  20080723 04:06:20

my test box has negative uv coords, and even though i try to correct for them i end up with uv coords outside the 01 range. could someone confirm the following negative to positive u/v coordinate equivalencies? thanks correcting negative: 1.89619 to 1.10381 correcting negative: 0.211469 to 0.788531 correcting negative: 0.211469 to 0.788531 correcting negative: 0.211469 to 0.788531 correcting negative: 1.89619 to 1.10381 correcting negative: 1.89619 to 1.10381 correcting negative: 1.89619 to 1.10381 correcting negative: 0.211469 to 0.788531 correcting negative: 1.89619 to 1.10381 correcting negative: 0.211469 to 0.788531 correcting negative: 1.89619 to 1.10381 correcting negative: 0.211469 to 0.788531 correcting negative: 0.379878 to 0.620122 correcting negative: 2.48578 to 2.51422 correcting negative: 2.48578 to 2.51422 correcting negative: 2.48578 to 2.51422 correcting negative: 0.379878 to 0.620122 correcting negative: 0.379878 to 0.620122 On Tue, Jul 22, 2008 at 8:11 PM, skunkwerk <skunkwerk@...> wrote: > i made two more fixes to make the filter work, one of which was the order > in which the textures were drawn into the atlas: i was starting at 0,0 at > the topleft, whereas i believe meshlab wants 0,0 at the bottomleft. > > it works fine with this modified file: http://www.akbars.net/TextureDoublex2.ply > > but still not on my box... > > imran > > > On Tue, Jul 22, 2008 at 6:06 PM, skunkwerk <skunkwerk@...> wrote: > >> i've committed a fix that should now make the texturedouble.ply generate >> correct UV coords... >> however models with more complex texturing still don't work properly... >> >> any suggestions on how to debug this? i think i'll take the same >> texturedouble.ply and try doubling the original uv coords to see how it >> handles that... >> >> imran >> >> >> On Tue, Jul 22, 2008 at 4:49 PM, skunkwerk <skunkwerk@...> wrote: >> >>> paolo, >>> you're correct, the assert was happening on a null image, even though >>> i've put in a check to not do anything on null images... but i don't think >>> any changes are necessary. >>> >>> i'll test out the texturedouble.ply and report back my findings >>> >>> i have been testing out this model (a simple cube with a different >>> texture on every face):www.akbars.net/boxAtlasbig.zip >>> >>> the texture atlas is generated fine, but the resulting model does not >>> look right. i looked through the debug output, and as far as i can see, >>> each material's uvs are offset to the correct part of the texture atlas (i >>> did this by comparing the material number of that face and its uvs to the >>> position of that material in the atlas. the second division is the final uv >>> that's saved): >>>  >>> >>> material 0 position: 805 , 1073 >>> >>> U: 1.10381 V: 1.98863 >>> >>> new (first division) U: 0.839221 new V: 0.740719 >>> >>> new (second division) U: 0.955932 new V: 0.769647 >>> >>>  >>> >>> material 0 position: 805 , 1073 >>> >>> U: 0.788531 V: 0.303902 >>> >>> new (first division) U: 0.599517 new V: 0.113197 >>> >>> new (second division) U: 0.897179 new V: 0.593546 >>> >>>  >>> >>> material 0 position: 805 , 1073 >>> >>> U: 0.788531 V: 1.98863 >>> >>> new (first division) U: 0.599517 new V: 0.740719 >>> >>> new (second division) U: 0.897179 new V: 0.769647 >>> >>>  >>> >>> material 0 position: 805 , 1073 >>> >>> U: 0.788531 V: 0.303902 >>> >>> new (first division) U: 0.599517 new V: 0.113197 >>> >>> new (second division) U: 0.897179 new V: 0.593546 >>> >>>  >>> >>> material 0 position: 805 , 1073 >>> >>> U: 1.10381 V: 1.98863 >>> >>> new (first division) U: 0.839221 new V: 0.740719 >>> >>> new (second division) U: 0.955932 new V: 0.769647 >>> >>>  >>> >>> material 0 position: 805 , 1073 >>> >>> U: 1.10381 V: 0.303902 >>> >>> new (first division) U: 0.839221 new V: 0.113197 >>> >>> new (second division) U: 0.955932 new V: 0.593546 >>> >>>  >>> >>> material 3 position: 0 , 1073 >>> >>> U: 1.98863 V: 0 >>> >>> new (first division) U: 0.740719 new V: 0 >>> >>> new (second division) U: 0.555712 new V: 0.56178 >>> >>>  >>> >>> material 3 position: 0 , 1073 >>> >>> U: 0.303902 V: 1.00833 >>> >>> new (first division) U: 0.113197 new V: 0.502075 >>> >>> new (second division) U: 0.084924 new V: 0.720026 >>> >>>  >>> >>> material 3 position: 0 , 1073 >>> >>> U: 0.303902 V: 0 >>> >>> new (first division) U: 0.113197 new V: 0 >>> >>> new (second division) U: 0.084924 new V: 0.56178 >>> >>>  >>> >>> material 3 position: 0 , 1073 >>> >>> U: 0.303902 V: 1.00833 >>> >>> new (first division) U: 0.113197 new V: 0.502075 >>> >>> new (second division) U: 0.084924 new V: 0.720026 >>> >>>  >>> >>> material 3 position: 0 , 1073 >>> >>> U: 1.98863 V: 0 >>> >>> new (first division) U: 0.740719 new V: 0 >>> >>> new (second division) U: 0.555712 new V: 0.56178 >>> >>>  >>> >>> material 3 position: 0 , 1073 >>> >>> U: 1.98863 V: 1.00833 >>> >>> new (first division) U: 0.740719 new V: 0.502075 >>> >>> new (second division) U: 0.555712 new V: 0.720026 >>> >>>  >>> >>> material 2 position: 805 , 1609 >>> >>> U: 1.10381 V: 0 >>> >>> new (first division) U: 0.839221 new V: 0 >>> >>> new (second division) U: 0.905876 new V: 0.842408 >>> >>>  >>> >>> material 2 position: 805 , 1609 >>> >>> U: 0.788531 V: 1.00833 >>> >>> new (first division) U: 0.599517 new V: 0.502075 >>> >>> new (second division) U: 0.86142 new V: 0.921531 >>> >>>  >>> >>> material 2 position: 805 , 1609 >>> >>> U: 1.10381 V: 1.00833 >>> >>> new (first division) U: 0.839221 new V: 0.502075 >>> >>> new (second division) U: 0.905876 new V: 0.921531 >>> >>>  >>> >>> material 2 position: 805 , 1609 >>> >>> U: 0.788531 V: 1.00833 >>> >>> new (first division) U: 0.599517 new V: 0.502075 >>> >>> new (second division) U: 0.86142 new V: 0.921531 >>> >>>  >>> >>> material 2 position: 805 , 1609 >>> >>> U: 1.10381 V: 0 >>> >>> new (first division) U: 0.839221 new V: 0 >>> >>> new (second division) U: 0.905876 new V: 0.842408 >>> >>>  >>> >>> material 2 position: 805 , 1609 >>> >>> U: 0.788531 V: 0 >>> >>> new (first division) U: 0.599517 new V: 0 >>> >>> new (second division) U: 0.86142 new V: 0.842408 >>> >>>  >>> >>> material 5 position: 310 , 1675 >>> >>> U: 0.620122 V: 0 >>> >>> new (first division) U: 0.214271 new V: 0 >>> >>> new (second division) U: 0.346621 new V: 0.876963 >>> >>>  >>> >>> material 5 position: 310 , 1675 >>> >>> U: 2.51422 V: 1.26042 >>> >>> new (first division) U: 0.86874 new V: 0.557604 >>> >>> new (second division) U: 0.522895 new V: 0.942942 >>> >>>  >>> >>> material 5 position: 310 , 1675 >>> >>> U: 2.51422 V: 0 >>> >>> new (first division) U: 0.86874 new V: 0 >>> >>> new (second division) U: 0.522895 new V: 0.876963 >>> >>>  >>> >>> material 5 position: 310 , 1675 >>> >>> U: 2.51422 V: 1.26042 >>> >>> new (first division) U: 0.86874 new V: 0.557604 >>> >>> new (second division) U: 0.522895 new V: 0.942942 >>> >>>  >>> >>> material 5 position: 310 , 1675 >>> >>> U: 0.620122 V: 0 >>> >>> new (first division) U: 0.214271 new V: 0 >>> >>> new (second division) U: 0.346621 new V: 0.876963 >>> >>>  >>> >>> material 5 position: 310 , 1675 >>> >>> U: 0.620122 V: 1.26042 >>> >>> new (first division) U: 0.214271 new V: 0.557604 >>> >>> new (second division) U: 0.346621 new V: 0.942942 >>> >>>  >>> >>> material 4 position: 0 , 1675 >>> >>> U: 0.264336 V: 0 >>> >>> new (first division) U: 0.0851076 new V: 0 >>> >>> new (second division) U: 0.0245884 new V: 0.876963 >>> >>>  >>> >>> material 4 position: 0 , 1675 >>> >>> U: 2.37024 V: 1.26042 >>> >>> new (first division) U: 0.76314 new V: 0.557604 >>> >>> new (second division) U: 0.220478 new V: 0.942942 >>> >>>  >>> >>> material 4 position: 0 , 1675 >>> >>> U: 0.264336 V: 1.26042 >>> >>> new (first division) U: 0.0851076 new V: 0.557604 >>> >>> new (second division) U: 0.0245884 new V: 0.942942 >>> >>>  >>> >>> material 4 position: 0 , 1675 >>> >>> U: 2.37024 V: 1.26042 >>> >>> new (first division) U: 0.76314 new V: 0.557604 >>> >>> new (second division) U: 0.220478 new V: 0.942942 >>> >>>  >>> >>> material 4 position: 0 , 1675 >>> >>> U: 0.264336 V: 0 >>> >>> new (first division) U: 0.0851076 new V: 0 >>> >>> new (second division) U: 0.0245884 new V: 0.876963 >>> >>>  >>> >>> material 4 position: 0 , 1675 >>> >>> U: 2.37024 V: 0 >>> >>> new (first division) U: 0.76314 new V: 0 >>> >>> new (second division) U: 0.220478 new V: 0.876963 >>> >>>  >>> >>> material 1 position: 0 , 0 >>> >>> U: 1.89619 V: 0.303902 >>> >>> new (first division) U: 0.70629 new V: 0.113197 >>> >>> new (second division) U: 0.70629 new V: 0.0635917 >>> >>>  >>> >>> material 1 position: 0 , 0 >>> >>> U: 0.211469 V: 1.98863 >>> >>> new (first division) U: 0.0787676 new V: 0.740719 >>> >>> new (second division) U: 0.0787676 new V: 0.416121 >>> >>>  >>> >>> material 1 position: 0 , 0 >>> >>> U: 0.211469 V: 0.303902 >>> >>> new (first division) U: 0.0787676 new V: 0.113197 >>> >>> new (second division) U: 0.0787676 new V: 0.0635917 >>> >>>  >>> >>> material 1 position: 0 , 0 >>> >>> U: 0.211469 V: 1.98863 >>> >>> new (first division) U: 0.0787676 new V: 0.740719 >>> >>> new (second division) U: 0.0787676 new V: 0.416121 >>> >>>  >>> >>> material 1 position: 0 , 0 >>> >>> U: 1.89619 V: 0.303902 >>> >>> new (first division) U: 0.70629 new V: 0.113197 >>> >>> new (second division) U: 0.70629 new V: 0.0635917 >>> >>>  >>> >>> material 1 position: 0 , 0 >>> >>> U: 1.89619 V: 1.98863 >>> >>> new (first division) U: 0.70629 new V: 0.740719 >>> >>> new (second division) U: 0.70629 new V: 0.416121 >>> >>> global: 1073 , 1910 >>> >>> inserted texture 0 into atlas at position: 805 1073 >>> >>> inserted texture 1 into atlas at position: 0 0 >>> >>> inserted texture 2 into atlas at position: 805 1609 >>> >>> inserted texture 3 into atlas at position: 0 1073 >>> >>> inserted texture 4 into atlas at position: 0 1675 >>> >>> inserted texture 5 into atlas at position: 310 1675 >>> >>> >>> On Tue, Jul 22, 2008 at 4:30 PM, Paolo Cignoni < >>> paolo.cignoni@...> wrote: >>> >>>> skunkwerk wrote: >>>> > Hey Sebastian, >>>> > this one worked for me: http://www.akbars.net/10.zip >>>> > i've been testing with collada models from >>>> > sketchup.google.com/3dwarehousebut that's because my version of the >>>> > collada importer works ok with the >>>> > textures  i don't think the one in subversion has been fixed yet... >>>> > >>>> > try increasing the size of the texture atlas until i can get the >>>> resampled >>>> > tiles working. i'm going to test out the results on a simple box >>>> today >>>> > >>>> > paolo, the rect_packer.cpp has a bunch of asserts in it... i'd like to >>>> > change them to return false, so that the atlas will fail, but not >>>> crash >>>> > whenever some of the images are null, etc. the other way would be to >>>> try to >>>> > do those checks in the filter itself. which would you recommend? >>>> > >>>> > imran >>>> > >>>> > On Tue, Jul 22, 2008 at 3:25 AM, Sebastian Herholz < >>>> > sebastian.herholz@...> wrote: >>>> > >>>> > >>>> >>>> I have tried too the atlas builder but it failed to build a correct mesh >>>> (but without crashing :) ) on the very very simple model >>>> texturedouble.ply that you can find among the meshlab sample models. >>>> >>>> This model is composed by just two squares, each one of them textured >>>> with a different texture. >>>> your filter builds a correct atlas texture but it assigns wrong tex >>>> coords to the mesh. >>>> >>>> >>>> About the rect packer what are exactly the asserts that worry you? >>>> From what i could see you they trigger on very trashy situations that >>>> should be cleaned before (zero sized textures and so on). I could have >>>> missed some, so what assert()'s did you refer to? >>>> >>>> cheers >>>> >>>>  >>>> Paolo Cignoni  Senior Researcher >>>> Visual Computing Laboratory  ISTI  CNR >>>> http://vcg.isti.cnr.it/~cignoni <http://vcg.isti.cnr.it/%7Ecignoni>; >>>> >>>> ISTI  CNR >>>> Via Moruzzi 1, >>>> 56124 Pisa >>>> ITALY >>>> >>>> >>>> >>>>  >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> challenge >>>> Build the coolest Linux based applications with Moblin SDK & win great >>>> prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in the >>>> world >>>> http://moblincontest.org/redirect.php?banner_id=100&url=/ >>>> _______________________________________________ >>>> Meshlabdevel mailing list >>>> Meshlabdevel@... >>>> https://lists.sourceforge.net/lists/listinfo/meshlabdevel >>>> >>> >>> >> > 
From: skunkwerk <skunkwerk@gm...>  20080723 03:11:14

i made two more fixes to make the filter work, one of which was the order in which the textures were drawn into the atlas: i was starting at 0,0 at the topleft, whereas i believe meshlab wants 0,0 at the bottomleft. it works fine with this modified file: http://www.akbars.net/TextureDoublex2.ply but still not on my box... imran On Tue, Jul 22, 2008 at 6:06 PM, skunkwerk <skunkwerk@...> wrote: > i've committed a fix that should now make the texturedouble.ply generate > correct UV coords... > however models with more complex texturing still don't work properly... > > any suggestions on how to debug this? i think i'll take the same > texturedouble.ply and try doubling the original uv coords to see how it > handles that... > > imran > > > On Tue, Jul 22, 2008 at 4:49 PM, skunkwerk <skunkwerk@...> wrote: > >> paolo, >> you're correct, the assert was happening on a null image, even though >> i've put in a check to not do anything on null images... but i don't think >> any changes are necessary. >> >> i'll test out the texturedouble.ply and report back my findings >> >> i have been testing out this model (a simple cube with a different texture >> on every face):www.akbars.net/boxAtlasbig.zip >> >> the texture atlas is generated fine, but the resulting model does not look >> right. i looked through the debug output, and as far as i can see, each >> material's uvs are offset to the correct part of the texture atlas (i did >> this by comparing the material number of that face and its uvs to the >> position of that material in the atlas. the second division is the final uv >> that's saved): >>  >> >> material 0 position: 805 , 1073 >> >> U: 1.10381 V: 1.98863 >> >> new (first division) U: 0.839221 new V: 0.740719 >> >> new (second division) U: 0.955932 new V: 0.769647 >> >>  >> >> material 0 position: 805 , 1073 >> >> U: 0.788531 V: 0.303902 >> >> new (first division) U: 0.599517 new V: 0.113197 >> >> new (second division) U: 0.897179 new V: 0.593546 >> >>  >> >> material 0 position: 805 , 1073 >> >> U: 0.788531 V: 1.98863 >> >> new (first division) U: 0.599517 new V: 0.740719 >> >> new (second division) U: 0.897179 new V: 0.769647 >> >>  >> >> material 0 position: 805 , 1073 >> >> U: 0.788531 V: 0.303902 >> >> new (first division) U: 0.599517 new V: 0.113197 >> >> new (second division) U: 0.897179 new V: 0.593546 >> >>  >> >> material 0 position: 805 , 1073 >> >> U: 1.10381 V: 1.98863 >> >> new (first division) U: 0.839221 new V: 0.740719 >> >> new (second division) U: 0.955932 new V: 0.769647 >> >>  >> >> material 0 position: 805 , 1073 >> >> U: 1.10381 V: 0.303902 >> >> new (first division) U: 0.839221 new V: 0.113197 >> >> new (second division) U: 0.955932 new V: 0.593546 >> >>  >> >> material 3 position: 0 , 1073 >> >> U: 1.98863 V: 0 >> >> new (first division) U: 0.740719 new V: 0 >> >> new (second division) U: 0.555712 new V: 0.56178 >> >>  >> >> material 3 position: 0 , 1073 >> >> U: 0.303902 V: 1.00833 >> >> new (first division) U: 0.113197 new V: 0.502075 >> >> new (second division) U: 0.084924 new V: 0.720026 >> >>  >> >> material 3 position: 0 , 1073 >> >> U: 0.303902 V: 0 >> >> new (first division) U: 0.113197 new V: 0 >> >> new (second division) U: 0.084924 new V: 0.56178 >> >>  >> >> material 3 position: 0 , 1073 >> >> U: 0.303902 V: 1.00833 >> >> new (first division) U: 0.113197 new V: 0.502075 >> >> new (second division) U: 0.084924 new V: 0.720026 >> >>  >> >> material 3 position: 0 , 1073 >> >> U: 1.98863 V: 0 >> >> new (first division) U: 0.740719 new V: 0 >> >> new (second division) U: 0.555712 new V: 0.56178 >> >>  >> >> material 3 position: 0 , 1073 >> >> U: 1.98863 V: 1.00833 >> >> new (first division) U: 0.740719 new V: 0.502075 >> >> new (second division) U: 0.555712 new V: 0.720026 >> >>  >> >> material 2 position: 805 , 1609 >> >> U: 1.10381 V: 0 >> >> new (first division) U: 0.839221 new V: 0 >> >> new (second division) U: 0.905876 new V: 0.842408 >> >>  >> >> material 2 position: 805 , 1609 >> >> U: 0.788531 V: 1.00833 >> >> new (first division) U: 0.599517 new V: 0.502075 >> >> new (second division) U: 0.86142 new V: 0.921531 >> >>  >> >> material 2 position: 805 , 1609 >> >> U: 1.10381 V: 1.00833 >> >> new (first division) U: 0.839221 new V: 0.502075 >> >> new (second division) U: 0.905876 new V: 0.921531 >> >>  >> >> material 2 position: 805 , 1609 >> >> U: 0.788531 V: 1.00833 >> >> new (first division) U: 0.599517 new V: 0.502075 >> >> new (second division) U: 0.86142 new V: 0.921531 >> >>  >> >> material 2 position: 805 , 1609 >> >> U: 1.10381 V: 0 >> >> new (first division) U: 0.839221 new V: 0 >> >> new (second division) U: 0.905876 new V: 0.842408 >> >>  >> >> material 2 position: 805 , 1609 >> >> U: 0.788531 V: 0 >> >> new (first division) U: 0.599517 new V: 0 >> >> new (second division) U: 0.86142 new V: 0.842408 >> >>  >> >> material 5 position: 310 , 1675 >> >> U: 0.620122 V: 0 >> >> new (first division) U: 0.214271 new V: 0 >> >> new (second division) U: 0.346621 new V: 0.876963 >> >>  >> >> material 5 position: 310 , 1675 >> >> U: 2.51422 V: 1.26042 >> >> new (first division) U: 0.86874 new V: 0.557604 >> >> new (second division) U: 0.522895 new V: 0.942942 >> >>  >> >> material 5 position: 310 , 1675 >> >> U: 2.51422 V: 0 >> >> new (first division) U: 0.86874 new V: 0 >> >> new (second division) U: 0.522895 new V: 0.876963 >> >>  >> >> material 5 position: 310 , 1675 >> >> U: 2.51422 V: 1.26042 >> >> new (first division) U: 0.86874 new V: 0.557604 >> >> new (second division) U: 0.522895 new V: 0.942942 >> >>  >> >> material 5 position: 310 , 1675 >> >> U: 0.620122 V: 0 >> >> new (first division) U: 0.214271 new V: 0 >> >> new (second division) U: 0.346621 new V: 0.876963 >> >>  >> >> material 5 position: 310 , 1675 >> >> U: 0.620122 V: 1.26042 >> >> new (first division) U: 0.214271 new V: 0.557604 >> >> new (second division) U: 0.346621 new V: 0.942942 >> >>  >> >> material 4 position: 0 , 1675 >> >> U: 0.264336 V: 0 >> >> new (first division) U: 0.0851076 new V: 0 >> >> new (second division) U: 0.0245884 new V: 0.876963 >> >>  >> >> material 4 position: 0 , 1675 >> >> U: 2.37024 V: 1.26042 >> >> new (first division) U: 0.76314 new V: 0.557604 >> >> new (second division) U: 0.220478 new V: 0.942942 >> >>  >> >> material 4 position: 0 , 1675 >> >> U: 0.264336 V: 1.26042 >> >> new (first division) U: 0.0851076 new V: 0.557604 >> >> new (second division) U: 0.0245884 new V: 0.942942 >> >>  >> >> material 4 position: 0 , 1675 >> >> U: 2.37024 V: 1.26042 >> >> new (first division) U: 0.76314 new V: 0.557604 >> >> new (second division) U: 0.220478 new V: 0.942942 >> >>  >> >> material 4 position: 0 , 1675 >> >> U: 0.264336 V: 0 >> >> new (first division) U: 0.0851076 new V: 0 >> >> new (second division) U: 0.0245884 new V: 0.876963 >> >>  >> >> material 4 position: 0 , 1675 >> >> U: 2.37024 V: 0 >> >> new (first division) U: 0.76314 new V: 0 >> >> new (second division) U: 0.220478 new V: 0.876963 >> >>  >> >> material 1 position: 0 , 0 >> >> U: 1.89619 V: 0.303902 >> >> new (first division) U: 0.70629 new V: 0.113197 >> >> new (second division) U: 0.70629 new V: 0.0635917 >> >>  >> >> material 1 position: 0 , 0 >> >> U: 0.211469 V: 1.98863 >> >> new (first division) U: 0.0787676 new V: 0.740719 >> >> new (second division) U: 0.0787676 new V: 0.416121 >> >>  >> >> material 1 position: 0 , 0 >> >> U: 0.211469 V: 0.303902 >> >> new (first division) U: 0.0787676 new V: 0.113197 >> >> new (second division) U: 0.0787676 new V: 0.0635917 >> >>  >> >> material 1 position: 0 , 0 >> >> U: 0.211469 V: 1.98863 >> >> new (first division) U: 0.0787676 new V: 0.740719 >> >> new (second division) U: 0.0787676 new V: 0.416121 >> >>  >> >> material 1 position: 0 , 0 >> >> U: 1.89619 V: 0.303902 >> >> new (first division) U: 0.70629 new V: 0.113197 >> >> new (second division) U: 0.70629 new V: 0.0635917 >> >>  >> >> material 1 position: 0 , 0 >> >> U: 1.89619 V: 1.98863 >> >> new (first division) U: 0.70629 new V: 0.740719 >> >> new (second division) U: 0.70629 new V: 0.416121 >> >> global: 1073 , 1910 >> >> inserted texture 0 into atlas at position: 805 1073 >> >> inserted texture 1 into atlas at position: 0 0 >> >> inserted texture 2 into atlas at position: 805 1609 >> >> inserted texture 3 into atlas at position: 0 1073 >> >> inserted texture 4 into atlas at position: 0 1675 >> >> inserted texture 5 into atlas at position: 310 1675 >> >> >> On Tue, Jul 22, 2008 at 4:30 PM, Paolo Cignoni <paolo.cignoni@...> >> wrote: >> >>> skunkwerk wrote: >>> > Hey Sebastian, >>> > this one worked for me: http://www.akbars.net/10.zip >>> > i've been testing with collada models from >>> > sketchup.google.com/3dwarehousebut that's because my version of the >>> > collada importer works ok with the >>> > textures  i don't think the one in subversion has been fixed yet... >>> > >>> > try increasing the size of the texture atlas until i can get the >>> resampled >>> > tiles working. i'm going to test out the results on a simple box today >>> > >>> > paolo, the rect_packer.cpp has a bunch of asserts in it... i'd like to >>> > change them to return false, so that the atlas will fail, but not crash >>> > whenever some of the images are null, etc. the other way would be to >>> try to >>> > do those checks in the filter itself. which would you recommend? >>> > >>> > imran >>> > >>> > On Tue, Jul 22, 2008 at 3:25 AM, Sebastian Herholz < >>> > sebastian.herholz@...> wrote: >>> > >>> > >>> >>> I have tried too the atlas builder but it failed to build a correct mesh >>> (but without crashing :) ) on the very very simple model >>> texturedouble.ply that you can find among the meshlab sample models. >>> >>> This model is composed by just two squares, each one of them textured >>> with a different texture. >>> your filter builds a correct atlas texture but it assigns wrong tex >>> coords to the mesh. >>> >>> >>> About the rect packer what are exactly the asserts that worry you? >>> From what i could see you they trigger on very trashy situations that >>> should be cleaned before (zero sized textures and so on). I could have >>> missed some, so what assert()'s did you refer to? >>> >>> cheers >>> >>>  >>> Paolo Cignoni  Senior Researcher >>> Visual Computing Laboratory  ISTI  CNR >>> http://vcg.isti.cnr.it/~cignoni <http://vcg.isti.cnr.it/%7Ecignoni>; >>> >>> ISTI  CNR >>> Via Moruzzi 1, >>> 56124 Pisa >>> ITALY >>> >>> >>>  >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblincontest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Meshlabdevel mailing list >>> Meshlabdevel@... >>> https://lists.sourceforge.net/lists/listinfo/meshlabdevel >>> >> >> > 
From: skunkwerk <skunkwerk@gm...>  20080723 01:06:58

i've committed a fix that should now make the texturedouble.ply generate correct UV coords... however models with more complex texturing still don't work properly... any suggestions on how to debug this? i think i'll take the same texturedouble.ply and try doubling the original uv coords to see how it handles that... imran On Tue, Jul 22, 2008 at 4:49 PM, skunkwerk <skunkwerk@...> wrote: > paolo, > you're correct, the assert was happening on a null image, even though > i've put in a check to not do anything on null images... but i don't think > any changes are necessary. > > i'll test out the texturedouble.ply and report back my findings > > i have been testing out this model (a simple cube with a different texture > on every face):www.akbars.net/boxAtlasbig.zip > > the texture atlas is generated fine, but the resulting model does not look > right. i looked through the debug output, and as far as i can see, each > material's uvs are offset to the correct part of the texture atlas (i did > this by comparing the material number of that face and its uvs to the > position of that material in the atlas. the second division is the final uv > that's saved): >  > > material 0 position: 805 , 1073 > > U: 1.10381 V: 1.98863 > > new (first division) U: 0.839221 new V: 0.740719 > > new (second division) U: 0.955932 new V: 0.769647 > >  > > material 0 position: 805 , 1073 > > U: 0.788531 V: 0.303902 > > new (first division) U: 0.599517 new V: 0.113197 > > new (second division) U: 0.897179 new V: 0.593546 > >  > > material 0 position: 805 , 1073 > > U: 0.788531 V: 1.98863 > > new (first division) U: 0.599517 new V: 0.740719 > > new (second division) U: 0.897179 new V: 0.769647 > >  > > material 0 position: 805 , 1073 > > U: 0.788531 V: 0.303902 > > new (first division) U: 0.599517 new V: 0.113197 > > new (second division) U: 0.897179 new V: 0.593546 > >  > > material 0 position: 805 , 1073 > > U: 1.10381 V: 1.98863 > > new (first division) U: 0.839221 new V: 0.740719 > > new (second division) U: 0.955932 new V: 0.769647 > >  > > material 0 position: 805 , 1073 > > U: 1.10381 V: 0.303902 > > new (first division) U: 0.839221 new V: 0.113197 > > new (second division) U: 0.955932 new V: 0.593546 > >  > > material 3 position: 0 , 1073 > > U: 1.98863 V: 0 > > new (first division) U: 0.740719 new V: 0 > > new (second division) U: 0.555712 new V: 0.56178 > >  > > material 3 position: 0 , 1073 > > U: 0.303902 V: 1.00833 > > new (first division) U: 0.113197 new V: 0.502075 > > new (second division) U: 0.084924 new V: 0.720026 > >  > > material 3 position: 0 , 1073 > > U: 0.303902 V: 0 > > new (first division) U: 0.113197 new V: 0 > > new (second division) U: 0.084924 new V: 0.56178 > >  > > material 3 position: 0 , 1073 > > U: 0.303902 V: 1.00833 > > new (first division) U: 0.113197 new V: 0.502075 > > new (second division) U: 0.084924 new V: 0.720026 > >  > > material 3 position: 0 , 1073 > > U: 1.98863 V: 0 > > new (first division) U: 0.740719 new V: 0 > > new (second division) U: 0.555712 new V: 0.56178 > >  > > material 3 position: 0 , 1073 > > U: 1.98863 V: 1.00833 > > new (first division) U: 0.740719 new V: 0.502075 > > new (second division) U: 0.555712 new V: 0.720026 > >  > > material 2 position: 805 , 1609 > > U: 1.10381 V: 0 > > new (first division) U: 0.839221 new V: 0 > > new (second division) U: 0.905876 new V: 0.842408 > >  > > material 2 position: 805 , 1609 > > U: 0.788531 V: 1.00833 > > new (first division) U: 0.599517 new V: 0.502075 > > new (second division) U: 0.86142 new V: 0.921531 > >  > > material 2 position: 805 , 1609 > > U: 1.10381 V: 1.00833 > > new (first division) U: 0.839221 new V: 0.502075 > > new (second division) U: 0.905876 new V: 0.921531 > >  > > material 2 position: 805 , 1609 > > U: 0.788531 V: 1.00833 > > new (first division) U: 0.599517 new V: 0.502075 > > new (second division) U: 0.86142 new V: 0.921531 > >  > > material 2 position: 805 , 1609 > > U: 1.10381 V: 0 > > new (first division) U: 0.839221 new V: 0 > > new (second division) U: 0.905876 new V: 0.842408 > >  > > material 2 position: 805 , 1609 > > U: 0.788531 V: 0 > > new (first division) U: 0.599517 new V: 0 > > new (second division) U: 0.86142 new V: 0.842408 > >  > > material 5 position: 310 , 1675 > > U: 0.620122 V: 0 > > new (first division) U: 0.214271 new V: 0 > > new (second division) U: 0.346621 new V: 0.876963 > >  > > material 5 position: 310 , 1675 > > U: 2.51422 V: 1.26042 > > new (first division) U: 0.86874 new V: 0.557604 > > new (second division) U: 0.522895 new V: 0.942942 > >  > > material 5 position: 310 , 1675 > > U: 2.51422 V: 0 > > new (first division) U: 0.86874 new V: 0 > > new (second division) U: 0.522895 new V: 0.876963 > >  > > material 5 position: 310 , 1675 > > U: 2.51422 V: 1.26042 > > new (first division) U: 0.86874 new V: 0.557604 > > new (second division) U: 0.522895 new V: 0.942942 > >  > > material 5 position: 310 , 1675 > > U: 0.620122 V: 0 > > new (first division) U: 0.214271 new V: 0 > > new (second division) U: 0.346621 new V: 0.876963 > >  > > material 5 position: 310 , 1675 > > U: 0.620122 V: 1.26042 > > new (first division) U: 0.214271 new V: 0.557604 > > new (second division) U: 0.346621 new V: 0.942942 > >  > > material 4 position: 0 , 1675 > > U: 0.264336 V: 0 > > new (first division) U: 0.0851076 new V: 0 > > new (second division) U: 0.0245884 new V: 0.876963 > >  > > material 4 position: 0 , 1675 > > U: 2.37024 V: 1.26042 > > new (first division) U: 0.76314 new V: 0.557604 > > new (second division) U: 0.220478 new V: 0.942942 > >  > > material 4 position: 0 , 1675 > > U: 0.264336 V: 1.26042 > > new (first division) U: 0.0851076 new V: 0.557604 > > new (second division) U: 0.0245884 new V: 0.942942 > >  > > material 4 position: 0 , 1675 > > U: 2.37024 V: 1.26042 > > new (first division) U: 0.76314 new V: 0.557604 > > new (second division) U: 0.220478 new V: 0.942942 > >  > > material 4 position: 0 , 1675 > > U: 0.264336 V: 0 > > new (first division) U: 0.0851076 new V: 0 > > new (second division) U: 0.0245884 new V: 0.876963 > >  > > material 4 position: 0 , 1675 > > U: 2.37024 V: 0 > > new (first division) U: 0.76314 new V: 0 > > new (second division) U: 0.220478 new V: 0.876963 > >  > > material 1 position: 0 , 0 > > U: 1.89619 V: 0.303902 > > new (first division) U: 0.70629 new V: 0.113197 > > new (second division) U: 0.70629 new V: 0.0635917 > >  > > material 1 position: 0 , 0 > > U: 0.211469 V: 1.98863 > > new (first division) U: 0.0787676 new V: 0.740719 > > new (second division) U: 0.0787676 new V: 0.416121 > >  > > material 1 position: 0 , 0 > > U: 0.211469 V: 0.303902 > > new (first division) U: 0.0787676 new V: 0.113197 > > new (second division) U: 0.0787676 new V: 0.0635917 > >  > > material 1 position: 0 , 0 > > U: 0.211469 V: 1.98863 > > new (first division) U: 0.0787676 new V: 0.740719 > > new (second division) U: 0.0787676 new V: 0.416121 > >  > > material 1 position: 0 , 0 > > U: 1.89619 V: 0.303902 > > new (first division) U: 0.70629 new V: 0.113197 > > new (second division) U: 0.70629 new V: 0.0635917 > >  > > material 1 position: 0 , 0 > > U: 1.89619 V: 1.98863 > > new (first division) U: 0.70629 new V: 0.740719 > > new (second division) U: 0.70629 new V: 0.416121 > > global: 1073 , 1910 > > inserted texture 0 into atlas at position: 805 1073 > > inserted texture 1 into atlas at position: 0 0 > > inserted texture 2 into atlas at position: 805 1609 > > inserted texture 3 into atlas at position: 0 1073 > > inserted texture 4 into atlas at position: 0 1675 > > inserted texture 5 into atlas at position: 310 1675 > > > On Tue, Jul 22, 2008 at 4:30 PM, Paolo Cignoni <paolo.cignoni@...> > wrote: > >> skunkwerk wrote: >> > Hey Sebastian, >> > this one worked for me: http://www.akbars.net/10.zip >> > i've been testing with collada models from >> > sketchup.google.com/3dwarehousebut that's because my version of the >> > collada importer works ok with the >> > textures  i don't think the one in subversion has been fixed yet... >> > >> > try increasing the size of the texture atlas until i can get the >> resampled >> > tiles working. i'm going to test out the results on a simple box today >> > >> > paolo, the rect_packer.cpp has a bunch of asserts in it... i'd like to >> > change them to return false, so that the atlas will fail, but not crash >> > whenever some of the images are null, etc. the other way would be to >> try to >> > do those checks in the filter itself. which would you recommend? >> > >> > imran >> > >> > On Tue, Jul 22, 2008 at 3:25 AM, Sebastian Herholz < >> > sebastian.herholz@...> wrote: >> > >> > >> >> I have tried too the atlas builder but it failed to build a correct mesh >> (but without crashing :) ) on the very very simple model >> texturedouble.ply that you can find among the meshlab sample models. >> >> This model is composed by just two squares, each one of them textured >> with a different texture. >> your filter builds a correct atlas texture but it assigns wrong tex >> coords to the mesh. >> >> >> About the rect packer what are exactly the asserts that worry you? >> From what i could see you they trigger on very trashy situations that >> should be cleaned before (zero sized textures and so on). I could have >> missed some, so what assert()'s did you refer to? >> >> cheers >> >>  >> Paolo Cignoni  Senior Researcher >> Visual Computing Laboratory  ISTI  CNR >> http://vcg.isti.cnr.it/~cignoni <http://vcg.isti.cnr.it/%7Ecignoni>; >> >> ISTI  CNR >> Via Moruzzi 1, >> 56124 Pisa >> ITALY >> >> >>  >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblincontest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Meshlabdevel mailing list >> Meshlabdevel@... >> https://lists.sourceforge.net/lists/listinfo/meshlabdevel >> > > 