devkitPro / citro3d

Homebrew PICA200 GPU wrapper library for Nintendo 3DS
zlib License
248 stars 35 forks source link

vertex data changed every frame, but lost last triangles #10

Closed masterhou closed 7 years ago

masterhou commented 8 years ago

I write a metaball. The vertex data will be changed every frame, some hole in holes, like screenshot. when I stop change vertex data, it ok. C3D_DrawArrays(GPU_TRIANGLES, 0, metaballs->numVertices); I think numVertices is not upload correct number, less. Then I add some, will better. C3D_DrawArrays(GPU_TRIANGLES, 0, metaballs->numVertices+120); wechat_1465712036

Cruel commented 8 years ago

Will need a lot more example code to help reproduce this error.

masterhou commented 8 years ago

Example here: https://github.com/masterhou/Blobs.git

mtheall commented 8 years ago

The screenshot appears like you are intersecting the near clip plane.

masterhou commented 8 years ago

Not intersecting the near clip plane. When stop changed vertex and rotate, then holes are disappeared.

fincs commented 7 years ago

Did anybody ever reproduce similar issues? I suspect this is user error.

fincs commented 7 years ago

Closing due to lack of information and interest. If anyone experiences a similar problem, please open a new issue.