16 reputation
3
bio website
location Bilbao, Spain
age 24
visits member for 2 years, 11 months
seen Oct 6 '11 at 21:41

Sep
28
awarded  Student
Sep
7
comment Rotation deforming mesh (Opengl ES 2.0)
Any tips on how to debug problems with the depth buffer would be appreciated :-)
Sep
6
comment Rotation deforming mesh (Opengl ES 2.0)
A quick note about the videos, the first video is rotating about the y-axis, the second one about the x-axis. The y axis is still getting deformmed with the matrices on those slides, it just looks different. For some reason, x-axis rotation looks the same whether I get the matrix with the formula on those slides(Rodrigues formula) or I get it from the quaternions (it's just a lot faster with quaternions).
Sep
6
comment Rotation deforming mesh (Opengl ES 2.0)
@Roy T. Opengl is reporting no errors, so I'd think the depth buffer is alright, I'm calling glEnable(GL_DEPTH_TEST) and glDepthFunc(GL_LEQUAL) before doing any drawing, and glClear with the depth buffer bit every frame, may I be missing something there?
Sep
6
comment Rotation deforming mesh (Opengl ES 2.0)
@zacharmarz I've tried changing the rotation matrix to the matrix on those slides, I was getting the rotation matrix from some quaternions on the first video. The deformation persists with the new matrix, it's just... different, it seems to be flattening at some point, even though part of the rotation process looks perfect :-/. This is a video of it (about the x-axis, using the arbitrary axis formula, it looks pretty similar with the x-axis rotation formula) link
Sep
5
asked Rotation deforming mesh (Opengl ES 2.0)
Aug
16
awarded  Editor
Aug
15
awarded  Teacher
Aug
15
answered What are some good jquery/javascript game engines?