VAO/VBO problem (possible Mesa bug?)

Asher Gordon <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
Hello,

I'm a beginner to OpenGL. I have been working on a game called
Berusky 2[1] (not written by me), and there is a problem I have been
trying to fix. The problem is, when some walls are looked at from a
certain camera angle, they appear to move. See the following screenshot
for an illustration of what I mean:

The above is from level 200 (run 'berusky2 level200').

The problem persists even when I use the latest Mesa from git (currently
commit 9daeb50).

glDrawElements() is called in ber_kresli_mesh_array() in
src/komat/Berusky3d_render.cpp. The vertices are in
'p_mesh->p_vertex_pos'. However, I have found that the vertices are
always the same, even when the camera is positioned so that the wall
moves as described above. Could this possibly be a bug in Mesa?

The source code for Berusky 2 is available at
https://github.com/stransky/berusky2.

Thanks in advance,
Asher

P.S. Originally, I attached an animated GIF, but that caused my message
to be rejected because it was too large. Hopefully, you can still get
the idea from the screenshot.


Footnotes: 
[1]  https://anakreon.cz/?q=node/2

-- 
Steal this tagline.  I did.
                               --------
I prefer to send and receive mail encrypted. Please send me your
public key, and if you do not have my public key, please let me
know. Thanks.

GPG fingerprint: 38F3 975C D173 4037 B397  8095 D4C9 C4FC 5460 8E68

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
screenshot.png (image/png, 56.8 KB) - not displayed
signature.asc (application/pgp-signature, 227 B)
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQQ485dc0XNAN7OXgJXUycT8VGCOaAUCXqClsAAKCRDUycT8VGCO
aKauAQCW7bQnxY96VCfzOp/8UtCQXowqo4Hd+e3B+AgmJhqVFQD8CpQ/G0moNifx
A2Zb7ERcwP7mxo81MInenZlL11lKDwI=
=Wy6I
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.