高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】oddbviewport to glulooka
oddbviewport to glulookat
oddbviewport to glulookat
does anyone know how to interprete the oddbviewport so in opengl i can use glulookat.
i am playing around with this concept and hope it works, but so far not the most successfull at it so far.
so basically i am trying to figure out the following :
eye position, center (position looking at), up vector
so far i assume viewtarget would be center equivilant.
eye, and up i am still playing with but a little stuck at the moment.
cheers
jason
|