they are optional where usage is limited to geometry. Lots of apps from the 
late 80's were not able to display textures, explaining why its in the specs as 
optional.
in Away you expect the engine to display the meshes with textures. and to do 
this you need uv's. For the generic molehill implementation that we have now 
its a must
In f10, a mesh with no uv's would trigger errors as well.

As said in previous mail, I'll add default uv's generation in case they are 
missing. Which was the case in f10/f9 version of the ObjParser
They will be default ones, meaning you will have a weird display unless if the 
maps are unicolor.

till then, no uvs: no display.

Fabrice


On Mar 16, 2011, at 1:52 AM, Ken Railey wrote:

> FWIW, according to the wavefront obj spec[1], vt coordinates are optional, so 
> the file seems to be correct.
> 
> [1] http://www.martinreddy.net/gfx/3d/OBJ.spec
> 
> -Ken
> 
> 
> On Tue, Mar 15, 2011 at 11:33 AM, Fabrice3D <[email protected]> wrote:
> this obj file is incorrect: doesn't hold vertices texture (uv's) tag starting 
> as vt
> 
> we could ensure defsault uv's are set... will look at this later on.
> but for now you know why it doesn't load.
> 
> Fabrice
> On Mar 15, 2011, at 4:39 PM, pcarret wrote:
> 
> >
> > I'm currently trying under Eclipse + Flex 4 the broomstick samples
> > http://code.google.com/p/away3d/source/browse/trunk/broomstick/Examples/?r=2905
> >
> > I always test obj file with MeshLab beffore away3d.
> > I've tried to change LoaderOBJTest with other obj (cessna.obj on the
> > net) without success (except teapot.obj) and at the end with a simple
> > obj file from http://fr.wikipedia.org/wiki/Objet_3D_%28format_de_fichier%29:
> >
> > # cube.obj
> > #
> >
> > g cube
> >
> > v  0.0  0.0  0.0
> > v  0.0  0.0  1.0
> > v  0.0  1.0  0.0
> > v  0.0  1.0  1.0
> > v  1.0  0.0  0.0
> > v  1.0  0.0  1.0
> > v  1.0  1.0  0.0
> > v  1.0  1.0  1.0
> >
> > vn  0.0  0.0  1.0
> > vn  0.0  0.0 -1.0
> > vn  0.0  1.0  0.0
> > vn  0.0 -1.0  0.0
> > vn  1.0  0.0  0.0
> > vn -1.0  0.0  0.0
> >
> > f  1//2  7//2  5//2
> > f  1//2  3//2  7//2
> > f  1//6  4//6  3//6
> > f  1//6  2//6  4//6
> > f  3//3  8//3  7//3
> > f  3//3  4//3  8//3
> > f  5//5  7//5  8//5
> > f  5//5  8//5  6//5
> > f  1//4  5//4  6//4
> > f  1//4  6//4  2//4
> > f  2//1  6//1  8//1
> > f  2//1  8//1  4//1
> 
> 

Reply via email to