Pi3D: Sphere Texture Bug?
Posted: Wed Aug 12, 2015 1:02 pm
Hello!
This is my first forum post!
I am programming a external Navball for the game Kerbal Space Program. It should run on the raspberry pi with a little hdmi tochschreen display. I decided to use KRPC https://github.com/djungelorm/krpc to acess the game over python and pi3d https://github.com/tipam/pi3d to render the Spaceball. So i took the pi3d demo "orbit.py" and modified it to one spere with this texture:
I also took the angle data from the game to rotate the spere. So my program works but there is a big fault. At the top and the bottom of the spere the texture is blurred and distorted. So the angle markers in the texture are not at the proper place. I've tried everything but i can't find the bug. Is this maybe a bug in pi3d?
Picture of the rendered sphere with the blurred top:

Hope anyone can help me.
Thanks!
This is my first forum post!
I am programming a external Navball for the game Kerbal Space Program. It should run on the raspberry pi with a little hdmi tochschreen display. I decided to use KRPC https://github.com/djungelorm/krpc to acess the game over python and pi3d https://github.com/tipam/pi3d to render the Spaceball. So i took the pi3d demo "orbit.py" and modified it to one spere with this texture:

I also took the angle data from the game to rotate the spere. So my program works but there is a big fault. At the top and the bottom of the spere the texture is blurred and distorted. So the angle markers in the texture are not at the proper place. I've tried everything but i can't find the bug. Is this maybe a bug in pi3d?
Picture of the rendered sphere with the blurred top:

Hope anyone can help me.
Thanks!