Hello
I have the problem:
I load x-files in Irr 1.1 , with texture , with all.
The models are looking fine, for example: like metal,chrome, how I
like.
Now I try to do the same in Irr 1.4 and Irr 1.5 but the same model
are looking bad and very different,
I dont know where is the problem ?
Can somebody help me ?
thanks
asiatin
problem with irr 1.5 and x - files
Well, if you can post a link to the data you're using, we might be able to help !
Last edited by Piraaate on Thu Apr 09, 2009 5:16 pm, edited 1 time in total.
Hm, I loaded the model and it looked ok on first view, but I don't know how it should look like. I can't start the .exe as I do no longer have the old Irrlicht dll. Could you add 2 screenshots for the correct and wrong version? Or if you add the dll's to the download I can try starting those .exe once more.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
problem with x-files
thanks to you CuteAlien,
I can put the old DLL and the screenshots on 11.04.2009
thanks
asiatin
I can put the old DLL and the screenshots on 11.04.2009
thanks
asiatin
problem solved
the problem is soved !!!
I scale my model with 0.1 ,
in Irrlich 1.1 the result was ok
in Irrlich 1.5 the result was not ok
now I found here in the forum, in a post from Hybrid, that
if I scale a model, then I have to put the following FLAG after scaling.
EMF_NORMALIZE_NORMALS
I did it, and now its ok .
why in irrlicht 1.1 it was ok without EMF_NORMALIZE_NORMALS,
I don't know, but I know now why it's ok with EMF_NORMALIZE_NORMALS.
thanks for help
asiatin
[img]http://www.taisa.de\bad.jpg[/img]
[img]http://www.taisa.de\good.jpg[/img]
I scale my model with 0.1 ,
in Irrlich 1.1 the result was ok
in Irrlich 1.5 the result was not ok
now I found here in the forum, in a post from Hybrid, that
if I scale a model, then I have to put the following FLAG after scaling.
EMF_NORMALIZE_NORMALS
I did it, and now its ok .
Code: Select all
model3->setScale(core::vector3df(0.1f,0.1f,0.1f));
model3->setMaterialFlag( video::EMF_NORMALIZE_NORMALS, true );
model3->setMaterialTexture(1, driver->getTexture("../../media/sunsetsw.jpg"));
model3->setMaterialType(video::EMT_REFLECTION_2_LAYER );
model3->setMaterialFlag( video::EMF_LIGHTING, true );
I don't know, but I know now why it's ok with EMF_NORMALIZE_NORMALS.
thanks for help
asiatin
[img]http://www.taisa.de\bad.jpg[/img]
[img]http://www.taisa.de\good.jpg[/img]