Dense buds are made from varieties that are known for making dense buds. Mostly indica varieties, since sativas are long and strung out from a hard night of partying. Also it helps if you do things right, especially during flowering.

Once again, sorry I'm not stinky.