assimp/assimp — pull request #204 by zhgw01 (2013-12-02 15:10:50+00:00)
Title: Fix Issue #201: When Obj texture map statement contains texture option, assimp will fail to import texture

Fix getTexture defect to get texture image url correctly

According to http://en.wikipedia.org/wiki/Wavefront_.obj_file#Texture_options, Texture map statement can contains various texture option, for example:

map_Ka -o 1 1 1 some.png

map_Kd -clamp on some.png

So we need to parse and skip this option, just keep the last part which is the url of image, otherwise we will get a wrong url like "-clamp on some.png".

Add Clamp option support for obj texture.

If texture option "-clamp on" is detected, we will set the texture mode to clamp.