« Return to Thread: Loading Object Files (.obj)

Re: Loading Object Files (.obj)

by Fabrice Closier :: Rate this Message:

Reply to Author | View in Thread

Well done!
However,  you may have made a little mistake in the parsing, your  
faces are flipped...
If the model is correct and have all faces unified,
then a,b,c needs to be b,a,c

Fabrice
On Feb 9, 2008, at 11:09 AM, Knut Urdalen wrote:

> Thanks for the feedback Jon and Fabrice.
>
> Here's an updated version supporting automatic material creation based
> on the Material Library File (.mtl) and grouping more objects into the
> same object file.
>
> Source: http://www.urdalen.com/lab/OBJ.as
> Test: http://www.urdalen.com/lab/objfish/
>
> Do you know about any libraries for extracting gzip files in AS3? This
> object file containing ~6000 triangles and is about 1.1MB in file  
> size.
> Using gzip on this simple format would help a lot on lowering the file
> size the client has to download.
>
> Best Regards,
> Knut Urdalen
> http://www.urdalen.com
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D@...
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

 « Return to Thread: Loading Object Files (.obj)