Hmm. That seems to be a simplified version of my algorithm, and as such, I'm getting the same strange output.
I've programmed my owner rasteriser etc. for texture mapping a sphere. When I rotate it by incrementing t, the output is good:
http://www.youtube.com/wat
but when I increment about p, the output is odd:
http://www.youtube.com/wat
any ideas??
Main Topics
Browse All Topics





by: ozoPosted on 2009-09-16 at 10:29:51ID: 25347954
p%=2*pi
if p>pi:
p=2pi-p
t+=pi