Archived

This topic is now archived and is closed to further replies.

Loading 3d Models ( Milkshape and X files )

This topic is 5708 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, i''ve been having problems with loading files. First I''ve tried loading Milkshape files. That''s cool and all, i''ve been able to read and then render objects but for some bizzare reason I can''t seem to render the skin that goes along with it. Anyone have a similar problem, or have and ideas. From my debugs i''ve noticed that something is loaded and the dxtex is created properly, and when the class is called to render, the approraite render calls are made to declare the stored tex as the skin. Also, anyone know any good places for x files tutorials?? Microsoft tutorials as usual are very complex, use mfc, and for somereason are spread across 30 files that arn''t included (exageration). If someone has a class/function i could look out for loading x files that would be cool. I don''t rip code, i usually rewrite it because I like to understand this and incoperate it into the way my programs flow, but it will be your code i''d be using if you provide an example. So with that note, thanks in advance. -Scott

Share this post


Link to post
Share on other sites
I really can't help you with MilkShape, but with X files, the book "Special Effects Game Programming With Direct X 8." has a whole chapter on loading X files. It is very simple if you use the D3DX functions. Take a look at that book and the SDK documentation on the D3DXLoadMeshFromX() functions. Good Luck.

-----------------------------
kevin@mayday-anime.com
http://games.mayday-anime.com

edit -- book title

[edited by - grasshopa55 on May 2, 2002 4:57:57 PM]

Share this post


Link to post
Share on other sites
grasshopa, you sure you didn''t mean another book? I have a lot of game programming books but while looking through special effects gping, i couldn''t find anything on laoding mesh files. RPG Game programming does and so does the zen and multiplayer gp but special effects game programming doesn''t include anything on it although it does use cd3dxmesh or something to load mesh files.

Share this post


Link to post
Share on other sites
No, I mean the Mason''s book. There is a whole chapter in the beginning half of the book dedicated to models and loading models. I think its in Chapter 6. I''ll take a look more when I get home.

-----------------------------
kevin@mayday-anime.com
http://games.mayday-anime.com

Share this post


Link to post
Share on other sites