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.

3 Dimensional Chat / Vertices on a plane

Author
Message
Robin Knox
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location:
Posted: 1st Jun 2007 22:23
I was wondering, this may be a silly question but why does the darkbasic plane have six vertices instead of four. Two in the bottom left, one on the top left, two on the top right and one on the bottom right. I would have thought four would be enough to manipulate the object.
Cheers Robin
Robin Knox
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location:
Posted: 2nd Jun 2007 02:07
Anybody?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Jun 2007 06:28
how did you evaluate this?
did you export a plane out as a mesh?

Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 2nd Jun 2007 15:51
DarkBasic outputs the data that you can alter from the VertexBuffer rather than the IndexBuffer.

You plane will have 4 Indicies, but 6 Vertices. As that's how the triangle strip outputs. The vertices from your models will always be output in multiples of 3.

Robin Knox
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location:
Posted: 3rd Jun 2007 02:18
Thanks Raven

Login to post a reply

Server time is: 2024-11-26 08:57:56
Your offset time is: 2024-11-26 08:57:56