bump mapping and Octtree creation

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
ebol

bump mapping and Octtree creation

Post by ebol »

Hi! I was trying to modify the Per pixel lighting demo, so it would use a scene mesh optimized by an OctTree instead of non-optimized. So I just changed "addMeshSceneNode" to "addOctTreeSceneNode", but it builds no tree and crashes :( Does any one have an idea how to use bump mapping(or parallax) and optimize a scene by an OctTree?? I would be glad if someone helped...
r3i
Posts: 147
Joined: Wed Jun 29, 2005 10:15 am
Location: Sorrento
Contact:

Post by r3i »

I 've the same problem: do you use irrlicht9 or 10 ?
Have you all the textures for the mesh ??
It seem that having no textures or only someone make problems.

:?:
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

its because of niko's inflexible vertex types. octree scene node can use S3DVertex or S3DVertex2TCoords, but AFAIK he never put in the code to allow it to use vertices with tangents
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
ebol

Post by ebol »

so is there no way to do it? :(
Post Reply