Yesterday I was been confused by this problem too,
In my VC .net 2003, I change the project from MBCS to UNICODE, then everyhing 
is Ok. My OS is simplicific Chinese XP, VC .net too.
    If this trick can't solve your problem, maybe you should debug your program 
one step by one step. You can just try to print out your mesh's name first.

----- Original Message ----- 
From: "development" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, September 21, 2007 5:48 PM
Subject: [Lib3ds-devel] vertext normals and lib3ds


> Hi everyone,
> I've been trying to get vertex normals to work for sometime now, as
> the provided face ones seem a little flat. I noticed in he documentation a
> function called 
> void lib3ds_mesh_calculate_normals which is meant to calculate the vertex
> normals however I have no idea how to use this, I've searched google but to
> no avail. I could find only one example but this caused an error, it
> declared Lib3dsVector *normalL = malloc(3*sizeof(Lib3dsVector)*mesh->faces);
> in the function which isn't allowed in C (as far as I can see). Thanks
> 
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> lib3ds-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lib3ds-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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