sphere mapping artifacts

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
Terry
Posts: 55
Joined: Wed Jan 27, 2010 6:16 am
Location: Peking/China

sphere mapping artifacts

Post by Terry »

Hi all,

I've tried to use EMT_SPHERE_MAP material,my model is a teapot,texture is given by irrlicht/media/spheremap.jpg,driver is ogl.But the effect is very bad.I'd like to know if i've made some errors?Anything else to do to use sphere mapping except to assign the material type.
Image
Rise and Rise Again Until Lambs Become Lions
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

Setting the material to EMT_SPHERE_MAP just applies the static sphere map (the texture) and uses normals of the mesh to do a sphere mapping effect. If you want reflection mapping that actually responds to the environment, check out dual paraboloid mapping, which is floating somewhere around the forums.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Actually, this seems like a bug. Because the appearance under DX is really different (and much more useful). I have the impression as if this is caused by the right-handedness of OpenGL. But I'm not sure, any help appreciated.
Post Reply