
Still no success, I'm really getting frustrated
Hi guys,
You may remember I posted about 10 days ago about loading 3D Studio Max files. I still haven''t resolved the problem, and I don''t think I''ve even isolated it
I have another program (3D Exploration shareware) that can read the model and output the data to a CPP file, so I can see what the data is. When I try and read the data myself though, particularly the Face chunk, I can read in the first 9 faces data correctly, and then the numbers go thru the roof. I''m getting values of about 46000, when it''s a simple 2 object model.
Now I''m pretty sure the file isn''t corrupt, because 3D exploration can read the model correctly. I had another problem earlier where I wasn''t allocating enough memory for my array for the vertices, and this seemed to alter the data I was reading from the file. Is this possible? And is it possible that I have another memory/other bug that is in no way related to the problem I''m getting?
I really can''t see where in my code I go wrong. I scan the file first to find out how much space I need for vertices and faces, and then I go back thru the file and read the data in, and the data is corrupted half way thru.
If anyone can give me a suggestion, I''d appreciate it greatly.
Thanks
$£¥
We scratch our eternal itch
A twentieth century bitch
We are grateful for
Our Iron Lung

We scratch our eternal itchA twentieth century bitchWe are grateful forOur Iron Lung
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement