Igor-Sunday Pandzic (Igor.Pandzic++at++cui.unige.ch)
Mon, 05 Feb 1996 07:49:49 +0100
Hi,
I had the same problem and solved it, as Jim Helman suggests, in DIY fashion.
Since I didn't know much about 3dStudio, or how to use the "group" information
provided, I made a solution that calculates the normal based on the
neighbouring polygons. To avoid the interpolation of the normal on
sharp edges (e.g. on a cube) there is a threshold angle. Since this
method takes a lot of time for a fairly complicated 3ds file, it
actually writes the normals into a file for subsequent use (i.e. if it
finds a .3dsn file it uses it, otherwise it creates it).
This is not the best soulution, but it worked OK for me. If anyone has
done something nicer I would be interested... Willing to send my version of
pf3ds.c.
Igor
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Igor Pandzic Igor.Pandzic++at++cui.unige.ch MIRALab University of Geneva tel. +41/22/705 76 56 24, rue General-Dufour 705 77 63 CH-1211 GENEVE 4 SWITZERLAND fax +41/22/705 77 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:21 PDT