Deactivate smoothing
The program can't really "automatically smooths everything out". Without any further info it just looks like you probably have a Subdivision Surface modifier on your sword.

Make sure your View and Render subdivision values are the same, or if you don't want subdivision on your model at all, remove the modifier entirely.