Obj map_kd with scale


I have an object (obj) loaded through binaryImporter, for that object I have the following mtl

newmtl lambert2SG
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 10.00 10.00 10.00
map_Kd -s 0.1 0.1 cesped.png
Ni 1.00

the "-s 0.1 0.1" should refer to the scale that the obj will have to use the texture.

map_Kd -s 0.1 0.1 cesped.png

So, the problem here is that the importer thinks that "-s 0.1 0.1 cesped.png" is the name of the file.

I want to known, how can I scale my texture, cause I need to replicate a little square through my plane.
how can I do that?

Texture has a setScale Method:

Texture t;
// repeat a texture 5 times in every direction
t.setScale(new Vector3f(5,5,5));

I guess I should scale the texture on the mtl file.

is there a way?

The OBJ importer in jME doesn't fully support the spec… You will have to scale by code like core-dump said or edit the OBJ importer to support this feature.

does someone have this feature implemented?