Why lines blinks in Irrlicht 1.2?

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Magnet
Posts: 101
Joined: Wed Sep 27, 2006 7:32 pm

Why lines blinks in Irrlicht 1.2?

Post by Magnet »

In my project I am using some materials: With reflection, with transparency.
Also i have one light node.
If am drawing line:

Code: Select all

SMaterial material;
material.Lighting = false;
material.Texture1 = driver->getTexture("../storage/elements/lineColors/col1.bmp");
driver->setMaterial(material);
driver->setTransform(video::ETS_WORLD, core::matrix4());
...
driver->draw3DLine(lastPos,pos);
...
my line draw, but with blinks!!
Why lines blinks in Irrlicht 1.2?
Magnet
Posts: 101
Joined: Wed Sep 27, 2006 7:32 pm

Post by Magnet »

In my scene I have:
1. Water with sphere map
2. Model for enviroment (with transparency)
3. One Light
4. Some small models

Line is blinks in Irrlicht 1.2!
Accidentally I am find decision what avoid problem:
I am add to scene big plane WITHOUT reflection, and move it below all scene :-). But i am not understand why it is worked????

Code: Select all

reliefMesh=smgr->addHillPlaneMesh("relief",
			dimension2df(4,4),
			core::dimension2di(149,149), 0, 0,
			core::dimension2d<f32>(0,0),
			core::dimension2df(1,1));

		reliefNode = smgr->addMeshSceneNode(reliefMesh->getMesh(0),0, 963852741);
		reliefNode->setPosition(vector3df(0,-100,0));
		
		reliefNode->getMaterial(0).Wireframe = true;
		reliefNode->getMaterial(0).Lighting = false;
Post Reply