Remember that 0x10000 is hex, which equals 65536 in decimal, which is
exactly the size of two bytes(=16 bits).
So I guess it's related to the size of some variable.
Hylke

On Wed, Mar 5, 2008 at 6:36 PM, thomas pleyber <[EMAIL PROTECTED]>
wrote:

> Hi there,
>
> I successfully load a .3ds model with lib3ds, and now I would like
> to write it back to a file. But I found a limitation :
>
> in mesh.c, in the function point_array_write(), we can see this :
>
> ASSERT(mesh->points<0x10000);
>
> That means, I can't write a file when a mesh get more than 10000 vertices.
> Someone could precise me if this problem is well-known and if there
> exist workarounds that do not alter the model structure (unlike splitting
> the mesh in less-than-10000-vertices meshes)
>
> any precisions would be appreciated
>
>
> Thomas PLEYBER
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> lib3ds-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lib3ds-devel
>
>


-- 
Blog: http://www.donkerdump.nl
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel

Reply via email to