CodeBase - Several Vertex Manipulation Functions

Return to the CodeBase listing

Category: Animation

Version: 1.0

0
0

Information

Uploaded: 3rd Jan 2004 20:13

Modified: 1st Jan 1970 01:00

Author:  Preston C

Summary

Manipulate your objects vertices with these functions!

Full Description

This code was programmed by Preston "NWC_Omega" Chaderton. Special Thanks To TheDarthster for assisting me in the creation of this library and explaining to me what format the make memblock from mesh command uses.<br /> <br /> This library will give you direct access to your objects vertex data.<br /> It does this by making a mesh, then memblock from the mesh, then editing<br /> the mesh data in the Memblock.<br /> <br /> The Library Contains the Following Functions<br /> PositionVertex(Object Number,Vertex Number,X Position,Y Position,Z Position)<br /> -Positions Vertex at Specified Coordinate<br /> SetVertexNormals(Object Number,Vertex Number,X Normal,Y Normal,Z Normal)<br /> -Sets the Vertices Current Normals<br /> SetVertexUV(Object Number,Vertex Number,U Coordinate,Y Coordinate)<br /> -Sets the Vertices Current UV Texture Coordinates<br /> VertexPositionX(Object Number,Vertex Number)<br /> -Returns the Vertices X Position<br /> VertexPositionY(Object Number,Vertex Number)<br /> -Returns the Vertices Y Position<br /> VertexPositionZ(Object Number,Vertex Number)<br /> -Returns the Vertices Z Position<br /> VertexNormalX(Object Number,Vertex Number)<br /> -Returns the Vertices X Normal<br /> VertexNormalY(Object Number,Vertex Number)<br /> -Returns the Vertices Y Normal<br /> VertexNormalZ(Object Number,Vertex Number)<br /> -Returns the Vertices Z Normal<br /> VertexU(Object Number,Vertex Number)<br /> -Returns the Vertices Current U Texture Coordinate<br /> VertexV(Object Number,Vertex Number)<br /> -Returns the Vertices Current V Texture Coordinate<br />

Comments

No comments yet.