johnvamba / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

Max3DS parser materialsList bug - WITH SOLUTION !!!!! Please update parser !!!!! #269

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load a Max3DS model and adding materialsList with materials names.

What is the expected output? What do you see instead?
Loaded model with textures.

What version of the product are you using? On what operating system?
latest SVN on Windows XP

Please provide any additional information below.
================== SOLUTION HERE: =========================
You can fix it by adding the following line of code (line 130, more or
less), I copy solution from Away3D Max3DS.as:

/* FIX: register material */
material.registerObject(mesh);

Original issue reported on code.google.com by makschm...@gmail.com on 15 Jun 2010 at 2:35

Attachments: