Skip to main content
gamedev.net
🔒 Locked

Data Structures for Models

Started by darthjoe 0 replies 450+ views
Original Post
darthjoe
darthjoe
I am interested to know if anyone knows of any good books or articles that discuss data structures for heirarchical models. I have "3D Games, Volume 1 : Real-time Rendering and Software Technology." It has a brief discussion. I was hoping to get a look at other approaches or more detailed descriptions. Thanks, -Joe Just Some Dude
Just Some Dude
TerranFury
TerranFury
Well, it seems to me that storing such a model would involve something like the following:

  
struct model
{
Triangle * data;
Point * origin;
Rotation * rotation;
Model * model;
};


Where origin[n] and rotation[n] are the origin and rotation of sub-model model[n]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.