Dear all,
I'd like to submit the following patches to the 3DS loader and to the
ssgaShapes:
ftp://ftp.cira.it/download/lepa069/ssgLoad3ds.diff
ftp://ftp.cira.it/download/lepa069/ssg3ds.diff
ftp://ftp.cira.it/download/lepa069/ssgaShapes.diff
Files will be there for a couple of days, yet I can renew the post.
What is new in this version:
- 3DS loader: a further way to describe hierarchy is now managed, namely
the mechanism based on the $$$DUMMY object name;
- 3DS loader: a global flag variable _3DS_use_smoothing_groups is
exposed to control wether using smoothing group information found in the
3DS file or not. It's desirable to route such flag and the crease angle
value to the 3DS and the other loaders through the ssgLoaderOptions
mechanism;
- ssgaShapes: ssgaCube::regenerate() has been completely rewritten since
the previous version showed sort of smooth normals between some couple
of faces due to the reuse of some vertices, and texture coords were
broken for some faces;
- ssgaShapes: I have inverted normals in ssgaCylinder::regenerate() -
now lighting seems in the correct way.
If agreed on the modifications I kindly ask somebody to commit them for
me. Thanks in advance.
Greetings -
Paolo Leoncini
------------------------------------------------------------------------
-
Paolo Leoncini phone: +39 (0823) 623134
Visualization & Virtual Reality fax: +39 (0823) 623126
CIRA - Italian Center for Aerospace Researches mailto:p.l...@ci...
Via Maiorise - 81043 Capua (CE) Italy http://www.cira.it
|