Hey All,
Here's a super-tricky one for you. (I think!)
I need to figure out what the Name of the materials assigned to 3ds objects that are loaded into blitz are. I don't think at this point that this information is included in the load, but if it is, that would be great, I just don't know how to get it! As far as I can tell, 3ds material properties, such as color and texture are loaded with objects, but what about the name??
So anyway, when a 3ds is saved out, the material names are encoded into it. Looking at a format specification, I found that this is encoded in chunk Axxxh, and actually the name is a CSTR which resides at A000h. Is there a way to pull this string out of a 3ds file from within Blitz?
Any helpful info or ideas would be greatly appreciated. I'm not sure if there are helper DLLs which I could use or what, but I'm open for suggestions!
Thanks,
Roland
Here's a super-tricky one for you. (I think!)
I need to figure out what the Name of the materials assigned to 3ds objects that are loaded into blitz are. I don't think at this point that this information is included in the load, but if it is, that would be great, I just don't know how to get it! As far as I can tell, 3ds material properties, such as color and texture are loaded with objects, but what about the name??
So anyway, when a 3ds is saved out, the material names are encoded into it. Looking at a format specification, I found that this is encoded in chunk Axxxh, and actually the name is a CSTR which resides at A000h. Is there a way to pull this string out of a 3ds file from within Blitz?
Any helpful info or ideas would be greatly appreciated. I'm not sure if there are helper DLLs which I could use or what, but I'm open for suggestions!
Thanks,
Roland