drawing models

Sounds like your depth buffer states are not being set correctly. Tom explains how to do it in this thread: