3dsmax export OBJ object names

Hi people,



I'm trying to make use of the OBJ format (exported from 3dsmax 2009).



for some reason the object names do not work.



this is a sorta dirty fix.





in ObjToJME.java in methode processLine



if (parts[0].charAt(0) == '#'){
           if (parts.length >= 3) { // GWOBJ exporter from 3dsmax 2009 sets objectname in: # object <name>
              if ("object".equals(parts[1]) || "shape".equals(parts[1])) {
                  curObjectName = parts[2];
               }   
           }
            return;
        }



The exported that comes with 3dsmax2009 does not seem to export the tag "o" with the object name. i have contacted the developer of this exported to confirm this... did not hear anything yet.

Cheers

Make sure you have the most recent version of jME (update from SVN); this patch was just committed less than 2 weeks ago.

http://www.jmonkeyengine.com/jmeforum/index.php?topic=9990.0



Maybe its related…