OBJLoader doesn’t support 3ds Max’s # object

It looks like it assumes “o name” format, but this particular obj file from wavefront does not have them. Its structure looks like this:

# 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
# File Created: 11.10.2013 19:47:40

mtllib Alesia.mtl

#
# object Alesia_figure
#

v  14.700874 99.412476 -0.028355
v  7.184631 104.040680 -3.556595
...

so you see, objects are only marked in “comments”. Do you think it is good idea to extend regexp to support this?

Author: Fantashit

1 thought on “OBJLoader doesn’t support 3ds Max’s # object

  1. @NguyentuanMec With my PR #8691 code the model loads correctly. Though her eyes are completely white. Looks like the eyes material is using map_D that does not seem to be parsed at all by mtl loader, so probably that is the reason (?!).

    image

Comments are closed.