I've since realized that when I import this .OBJ file from NEMS Terrain Generator into Blender, I only get the mesh and not the textures, similar to what I think I saw in Away3D.
A couple of simpler questions might help me here with my first attempt at making a terrain: 1) In an OBJ file, are the textures normally included in the OBJ file? How are they normally loaded (e.g. referenced by some string passed to the Init object somehow? Are they automatically handled by the loader? Do I need to do something? Etc.)? 2) What do other folks use to generate a terrain? I'm just looking for something reasonably straight forward to get my first learning experience off the ground. Nem's seemed so intuitive and easy to learn, but I'm not sure if it will work well now. Thanks! Dave From: David Parks [mailto:[email protected]] Sent: Monday, July 20, 2009 3:31 PM To: '[email protected]' Subject: Error loading a terrain mesh I'm new here, and learning how to create a terrain mesh for the first time. I used a free tool called "Nem's mega 3D terrain generator" to quickly generate a terrain mesh & texture in OBJ format. I assume that the texture is embedded in the OBJ file (but again, first time doing this for me). When I run: Obj.load("../resources/demoTerrain.obj"); I get a number of pop up error messages (also shown in the console) with this text: Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found. The odd thing is that sometimes, for maybe a second before I see this error pop up, I see the mesh with a default wire frame show up on screen as expected. Maybe 1 in 4 times I see the mesh before the error, the other times the error pops up before the mesh is rendered. Any thoughts on this? I'm not sure where to look, the debugger doesn't even catch this error as an exception, so I'm having troubles tracking down the problem. My best guess is that it has something to do with loading the textures from the OBJ file. Thanks, David p.s. I notice that most tutorials show a material being defined in the Init object passed to the load function. But it hasn't been clear to me exactly what the requirements around textures are, specifically I noted that an Object3D object doesn't have a material property, which made me confused about how the Obj.load function uses the material property in the Init object to apply the material.
