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.

Author
Message
Shady 2005 Simpson
22
Years of Service
User Offline
Joined: 26th Aug 2003
Location: Newcastle, England
Posted: 12th Nov 2003 19:47
Hi,
I have no clue what vertexes are, or how they're used, I was wondering if anyone could explain this to me or give me a link to something.

Thanx for any help.

hello moto
Shady 2005 Simpson
22
Years of Service
User Offline
Joined: 26th Aug 2003
Location: Newcastle, England
Posted: 13th Nov 2003 23:33
anyone?

hello moto
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 13th Nov 2003 23:40
All 3D models (referred to as OBJECTs by DarkBASIC) are made up of lots of triangles joined together. For example, a plane object is made up of two triangles joined together to make a square.

These triangles are composed of 3 vertexes (or verticies). Verticies are the points in 3D space which are joined together to make the triangle. Each vertex in a 3D world has an X, Y and Z coordinate, as opposed to 2D, where points only have X and Y coordinates.

Verticies can also have other properties such as color (or "diffuse"), alpha (transparency), shinyness (specular) and texture coordinates to tell DarkBASIC how the texture should be applied to the object and so on.

By using the memblocks commands, you can create custom 3D objects in code by specifying where the verticies are that make up the polygons (triangles) which make up the 3D model.


BLUE GUI Plugin: http://blue.robert-knight.net / BLUE IDE [href]http://blueide.sf.net/ - Replacement editor for DBPro[/href]
Shady 2005 Simpson
22
Years of Service
User Offline
Joined: 26th Aug 2003
Location: Newcastle, England
Posted: 14th Nov 2003 00:01
Thanks Rob, Do you know of anything that will help me to use them in DarkBASIC, tutorials etc.

Thanx.

hello moto
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 14th Nov 2003 00:31
Search the codebase for "memblocks" I posted a couple of tutorial / example snippets there.


BLUE GUI Plugin: http://blue.robert-knight.net / BLUE IDE [href]http://blueide.sf.net/ - Replacement editor for DBPro[/href]
Shady 2005 Simpson
22
Years of Service
User Offline
Joined: 26th Aug 2003
Location: Newcastle, England
Posted: 15th Nov 2003 19:50
@Rob:
Great, thanks, I'll have a little play with that.

@everyone who knows about vertexes (or vertices):
Anything else would be appreciated,

Thanx.

hello moto

Login to post a reply

Server time is: 2026-07-26 12:33:09
Your offset time is: 2026-07-26 12:33:09