skunkwerk wrote:
> Hey Sebastian,
> this one worked for me: 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 <
> seb...@go...> 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
ISTI - CNR
Via Moruzzi 1,
56124 Pisa
ITALY
|