-
Junior Member
Regular Contributor
what do I need for an object ?
I want to make an object class but what do I need in it ?
class OGL_Object {
int *Index;
OGL_Vector *VertexList;
OGL_Vector *VertexNormals;
OGL_Color *Color;
void ReadObj(char *AseFile, char *ObjName);
void Draw();
};
thats how it looks at the moment but what do I need to add to use textures and stuff ? anyone else gott a class like this ? what do you have in yours ?
-
Re: what do I need for an object ?
Look at the NeHe object loading tutorial.
-
Junior Member
Regular Contributor
Re: what do I need for an object ?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules