|How To Setup Meshes|
Supplemental Object Documentation
The Mesh object is used to create physical objects not usually created by other formats.
Load a mesh file.
Move the mesh in any direction.
Render all or a specific mesh index.
Rotate the mesh around the position axis.
Set the position point of the mesh.
Set the camera relativity which binds the object.
Set the rotation factor of the mesh.
Set the scale size of the mesh.
Set a mesh shader.
Set a triangle vertices.
Set a vertex coordinates.
Unload the mesh.
The look-at point of a mesh.
The position point.
The camera relativity.
The rotation factor.
The shader objects.
The texture coordinate objects.
The vertices objects.
The number of vertices.
The volume objects.
The following example is based upon the engine being initialized at which point the sample mesh file is loaded, deformed, and displayed within the environment.
' Game Basic 3D Engine Build 4096 ' Copyright © Monarke Studios. All Rights Reserved. Private Mesh As New GameBasic3D.Mesh ' Engine.Initialize Mesh.Load "./.." ' Deform the mesh coordinates Mesh.SetVertex 1, X, Y, Z, U, V Mesh.SetVertex 2, X, Y, Z, U, V Mesh.SetVertex 3, X, Y, Z, U, V Mesh.SetVertex 4, X, Y, Z, U, V Do ' Engine.Begin Mesh.Render ' Engine.Synchronize Loop ' Engine.End Set Mesh = Nothing
Please note that the objects, and other various effects that can help extend the example are not entirely present but assume you're already familiar working with them. Please refer to the other online content, and technical reference included with the installation for further documentation.