1999-10-29 Kuba Winnicki * io-a3ds.c (load_model): When no surfaces found, generate default one and use it. * io-a3ds.c (load_model): Workaround for lack of 0030 chunk in afff chunk. 1999-10-29 Kuba Winnicki * io-a3ds.c: Surface loader almost complete. A lot of redesign in whole file. 1999-10-28 Kuba Winnicki * io-lwob.c (load_model): Specular and diffuse set to default max value if proper chunk not found. * io-lwob.c (load_model): Fix possible crash for surfaces with less than 3 vertices. They are skipped now. 1999-10-27 Kuba Winnicki * io-a3ds.c: Lots of stuff for surface loader for 3ds rolled in. 1999-10-26 Kuba Winnicki * io-a3ds.c: Started work on surface loader for 3ds module. 1999-10-25 Kuba Winnicki * io-lwob.c: Surface order now matches order in SRFS chunk, instead of order of SURF chunks. This way surfaces in penguin.lwo (from gtkglarea examples) are assigned properly. * io-lwob.c: Surfaces and their names are malloced separately. * morph.c (morph_model_destroy): Surfaces and their names are freed one by one, since they are now in linked list not an array. We need it for progressive surface loading in io-a3ds.c. 1999-10-24 Kuba Winnicki * io-lwob.c (load_model): Now diffuse and specular colors are calculated in this routine instead of client. * morph.h (MorphSurface): Added ref_count, unref_func, and next fields. Changed diffuse and specular to vector of integers since current method worked only with lwob models. Other benefit is that this way we can set up material in client just with gl calls. * Started the ChangeLog.