I have 3D Studio Max version 7.0
I created a box and exported it into *.3ds and moved it into media folder. Compiled my program, but it ran without the good brick texture. The console wrote, that it cannot find grydirt1.jpg
I found it in 3Dsmax folder and copied it into media folder. I executed my program, and console wrote:
Error: Parallax map render only supports vertices of type EVT_TANGENS
What can I do with it?
Error: Parallax map render...
-
- Posts: 153
- Joined: Mon Mar 03, 2008 8:42 am
- Location: Suceava - Romania
- Contact:
Code: Select all
mesh = device->getSceneManager()->getMesh("brick.x");
((scene::ISkinnedMesh*)mesh)->convertMeshToTangents();
That should fix your problem.
Console is writing:
...
Could not open file of texture: STUCCO.jpg
Loaded texture: ../../media/STUCCO.jpg
Could not open file of texture: STUCCO.jpg
Loaded mesh: ../../media/mesh.3ds
Needed 0ms to create OctTree SceneNode. <1 nodes, 60 polys>
Needed 0ms to create OctTreeTriangleSelector. <1 nodes, 60 polys>
Error: Parallax map render only supports vertices of type EVT_TANGENS
Error: Parallax map render only supports vertices of type EVT_TANGENS
Error: Parallax map render only supports vertices of type EVT_TANGENS
Error: Parallax map render only supports vertices of type EVT_TANGENS
... and so on...
...
Could not open file of texture: STUCCO.jpg
Loaded texture: ../../media/STUCCO.jpg
Could not open file of texture: STUCCO.jpg
Loaded mesh: ../../media/mesh.3ds
Needed 0ms to create OctTree SceneNode. <1 nodes, 60 polys>
Needed 0ms to create OctTreeTriangleSelector. <1 nodes, 60 polys>
Error: Parallax map render only supports vertices of type EVT_TANGENS
Error: Parallax map render only supports vertices of type EVT_TANGENS
Error: Parallax map render only supports vertices of type EVT_TANGENS
Error: Parallax map render only supports vertices of type EVT_TANGENS
... and so on...
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
I think it's a pretty silly idea to put 60 polys into an octree... Try without. And which version of Irrlicht do you use? What's the actual code you're using?
The SVN trunk version of Irrlicht already supports the automatic conversion of 3ds and obj meshes if the material is properly defined. You might want to try it.
The SVN trunk version of Irrlicht already supports the automatic conversion of 3ds and obj meshes if the material is properly defined. You might want to try it.