Writing AABB always; fixed material parsing and quad generation.