Hey,
I modelled a couple of meshes for a mini-golf simulation and load them using smgr->getMesh(path.c_str()); smgr->addAnimatedMeshSceneNode(..); node->setMaterialFlag(video::EMF_NORMALIZE_NORMALS, true);
The models look quite alright in blender with the normals on the outside etc.. but in Irrlicht the hole mesh looks like the light source was to the far left ( I put a light in every direction at infinite distance to achieve equal illumination ). The slope mesh looks alright. The problem does not apear if I switch "Set Smooth" off in Blender. The meshes are exported as Wavefront OBJ.
http://home.in.tum.de/~dummerm/download/slope.obj
http://home.in.tum.de/~dummerm/download/hole.obj
Thanks
Models with strange lighting behaviour
-
- Posts: 69
- Joined: Sun Oct 12, 2003 3:42 pm
- Location: Germany
well I would have something to do with smoothing groups but you say you tested that? (I'm a maxer not a blender-er).
btw judging from the FPS and the visible polys I can see on the round piece - it looks way too high poly for a game imo. Should be able to get away with at least half of those sections on the round part and still look good (with a good texture and smoothing)
btw judging from the FPS and the visible polys I can see on the round piece - it looks way too high poly for a game imo. Should be able to get away with at least half of those sections on the round part and still look good (with a good texture and smoothing)
-
- Posts: 69
- Joined: Sun Oct 12, 2003 3:42 pm
- Location: Germany