Rajawali / Rajawali

Android OpenGL ES 2.0/3.0 Engine
https://rajawali.github.io/Rajawali/
Other
2.35k stars 703 forks source link

Max3DSParser error #131

Closed electricpunch closed 12 years ago

electricpunch commented 12 years ago

I used several different 3d tree generators to create tree model and export it as .3ds file. First I created a tree without branches and it successfully works in Rajawali (size of model file was 3 kb). Then I created a tree with 2 branches and import it to Rajawali (size of this model was about 30kb), and after "start parsing" I get "ArrayIndexOutOfBoundsExceptions". I also tried to find tree models (lowpoly) on the web and all of them incorrectly displayed or also caused the error. Please fix Max3DSParser, because in the last build does not work even "monster_high.3ds".

MasDennis commented 12 years ago

I've committed a fix for this. Also make sure you download the latest binaries (build/rajawalilib.zip) and put them in your libs folder.