A long time ago I read a book. It was a science fiction novel.
Characteristics of the book were the presence of dream machines, sex machines and a limbo where you can change your appearance, age and gender. Then the book progresses towards the exile of a group of people who must then learn to fend for themselves and rediscover their own humanity. They relearn to grow vegetables, relearn to make children etc. Does anyone know what the book is called?