away3d / away3d-core-fp11

Away3D engine for Flash Player 11
http://www.away3d.com
Other
640 stars 273 forks source link

Max3DSParser parse error #363

Closed liaocheng closed 11 years ago

liaocheng commented 12 years ago

I use Max3DSParser in gold release to parse this model : https://github.com/liaocheng/away3d-particles-system/raw/master/example/snow/model/snow.3ds The output has 396 vertices .

But if I use the beta version to do this , the output has 24 vertices .

In Autodesk 3ds max , it has 24 vertices .

richardolsson commented 12 years ago

That's interesting! I will have a look.

80prozent commented 11 years ago

I just tested with both the Master and the dev branch and got the same results for both.

With both parsers i have 132 verticles and 44 faces.

Seams like the file contains 24 verticles, but no smoothing-groups. Without smoothing-groups, the 3ds-parser seams to create 3 verticles per triangle ("exploded" mesh). I think this is expected behavior for 3ds. To minimize the verticle-count, we can apply the Weld Command on the imported geometry, but better is using AWD in the first place.