Loading 3d Models ( Milkshape and X files )
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
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]
-----------------------------
kevin@mayday-anime.com
http://games.mayday-anime.com
edit -- book title
[edited by - grasshopa55 on May 2, 2002 4:57:57 PM]
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.
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
-----------------------------
kevin@mayday-anime.com
http://games.mayday-anime.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement