Advertisement

strange 3DS files

Started by February 02, 2004 02:06 PM
0 comments, last by Marty666 21 years, 1 month ago
Hi all, I''m coding a .3DS file loader right now. Everything goes fine untill I hit the materials chunk 0xAFFF. I want to skip this chunk, but the debugger says it read a chunksize of 0x000000E0 and after i read past it I get a chunk id that doesn''t exist. So i must have been at a wrong place in the file and probably the chunksize is set wrong. Anyone had this problem? please help. Chunksize should be: headersize(6) + datasize + subchunksizes, right? Thanx, Marty
_____ /____ /|| | || MtY | ||_____|/Marty
It works now. stupid mistake. For anyone that wonders. Chunksize is allways headersize + datasize + subchunksizes
_____ /____ /|| | || MtY | ||_____|/Marty

This topic is closed to new replies.

Advertisement