Error: Parallax map render...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
zthom
Posts: 8
Joined: Sun Jul 06, 2008 12:57 pm

Error: Parallax map render...

Post by zthom »

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?
night_hawk
Posts: 153
Joined: Mon Mar 03, 2008 8:42 am
Location: Suceava - Romania
Contact:

Post by night_hawk »

Code: Select all

mesh = device->getSceneManager()->getMesh("brick.x");
((scene::ISkinnedMesh*)mesh)->convertMeshToTangents();
Where mesh is scene::IAnimatedMesh*.

That should fix your problem.
zthom
Posts: 8
Joined: Sun Jul 06, 2008 12:57 pm

Post by zthom »

Thank you, but it is still doing the same :(
zthom
Posts: 8
Joined: Sun Jul 06, 2008 12:57 pm

Post by zthom »

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...
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

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.
zthom
Posts: 8
Joined: Sun Jul 06, 2008 12:57 pm

Post by zthom »

I am using the (i think) newest version, 1.4.1
Post Reply