On Tue, Jun 05, 2007 at 08:54:12AM +0900, Miles Bader wrote:
> I wonder if anybody on this list could offer their wisdom...
> 
> I've noticed funny artifacts from a scene loaded from a 3ds file and I'm
> trying to figure out if it's something wrong with my loading or with the
> 3ds file or ...
> 
> In the following picture:
> 
>    http://www.deviantart.com/deviation/56860828/
> ....
> The vertex normals in both spheres are calculated using the same
> simple algorithm which just averages the face normals (I don't use the
> lib3ds normal calculation).

The environment map is sampled in an irregular manner, so it's
definitely a problem with the normals. Without seeing the normal
calculation code it's hard to be more specific though. Check out that
everything is normalized (that includes the face normals before
averaging).

-- 
John Tsiombikas (Nuclear / Mindlapse)
[EMAIL PROTECTED]
http://nuclear.demoscene.gr/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel

Reply via email to