i tryed to use this declaration in my engine and is works fine.
i can insert this declaration in engine if someone will be interested.
but in will take a lot of time
Search found 3 matches
- Tue Nov 03, 2009 3:12 pm
- Forum: Advanced Help
- Topic: Vertex Declaration for Irrlicht
- Replies: 5
- Views: 1639
- Tue Nov 03, 2009 3:06 pm
- Forum: Advanced Help
- Topic: Vertex Declaration for Irrlicht
- Replies: 5
- Views: 1639
- Tue Nov 03, 2009 12:29 pm
- Forum: Advanced Help
- Topic: Vertex Declaration for Irrlicht
- Replies: 5
- Views: 1639
Vertex Declaration for Irrlicht
this if my method how to add vertex declaration to Irrlicht
IMeshBuffer:
enum VertexType
{
Position, Normal, TexCoord ....
}
struct VertexChannel
{
int Stride;
char* VertexPointer;
VertexType Type;
}
class IVertexDeclaration
{
public:
virtual int getStride();
virtual int ElementOffset ...
IMeshBuffer:
enum VertexType
{
Position, Normal, TexCoord ....
}
struct VertexChannel
{
int Stride;
char* VertexPointer;
VertexType Type;
}
class IVertexDeclaration
{
public:
virtual int getStride();
virtual int ElementOffset ...