Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Is there a way to create shared vertices for memblock?

Author
Message
Skywriter
16
Years of Service
User Offline
Joined: 27th Aug 2008
Playing:
Posted: 3rd Jan 2010 10:01
I have created a simple plane consisting of 2 triangles, which has 6 vertices, but 4 vertices are sharing same position but different vertice number. So when i move those vertices(that share same position) it moves vertices separately. So is there a way to make those vertices (that share the same location) move together by some simple command,(i mean like one vertex)?

Sky
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 3rd Jan 2010 18:05
I'm sure there is, and I think IanM shared the code. I can't find it, but would like to see it myself if anyone uncovers it.

Skywriter
16
Years of Service
User Offline
Joined: 27th Aug 2008
Playing:
Posted: 4th Jan 2010 09:16
I think there is something to do with the index buffer or indexes, as it's said at http://www.toymaker.info/Games/html/buffers.html. Maybe someone has an implementation sample or other ideas...?

Sky

Login to post a reply

Server time is: 2024-11-24 20:41:19
Your offset time is: 2024-11-24 20:41:19