Hi, I hate to ask simple questions, but, well, here goes.
I have an OBJ mesh generated by the terrain generated L3DT, and I have a separate JPG texture map it generated. It does not generate an MRT file (I'm not familiar with what that is, but I have seen it mentioned in relation to OBJ files). As far as I can see the OBJ file has no reference to the JPG. I can import the OBJ mesh just fine, but I haven't found a good example of how to apply the texture. I just need to load the mesh and materials from a URL at runtime. But the Object3D provided by the loader only has a null-value MaterialsLibrary object which I haven't been able to work out how to use. Other examples only apply textures to primitives which all have a primObj.material attribute - unlike the Object3D in which the mesh is stored. Also I notice there's a TextureLoader class as well as a BitmapMaterialFile class. I don't understand if one is better to use over the other, or even if they do similar or different things (I haven't noticed any docs for TextureLoader). I have loaded the material into the BitmapFileMaterial class successfully, but haven't gotten that to apply to my Object3D mesh yet. If there's a document or tutorial that I missed I would love to know about it. I've been through the code examples and tutorials on away3d.com site so far and am still scratching my head. Thanks as always! David
