I'm currently developing an irrlicht-based editor for a project of mine. Unfortunately I recognized some graphical issues when running the program on laptops with INTEL Graphics units.
On my desktop pc with nvidia gtx 295 everything looks as intended:
but when I try it on a DELL netbook or laptop these strange culling issues occur:
Is this a known problem or do I just miss something? Does anyone has a clue what is going on?
creation of the device
Code: Select all
dev = createDevice(EDT_OPENGL,dimension2d<u32>(800,600),16U,false,false,false,receiver);
Code: Select all
ISceneNode* scenenode = 0;
IMesh* mesh = p_smgr->getMesh(mesh_path);
if(!mesh)
{
stringw msg = L"[SceneGraph] (ERROR) Couldn't load mesh file: ";
msg+= stringw(mesh_path);
//CLogger::getLog(0)->add(msg.c_str());
return 0;
}
ITriangleSelector* tri_selector = 0;
if(createWithTangents)
{
IMesh* tangentMesh = p_smgr->getMeshManipulator()->createMeshWithTangents(mesh);
scenenode = p_smgr->addMeshSceneNode(tangentMesh);
tri_selector = p_smgr->createTriangleSelector(tangentMesh, scenenode);
scenenode->setTriangleSelector(tri_selector);
tri_selector->drop();
tangentMesh->drop();
}
else
{
scenenode = p_smgr->addMeshSceneNode(mesh);
tri_selector = p_smgr->createTriangleSelector(mesh, scenenode);
scenenode->setTriangleSelector(tri_selector);
tri_selector->drop();
}