dletozeun
03-02-2008, 01:07 PM
Hello,
I am using cube mapping in an openGL demo and when I render just a solid sphere which reflects perfectly the cube map, I see some artifacts showing the cube borders:
http://img504.imageshack.us/img504/4893/capturevr7.th.png (http://img504.imageshack.us/my.php?image=capturevr7.png)
The cube map is loaded from a vertical cross picture. I coded a special function that extract each side of the cube to give it to openGL. In my opinion this function works well, I don't see anything bad in it (I won't post the code here for now because it is a little complicated, but I can do it if someone wants).
Just seeing the attached screenshot, does someone know the problem?
thank you for your help.
I am using cube mapping in an openGL demo and when I render just a solid sphere which reflects perfectly the cube map, I see some artifacts showing the cube borders:
http://img504.imageshack.us/img504/4893/capturevr7.th.png (http://img504.imageshack.us/my.php?image=capturevr7.png)
The cube map is loaded from a vertical cross picture. I coded a special function that extract each side of the cube to give it to openGL. In my opinion this function works well, I don't see anything bad in it (I won't post the code here for now because it is a little complicated, but I can do it if someone wants).
Just seeing the attached screenshot, does someone know the problem?
thank you for your help.